Skip to main content
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>"
      },
      "pivot": {
        "component_status": {
          "human": "<string>",
          "value": "<string>"
        }
      }
    },
    "relationships": {
      "group": {
        "data": {
          "type": "componentGroups",
          "id": "<string>"
        }
      },
      "incidents": {
        "data": [
          {
            "type": "incidents",
            "id": "<string>"
          }
        ]
      }
    }
  }
}

Path Parameters

component
integer
required

Query Parameters

include
string

Response

data
object
required