Get a specific tag

GET /tags/{id}

Return a specific tag. Limited to those the user can see

Path parameters

  • id integer Required

    Which item to be processed

    Minimum value is 0.

Responses

  • 200 application/json

    List returned OK

    Hide response attributes Show response attributes object
    • id integer

      Minimum value is 1.

    • header_id integer

      Minimum value is 1.

    • name string
    • public integer

      Whether this is a public (1) or private tag (0)

      Minimum value is 0, maximum value is 1.

    • order integer

      The order this code appears in the list

      Minimum value is 0.

    • items array
  • 401 application/json

    Authentication unauthorised

    Hide response attribute Show response attribute object
  • 403 application/json

    Invalid permission

    Hide response attribute Show response attribute object
  • 404 application/json

    Not Found

    Hide response attribute Show response attribute object
GET /tags/{id}
curl \
 -X GET https://YOURSITE.infoodle.com/apiv2/tags/99 \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "id": 123,
  "header_id": 123,
  "name": "Tag A",
  "public": 1,
  "order": 1,
  "items": []
}
Response examples (401)
{
  "error": "Unauthorised"
}
Response examples (403)
{
  "error": "Invalid Permission"
}
Response examples (404)
{
  "error": "Not Found"
}