Read Editorial Role

get

/content/management/api/v1.1/editorialRoles/{roleId}

Read a custom editorial role by id.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

OK.
Body ()
Root Schema : EditorialRole
Type: object
EditorialRole
Show Source
Nested Schema : contentPrivileges
Type: array
The privileges of asset type defined by a custom editorial role.
Show Source
Nested Schema : date
Type: object
date
Show Source
Nested Schema : taxonomyPrivileges
Type: array
The privileges of taxonomy defined by a custom editorial role.
Show Source
Nested Schema : ContentPrivilege
Type: object
ContentPrivilege
Show Source
Nested Schema : operations
Type: array
Operations.
Show Source
Nested Schema : TaxonomyPrivilege
Type: object
TaxonomyPrivilege
Show Source
Nested Schema : nodes
Type: array
The path of the category.
Show Source
Nested Schema : operations
Type: array
Operations.
Show Source
Nested Schema : CategoryNodeBean
Type: object
Show Source

304 Response

Not modified.

400 Response

Bad request.

403 Response

Forbidden.

404 Response

Not found.

500 Response

Internal server error.
Back to Top

Examples

The following example shows how to read a custom editorial role by submitting a GET request using cURL.

curl -X GET -H 'Accept: application/json' 'https://host:port/content/management/api/v1.1/editorialRoles/{roleId}'

Example

/content/management/api/v1.1/editorialRoles/D2434092E77D436D96E468C343249B1D

This reads a custom editorial roles with id D2434092E77D436D96E468C343249B1D.

Response Body

{
  "id": "D2434092E77D436D96E468C343249B1D",
  "name": "Custom Editor Role",
  "description": "role description",
  "createdBy": "cecuser1",
  "createdDate": {
    "value": "2021-09-13T05:03:55.956Z",
    "timezone": "UTC"
  },
  "updatedBy": "cecuser1",
  "updatedDate": {
    "value": "2021-09-13T05:03:55.956Z",
    "timezone": "UTC"
  },
  "roleName": "viewer",
  "contentPrivileges": [
    {
      "typeId": "",
      "typeName": null,
      "isValid": true,
      "operations": [
        "view"
      ]
    },
    {
      "typeId": "EF4C64E6BF81419F9743A8A4348A69EB",
      "typeName": "Image",
      "isValid": true,
      "operations": [
        "view",
        "update",
        "create"
      ]
    }
  ],
  "taxonomyPrivileges": [
    {
      "taxonomyId": null,
      "taxonomyShortName": null,
      "isForSiteManagement": false,
      "categoryId": "",
      "nodes": null,
      "isSiteCategory": false,
      "isValid": true,
      "operations": [
        "view"
      ]
    }
  ],
  "links": [
    {
      "href": "http://<hostname>/content/management/api/v1.1/editorialRoles/D2434092E77D436D96E468C343249B1D",
      "rel": "self",
      "method": "GET",
      "mediaType": "application/json"
    },
    {
      "href": "http://<hostname>/content/management/api/v1.1/editorialRoles/D2434092E77D436D96E468C343249B1D",
      "rel": "canonical",
      "method": "GET",
      "mediaType": "application/json"
    },
    {
      "href": "http://<hostname>/content/management/api/v1.1/metadata-catalog/editorialRoles/D2434092E77D436D96E468C343249B1D",
      "rel": "describedby",
      "method": "GET",
      "mediaType": "application/schema+json"
    }
  ]
}
Back to Top