Tag

List Tags

GET https://api.idol.io/api/v2/tags

Headers

Name
Type
Description

Authorization*

string

Bearer <token>

Content-Type*

string

application/vnd.api+json

{
  "data": [
    {
      "id": "<ID>",
      "type": "tags",
      "links": {
        "self": "https://api.idol.io/api/v2/tags/<ID>"
      },
      "attributes": {
        "created-at": "2023-05-03T07:57:33.319+02:00",
        "updated-at": "2024-05-07T11:35:04.923+02:00",
        "name": "My best"
      },
      "relationships": {
        "products": {
          "links": {
            "self": "https://api.idol.io/api/v2/tags/<ID>/relationships/products",
            "related": "https://api.idol.io/api/v2/tags/<ID>/products"
          }
        }
      }
    },
    {
      "id": "<ID>",
      "type": "tags",
      "links": {
        "self": "https://api.idol.io/api/v2/tags/<ID>"
      },
      "attributes": {
        "created-at": "2024-05-03T08:42:48.873+02:00",
        "updated-at": "2024-05-03T08:42:48.873+02:00",
        "name": "omtag"
      },
      "relationships": {
        "products": {
          "links": {
            "self": "https://api.idol.io/api/v2/tags/<ID>/relationships/products",
            "related": "https://api.idol.io/api/v2/tags/<ID>/products"
          }
        }
      }
    },
    {
      "id": "<ID>",
      "type": "tags",
      "links": {
        "self": "https://api.idol.io/api/v2/tags/<ID>"
      },
      "attributes": {
        "created-at": "2024-05-04T13:31:34.791+02:00",
        "updated-at": "2024-05-04T13:31:34.791+02:00",
        "name": "narmol"
      },
      "relationships": {
        "products": {
          "links": {
            "self": "https://api.idol.io/api/v2/tags/<ID>/relationships/products",
            "related": "https://api.idol.io/api/v2/tags/<ID>/products"
          }
        }
      }
    }
  ],
  "meta": {
    "record-count": 165,
    "page-count": 55
  },
  "links": {
    "first": "https://api.idol.io/api/v2/tags?page%5Bnumber%5D=1&page%5Bsize%5D=3",
    "next": "https://api.idol.io/api/v2/tags?page%5Bnumber%5D=2&page%5Bsize%5D=3",
    "last": "https://api.idol.io/api/v2/tags?page%5Bnumber%5D=55&page%5Bsize%5D=3"
  }
}

Get Tag

GET https://api.idol.io/api/v2/tags/:id

Path Parameters

Name
Type
Description

id*

number

ID of the Tag

Headers

Name
Type
Description

Authorization*

string

Bearer <token>

Content-Type*

string

application/vnd.api+json

{
  "data": {
    "id": "<ID>",
    "type": "tags",
    "links": {
      "self": "https://api.idol.io/api/v2/tags/<ID>"
    },
    "attributes": {
      "created-at": "2024-05-03T07:57:33.319+02:00",
      "updated-at": "2025-05-07T11:35:04.923+02:00",
      "name": "My best"
    },
    "relationships": {
      "products": {
        "links": {
          "self": "https://api.idol.io/api/v2/tags/<ID>/relationships/products",
          "related": "https://api.idol.io/api/v2/tags/<ID>/products"
        }
      }
    }
  }
}

Last updated