Relationships
Card Subtype resources have the following relationships for their records.
- Cards
- Printings
Card Subtype resources have the following relationships for their records.
GET /api/v3/public/card_subtypes/:id
Name | Description | Type |
---|---|---|
id required | Id | string |
GET /api/v3/public/card_subtypes/code_gate
Content-Type: application/json
Host: api-preview.netrunnerdb.com
curl -g "https://api-preview.netrunnerdb.com/api/v3/public/card_subtypes/code_gate" -X GET
200
content-type: application/vnd.api+json; charset=utf-8
{
"data": {
"id": "code_gate",
"type": "card_subtypes",
"attributes": {
"name": "Code Gate",
"updated_at": "2022-12-08T12:00:00+00:00"
},
"relationships": {
"cards": {
"links": {
"related": "http://localhost:3000/api/v3/public/cards?filter[card_subtype_id]=code_gate"
}
},
"printings": {
"links": {
"related": "http://localhost:3000/api/v3/public/printings?filter[card_subtype_id]=code_gate"
}
}
},
"links": {
"self": "http://localhost:3000/api/v3/public/card_subtypes/code_gate"
}
},
"meta": {}
}