Skip to content

Commit

Permalink
docs: more tweaks in remote API JSON formatting
Browse files Browse the repository at this point in the history
Remote API docs tweaks. Some leading commas removed for JSON serialization. Also found an unclosed json section.

Signed-off-by: David Zwart <davidzwa@gmail.com>
  • Loading branch information
David Zwart authored and Arksine committed Apr 27, 2024
1 parent 763d987 commit 02144b4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/web_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -6154,7 +6154,7 @@ An object containing stubbed OctoPrint login/user verification
"admin": true,
"apikey": null,
"permissions": [],
"groups": ["admins", "users"],
"groups": ["admins", "users"]
}
```

Expand Down Expand Up @@ -6375,7 +6375,7 @@ An array of requested historical jobs:
"status": "completed",
"start_time": 1615764496.622146,
"total_duration": 18.37201827496756
},
}
]
}
```
Expand Down Expand Up @@ -6424,6 +6424,7 @@ JSON-RPC request:
"method": "server.history.reset_totals",
"id": 5534
}
```

Returns:

Expand Down

0 comments on commit 02144b4

Please sign in to comment.