docs: correct spoolman API documentation

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2023-06-27 16:25:51 -04:00
parent 93f473f629
commit 5d8422ec52
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B
1 changed files with 6 additions and 6 deletions

View File

@ -5219,7 +5219,7 @@ Set the ID of the spool that Moonraker should report usage to Spoolman of.
HTTP request: HTTP request:
```http ```http
POST /spoolman/spool_id POST /server/spoolman/spool_id
Content-Type: application/json Content-Type: application/json
{ {
@ -5230,7 +5230,7 @@ JSON-RPC request:
```json ```json
{ {
"jsonrpc": "2.0", "jsonrpc": "2.0",
"method": "spoolman.post_spool_id", "method": "server.spoolman.post_spool_id",
"params": { "params": {
"spool_id": 1 "spool_id": 1
}, },
@ -5257,13 +5257,13 @@ Retrieve the ID of the spool to which Moonraker reports usage for Spoolman.
HTTP request: HTTP request:
```http ```http
GET /spoolman/spool_id GET /server/spoolman/spool_id
``` ```
JSON-RPC request: JSON-RPC request:
```json ```json
{ {
"jsonrpc": "2.0", "jsonrpc": "2.0",
"method": "spoolman.get_spool_id", "method": "server.spoolman.get_spool_id",
"id": 4654 "id": 4654
} }
``` ```
@ -5291,7 +5291,7 @@ detailed information about it's API.
HTTP request: HTTP request:
```http ```http
POST /spoolman/proxy POST /server/spoolman/proxy
Content-Type: application/json Content-Type: application/json
{ {
@ -5308,7 +5308,7 @@ JSON-RPC request:
```json ```json
{ {
"jsonrpc": "2.0", "jsonrpc": "2.0",
"method": "spoolman.proxy", "method": "server.spoolman.proxy",
"params": { "params": {
"request_method": "POST", "request_method": "POST",
"path": "/v1/spool", "path": "/v1/spool",