/r/{repoId}/events/{id}

GET
https://sample-api.d-velop.cloud
Viewing the configuration of an event
In the response, you receive the detailed information about the specified event and an array of webhooks within the object _embedded.
Parameters
repoId/string/required
The unique ID of the repository.
id/string/required
The unique ID of the event.
Responses
200
The event was determined successfully.
Content
Media type: application/json
{
  "order": {
    "type": "array",
    "items": {
      "type": "string"
    },
    "description": "Contains the IDs of the assigned webhooks. Defines the order in which the webhooks are executed.",
    "nullable": true,
    "example": [
      "05F3AC34-EF06-43CE-81B6-11CA7E5E4C9E",
      "1D7341B4-547C-4FFD-A309-68B871959CD8",
      "E5FE04F2-6432-469F-9191-8C1DCCEE3752"
    ]
  }
}
Media type: application/hal+json
{
  "order": {
    "type": "array",
    "items": {
      "type": "string"
    },
    "description": "Contains the IDs of the assigned webhooks. Defines the order in which the webhooks are executed.",
    "nullable": true,
    "example": [
      "05F3AC34-EF06-43CE-81B6-11CA7E5E4C9E",
      "1D7341B4-547C-4FFD-A309-68B871959CD8",
      "E5FE04F2-6432-469F-9191-8C1DCCEE3752"
    ]
  }
}
404
The event 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/events/ID', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));