tags

By PetHub, 24 January, 2023

The /tagsĀ endpoint focuses on the ID tags registered on PetHub.com.

Digging into /Tags

The /tagsĀ endpoint offers the following:

/tags Description
/{tid}
  • POST - link a pet to an ID tag
  • GET - get the public profile as published by the pet owner
  • PUT - assign the tag to another pet or to NULL
/{tid}/activity GET - returns list of activities for a specific ID
Example:
https://pethub.io/v1/tags/A2B3C4?type=gps
/{tid}/info

GET - returns the tag ID, pet ID and datetime it was linked

/{tid}/issuer GET - returns the municipality, veterinarian or co-branding client name

The Swagger 2.0 / OAS YAML rendering is below including the data structures necessary for POST or returned by GET.