/r/{repoId}/restrictionset/{id}/assignments/{assignmentId}

GET
https://sample-api.d-velop.cloud
Retrieving a restriction set assignment
In the response, you receive the detailed information about the specified restriction set assignment.
Parameters
repoId/string/required
The unique ID of the repository.
id/string/required
The unique ID of the restriction set.
assignmentId/string/required
The unique ID of the restriction set assignment.
Responses
200
The restriction set assignment was determined successfully.
Content
Media type: application/json
{
  "id": {
    "type": "string",
    "description": "The ID of a group. Required if the type has the value \"GROUP\"",
    "example": "00000000-0000-0000-0000-000000000000"
  },
  "type": {
    "type": "string",
    "description": "The type of the object that is being assigned.\r\n- GROUP: The right is assigned to a group.\r\n- NO_ASSIGNMENT: The right is assigned to all groups.",
    "example": "GROUP | NO_ASSIGNMENT"
  },
  "values": {
    "minLength": 0,
    "type": "array",
    "items": {
      "type": "string"
    },
    "description": "Array of values. Attention: An empty array allows all values.\r\n\r\nYou can define values for each assignment. These values serve as a filter for the assigned property of a given permission. If the value of the property is contained in this list of values, the user receives the configured authorization.",
    "example": [
      "Value A",
      "Value B",
      "Value C"
    ]
  }
}
Media type: application/hal+json
{
  "id": {
    "type": "string",
    "description": "The ID of a group. Required if the type has the value \"GROUP\"",
    "example": "00000000-0000-0000-0000-000000000000"
  },
  "type": {
    "type": "string",
    "description": "The type of the object that is being assigned.\r\n- GROUP: The right is assigned to a group.\r\n- NO_ASSIGNMENT: The right is assigned to all groups.",
    "example": "GROUP | NO_ASSIGNMENT"
  },
  "values": {
    "minLength": 0,
    "type": "array",
    "items": {
      "type": "string"
    },
    "description": "Array of values. Attention: An empty array allows all values.\r\n\r\nYou can define values for each assignment. These values serve as a filter for the assigned property of a given permission. If the value of the property is contained in this list of values, the user receives the configured authorization.",
    "example": [
      "Value A",
      "Value B",
      "Value C"
    ]
  }
}
Show operation

Language

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

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