Retrieving media tags via the API

πŸ’» Environment/Context

  • API
  • Tags

Β 

❓ Issue/Question

  • Can we get all the tags along with the GET function?
  • Are tags included in the media GET response?
  • Are tags returned by search and GET endpoints?

Β 

πŸ‘Œ Resolution/Answer

  • Yes, the GET /v1/media/{id} response includes a tags array
    • It comes with files, event, description, player and sponsor associations, etc.
    • You don’t need a separate call to get the tags
  • The search endpoint returns the same media objects, so tags come back there too

Β 

πŸ”– Notes