diff --git a/docs/api/printerprofiles.rst b/docs/api/printerprofiles.rst index fc251ea73..c0b2792e2 100644 --- a/docs/api/printerprofiles.rst +++ b/docs/api/printerprofiles.rst @@ -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 `. + Returns a :http:statuscode:`200` with a :ref:`profile list `. 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.`` - 0..1 - - :ref:`Profile ` + - :ref:`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 ` + - :ref:`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