mirror of
https://github.com/gosticks/octoprint-open-api.git
synced 2025-10-16 11:45:38 +00:00
WIP: printer profiles
This commit is contained in:
parent
a6750856a2
commit
17c772effc
6
TODO.md
6
TODO.md
@ -55,14 +55,14 @@
|
||||
- [x] Model: SD State
|
||||
- [x] Model: Arbitrary Command Request
|
||||
- [ ] Printer profile operations [link](https://docs.octoprint.org/en/master/api/printerprofiles.html)
|
||||
- [ ] Retrieve all printer profiles
|
||||
- [x] Retrieve all printer profiles
|
||||
- [ ] Retrieve a single printer profile
|
||||
- [ ] Add a new printer profile
|
||||
- [ ] Update an existing printer profile
|
||||
- [ ] Remove an existing printer profile
|
||||
- [ ] Model: Profile list
|
||||
- [ ] Model: Add or update requiest
|
||||
- [ ] Model: Profile
|
||||
- [ ] Model: Add or update request
|
||||
- [x] Model: Profile
|
||||
- [ ] Settings [link](https://docs.octoprint.org/en/master/api/settings.html)
|
||||
- [ ] Retrieve current settings
|
||||
- [ ] Save settings
|
||||
|
||||
@ -67,3 +67,7 @@ paths:
|
||||
/printer/command:
|
||||
post:
|
||||
$ref: paths/printer/command/post.yaml
|
||||
/printerprofiles:
|
||||
get:
|
||||
$ref: paths/printerprofiles/get.yaml
|
||||
|
||||
|
||||
17
openapi/paths/printerprofiles/get.yaml
Normal file
17
openapi/paths/printerprofiles/get.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
summary: Retrieve all printer profiles
|
||||
operationId: getPrinterProfiles
|
||||
description: >-
|
||||
Retrieves a list of all configured printer profiles.
|
||||
responses:
|
||||
"200":
|
||||
description: >-
|
||||
List of available printer profiles
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
profiles:
|
||||
type: array
|
||||
items:
|
||||
$ref: ../../components/schemas/printer/Profile.yaml
|
||||
Loading…
Reference in New Issue
Block a user