Get entity news

GET /data/entities/{entity_id}/news

Retrieve all news entries that are linked to a specific entity.

Path parameters

  • entity_id Required

    Unique identifier of the entity

Responses

  • 200 application/json

    List of entity news successfully retrieved

    Hide response attributes Show response attributes object
    • id string(uuid)

      News unique identifier

    • change boolean

      Whether this news represents a change

    • author_id string(uuid)

      Author person identifier

    • comment_id string(uuid)

      Comment identifier

    • task_id string(uuid)

      Task identifier

    • preview_file_id string(uuid)

      Preview file identifier

    • created_at string(date-time)

      Creation timestamp

    • updated_at string(date-time)

      Last update timestamp

GET /data/entities/{entity_id}/news
curl \
 --request GET 'http://api.example.com/data/entities/a24a6ea4-ce75-4665-a070-57453082c25/news' \
 --header "Authorization: $API_KEY"
Response examples (200)
[
  {
    "id": "a24a6ea4-ce75-4665-a070-57453082c25",
    "change": true,
    "author_id": "b35b7fb5-df86-5776-b181-68564193d36",
    "comment_id": "c46c8gc6-eg97-6887-c292-79675204e47",
    "task_id": "d57d9hd7-fh08-7998-d403-80786315f58",
    "preview_file_id": "e68e0ie8-gi19-8009-e514-91897426g69",
    "created_at": "2023-01-01T12:00:00Z",
    "updated_at": "2023-01-01T12:30:00Z"
  }
]