/r/{repoId}/restrictionset/{id}

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.
id/string/required
The unique ID of the restriction set.
Responses
200
The restriction sets were determined successfully.
Content
Media type: application/json
{
  "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"
  }
}
Media type: application/hal+json
{
  "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"
  }
}
404
The restriction set with the specified ID could not be determined.
Content
Media type: application/json
{
  "code": {
    "type": "integer",
    "format": "int32",
    "example": 240100
  },
  "reason": {
    "type": "string",
    "nullable": true,
    "example": "Reason why the request failed."
  }
}
Media type: application/hal+json
{
  "code": {
    "type": "integer",
    "format": "int32",
    "example": 240100
  },
  "reason": {
    "type": "string",
    "nullable": true,
    "example": "Reason why the request failed."
  }
}
Show operation

Language

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

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