Path parameters

  • widget string Required

    The unique identifier of a widget.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • data array | object Required

      The response data. This can be an array or an object, depending on the endpoint.

    • data object

      This is a widget. It has a name and a description. It can be used to demonstrate the use of components.

      Additional properties are NOT allowed.

      Hide data attributes Show data attributes object
      • id string(uuid)
      • created_at string(date-time)
      • updated_at string(date-time)
  • 404 application/problem+json

    Not Found

    Hide response attributes Show response attributes object
    • title string
    • detail string
GET /api/widgets/{widget}
curl \
 --request GET 'http://localhost/api/widgets/{widget}'
Response examples (200)
{
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "created_at": "2026-05-04T09:42:00Z",
    "updated_at": "2026-05-04T09:42:00Z"
  },
  "links": {}
}
Response examples (404)
{
  "title": "string",
  "detail": "string"
}