Card Set Types

Relationships

Card Set Type resources have the following relationships for their records.

  • Card Sets

Get A Single Card Set Type

Endpoint

GET /api/v3/public/card_set_types/:id

Parameters

Name Description Type
id required Id string

Request

Route

GET /api/v3/public/card_set_types/core

Headers

Content-Type: application/json
Host: api-preview.netrunnerdb.com

cURL

curl -g "https://api-preview.netrunnerdb.com/api/v3/public/card_set_types/core" -X GET 

Response

Simulated Response

Status

200

Headers

content-type: application/vnd.api+json; charset=utf-8

Body

{
  "data": {
    "id": "core",
    "type": "card_set_types",
    "attributes": {
      "name": "Core",
      "description": "A core set, or set that makes up part of the core selection of cards.",
      "updated_at": "2022-12-08T12:00:00+00:00"
    },
    "relationships": {
      "card_sets": {
        "links": {
          "related": "http://localhost:3000/api/v3/public/card_sets?filter[card_set_type_id]=core"
        }
      }
    },
    "links": {
      "self": "http://localhost:3000/api/v3/public/card_set_types/core"
    }
  },
  "meta": {}
}