/r/{repoId}/restrictionsets

GET
https://sample-api.d-velop.cloud
Retrieving a list of all the restriction sets
Parameters
repoId/string/required
The unique ID of the repository.
Responses
200
The restriction sets were determined successfully.
Content
Media type: application/json
{
  "restrictionsSets": {
    "type": "array",
    "items": {
      "required": [
        "caption"
      ],
      "type": "object",
      "properties": {
        "caption": {
          "minLength": 1,
          "type": "string",
          "description": "Name, only relevant for differentiation by the administrator.",
          "example": "supplier restriction"
        },
        "id": {
          "type": "string",
          "description": "The unique ID of the restriction set.",
          "nullable": true,
          "readOnly": true,
          "example": "00000000-0000-0000-0000-000000000000"
        }
      },
      "additionalProperties": false
    },
    "nullable": true
  }
}
Media type: application/hal+json
{
  "restrictionsSets": {
    "type": "array",
    "items": {
      "required": [
        "caption"
      ],
      "type": "object",
      "properties": {
        "caption": {
          "minLength": 1,
          "type": "string",
          "description": "Name, only relevant for differentiation by the administrator.",
          "example": "supplier restriction"
        },
        "id": {
          "type": "string",
          "description": "The unique ID of the restriction set.",
          "nullable": true,
          "readOnly": true,
          "example": "00000000-0000-0000-0000-000000000000"
        }
      },
      "additionalProperties": false
    },
    "nullable": true
  }
}
Show operation

Language

const options = {method: 'GET', headers: {accept: 'application/json'}};

fetch('https://example.com/dmsconfig/r/REPOID/restrictionsets', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));