GET
/
components
/
{component}
Get Component
curl --request GET \
  --url http://localhost/api/components/{component}
{
  "data": {
    "id": "<string>",
    "type": "components",
    "attributes": {
      "id": 123,
      "name": "<string>",
      "description": "<string>",
      "link": "<string>",
      "order": 123,
      "status": {
        "human": "<string>",
        "value": "<string>"
      },
      "enabled": true,
      "meta": [
        "<any>"
      ],
      "created": {
        "human": "<string>",
        "string": "<string>"
      },
      "updated": {
        "human": "<string>",
        "string": "<string>"
      }
    },
    "relationships": {
      "group": {
        "data": {
          "type": "componentGroups",
          "id": "<string>"
        }
      },
      "incidents": {
        "data": [
          {
            "type": "incidents",
            "id": "<string>"
          }
        ]
      }
    }
  }
}

Path Parameters

component
integer
required

The component ID

Query Parameters

include
string

Available includes are group, groupCount, groupExists, incidents, incidentsCount, incidentsExists. You can include multiple options by separating them with a comma.

Response

200
application/vnd.api+json

Component

The response is of type object.