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