Relationships
Card Set Type resources have the following relationships for their records.
- Card Sets
Card Set Type resources have the following relationships for their records.
GET /api/v3/public/card_set_types/:id
| Name | Description | Type |
|---|---|---|
| id required | Id | string |
GET /api/v3/public/card_set_types/core
Content-Type: application/json
Host: api-preview.netrunnerdb.com
curl -g "https://api-preview.netrunnerdb.com/api/v3/public/card_set_types/core" -X GET
200
content-type: application/vnd.api+json; charset=utf-8
{
"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": {}
}