/r/{id}

GET
https://sample-api.d-velop.cloud
Retrieving a repository
In the response, you receive the detailed information about the specified repository.
Parameters
id/string/required
The unique ID of the repository.
Responses
200
The repository was determined successfully.
Content
Media type: application/json
{
  "id": {
    "type": "string",
    "description": "The unique ID of the repository.",
    "nullable": true,
    "example": "00000000-0000-0000-0000-000000000000"
  },
  "name": {
    "type": "string",
    "description": "The display name of the repository.",
    "nullable": true,
    "example": "d.velop documents"
  }
}
Media type: application/hal+json
{
  "id": {
    "type": "string",
    "description": "The unique ID of the repository.",
    "nullable": true,
    "example": "00000000-0000-0000-0000-000000000000"
  },
  "name": {
    "type": "string",
    "description": "The display name of the repository.",
    "nullable": true,
    "example": "d.velop documents"
  }
}
404
The repository 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/ID', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));