DistributorProductSubgenres

List DistributorProductSubgenres

GET https://api.idol.io/api/v2/distributor-product-subgenres

Headers

Name
Type
Description

Authorization*

string

Bearer <token>

Content-Type*

string

application/vnd.api+json

{
  "data": [
    {
      "id": "<ID>",
      "type": "distributor-product-subgenres",
      "links": {
        "self": "https://api.idol.io/api/v2/distributor-product-subgenres/<ID>"
      },
      "attributes": {
        "name": "Pop - Rock: Alternative - Indie"
      }
    },
    {
      "id": "<ID>",
      "type": "distributor-product-subgenres",
      "links": {
        "self": "https://api.idol.io/api/v2/distributor-product-subgenres/<ID>"
      },
      "attributes": {
        "name": "Pop - Rock: Rock"
      }
    },
    {
      "id": "<ID>",
      "type": "distributor-product-subgenres",
      "links": {
        "self": "https://api.idol.io/api/v2/distributor-product-subgenres/<ID>"
      },
      "attributes": {
        "name": "Pop - Rock: Pop"
      }
    }
  ],
  "meta": {
    "record-count": 2034,
    "page-count": 678
  },
  "links": {
    "first": "https://api.idol.io/api/v2/distributor-product-subgenres?page%5Bnumber%5D=1&page%5Bsize%5D=3",
    "next": "https://api.idol.io/api/v2/distributor-product-subgenres?page%5Bnumber%5D=2&page%5Bsize%5D=3",
    "last": "https://api.idol.io/api/v2/distributor-product-subgenres?page%5Bnumber%5D=678&page%5Bsize%5D=3"
  }
}

Filter resources

/api/v2/distributor-product-subgenres?filter[name]=Rock

Get DistributorProductSubgenres

GET https://api.idol.io/api/v2/distributor-product-subgenres/:id

Path Parameters

Name
Type
Description

id*

number

ID of the DistributorProductSubgenre

Headers

Name
Type
Description

Authorization*

string

Bearer <token>

Content-Type*

string

application/vnd.api+json

{
  "data": {
    "id": "<ID>",
    "type": "distributor-product-subgenres",
    "links": {
      "self": "https://api.idol.io/api/v2/distributor-product-subgenres/<ID>"
    },
    "attributes": {
      "name": "Pop - Rock: Alternative - Indie"
    }
  }
}

Last updated