Compare commits
1
Commits
master
...
meta/fix-4160
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e761b6fa9 |
@@ -17,9 +17,9 @@ Retrieve all printer profiles
|
||||
|
||||
.. http:get:: /api/printerprofiles
|
||||
|
||||
Retrieves a list of all configured printer profiles.
|
||||
Retrieves an object representing all configured printer profiles.
|
||||
|
||||
Returns a :http:statuscode:`200` with a list of :ref:`profiles <sec-api-printerprofiles-datamodel-profile>`.
|
||||
Returns a :http:statuscode:`200` with a :ref:`profile list <sec-api-printerprofiles-datamodel-profilelist>`.
|
||||
|
||||
Requires the ``CONNECTION`` permission.
|
||||
|
||||
@@ -37,8 +37,8 @@ Retrieve all printer profiles
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"profiles": [
|
||||
{
|
||||
"profiles": {
|
||||
"_default": {
|
||||
"id": "_default",
|
||||
"name": "Default",
|
||||
"color": "default",
|
||||
@@ -80,7 +80,7 @@ Retrieve all printer profiles
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"my_profile": {
|
||||
"id": "my_profile",
|
||||
"name": "My Profile",
|
||||
"color": "default",
|
||||
@@ -122,7 +122,7 @@ Retrieve all printer profiles
|
||||
]
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -457,7 +457,7 @@ Profile list
|
||||
- Collection of all printer profiles available in the system
|
||||
* - ``profiles.<profile id>``
|
||||
- 0..1
|
||||
- :ref:`Profile <sec-api-slicing-datamodel-profile>`
|
||||
- :ref:`Profile <sec-api-printerprofiles-datamodel-profile>`
|
||||
- Information about a profile stored in the system.
|
||||
|
||||
.. _sec-api-printerprofiles-datamodel-update:
|
||||
@@ -475,7 +475,7 @@ Add or update request
|
||||
- Description
|
||||
* - ``profiles``
|
||||
- 1
|
||||
- :ref:`Profile <sec-api-slicing-datamodel-profile>`
|
||||
- :ref:`Profile <sec-api-printerprofiles-datamodel-profile>`
|
||||
- Information about the profile being added/updated. Only the values to be overwritten need to be supplied.
|
||||
Unset fields will be taken from the base profile, which for add requests will be the
|
||||
current default profile unless a different base is defined in the ``basedOn`` property
|
||||
|
||||
Reference in new issue
Block a user