Relationships
Snapshot resources have the following relationships for their records.
- Card Pool
- Format
- Restriction
Snapshot resources have the following relationships for their records.
GET /api/v3/public/snapshots/:id
Name | Description | Type |
---|---|---|
id required | Id | string |
GET /api/v3/public/snapshots/startup_02
Content-Type: application/json
Host: api-preview.netrunnerdb.com
curl -g "https://api-preview.netrunnerdb.com/api/v3/public/snapshots/startup_02" -X GET
200
content-type: application/vnd.api+json; charset=utf-8
{
"data": {
"id": "startup_02",
"type": "snapshots",
"attributes": {
"format_id": "startup",
"active": true,
"card_cycle_ids": [
"core",
"borealis"
],
"card_set_ids": [
"midnight_sun",
"parhelion"
],
"card_pool_id": "startup_02",
"restriction_id": null,
"num_cards": 4,
"date_start": "2022-09-01",
"updated_at": "2022-12-08T12:00:00+00:00"
},
"relationships": {
"format": {
"links": {
"related": "http://localhost:3000/api/v3/public/formats/startup"
}
},
"card_pool": {
"links": {
"related": "http://localhost:3000/api/v3/public/card_pools/startup_02"
}
},
"restriction": {
"links": {
"related": null
}
}
},
"links": {
"self": "http://localhost:3000/api/v3/public/snapshots/startup_02"
}
},
"meta": {}
}