Relationships
Restriction resources have the following relationships for their records.
- Format
Restriction resources have the following relationships for their records.
GET /api/v3/public/restrictions
GET /api/v3/public/restrictions
Content-Type: application/json
Host: api-preview.netrunnerdb.com
curl -g "https://api-preview.netrunnerdb.com/api/v3/public/restrictions" -X GET
200
content-type: application/vnd.api+json; charset=utf-8
{
"data": [
{
"id": "standard_banlist",
"type": "restrictions",
"attributes": {
"name": "Standard Banlist 2022 Edition",
"date_start": "2022-01-01",
"point_limit": null,
"format_id": "standard",
"verdicts": {
"banned": [
"trieste_model_bioroids"
],
"restricted": [],
"universal_faction_cost": {},
"global_penalty": [],
"points": {}
},
"banned_subtypes": [
"academic",
"current"
],
"size": 1,
"updated_at": "2022-12-08T12:00:00+00:00"
},
"relationships": {
"format": {
"links": {
"related": "http://localhost:3000/api/v3/public/formats/standard"
}
}
},
"links": {
"self": "http://localhost:3000/api/v3/public/restrictions/standard_banlist"
}
},
{
"id": "eternal_points_list",
"type": "restrictions",
"attributes": {
"name": "Eternal Points List",
"date_start": "2022-01-01",
"point_limit": null,
"format_id": "eternal",
"verdicts": {
"banned": [],
"restricted": [],
"universal_faction_cost": {},
"global_penalty": [],
"points": {
"punitive_counterstrike": 3,
"send_a_message": 3,
"tyr": 3
}
},
"banned_subtypes": [],
"size": 3,
"updated_at": "2022-12-08T12:00:00+00:00"
},
"relationships": {
"format": {
"links": {
"related": "http://localhost:3000/api/v3/public/formats/eternal"
}
}
},
"links": {
"self": "http://localhost:3000/api/v3/public/restrictions/eternal_points_list"
}
},
{
"id": "standard_restricted",
"type": "restrictions",
"attributes": {
"name": "Standard Restricted List",
"date_start": "2022-01-01",
"point_limit": null,
"format_id": "standard",
"verdicts": {
"banned": [],
"restricted": [
"send_a_message",
"trieste_model_bioroids"
],
"universal_faction_cost": {},
"global_penalty": [],
"points": {}
},
"banned_subtypes": [],
"size": 2,
"updated_at": "2022-12-08T12:00:00+00:00"
},
"relationships": {
"format": {
"links": {
"related": "http://localhost:3000/api/v3/public/formats/standard"
}
}
},
"links": {
"self": "http://localhost:3000/api/v3/public/restrictions/standard_restricted"
}
},
{
"id": "standard_global_penalty",
"type": "restrictions",
"attributes": {
"name": "Standard Global Penalty",
"date_start": "2023-08-26",
"point_limit": null,
"format_id": "standard",
"verdicts": {
"banned": [],
"restricted": [],
"universal_faction_cost": {},
"global_penalty": [
"tyr"
],
"points": {}
},
"banned_subtypes": [],
"size": 1,
"updated_at": "2022-12-08T12:00:00+00:00"
},
"relationships": {
"format": {
"links": {
"related": "http://localhost:3000/api/v3/public/formats/standard"
}
}
},
"links": {
"self": "http://localhost:3000/api/v3/public/restrictions/standard_global_penalty"
}
},
{
"id": "standard_universal_faction_cost",
"type": "restrictions",
"attributes": {
"name": "Standard Universal Faction Cost",
"date_start": "2023-08-26",
"point_limit": null,
"format_id": "standard",
"verdicts": {
"banned": [],
"restricted": [],
"universal_faction_cost": {
"punitive_counterstrike": 3
},
"global_penalty": [],
"points": {}
},
"banned_subtypes": [],
"size": 1,
"updated_at": "2022-12-08T12:00:00+00:00"
},
"relationships": {
"format": {
"links": {
"related": "http://localhost:3000/api/v3/public/formats/standard"
}
}
},
"links": {
"self": "http://localhost:3000/api/v3/public/restrictions/standard_universal_faction_cost"
}
}
],
"links": {
"self": "http://localhost:3000/api/v3/public/restrictions?page%5Bnumber%5D=1&page%5Bsize%5D=20&stats%5Btotal%5D=count",
"first": "http://localhost:3000/api/v3/public/restrictions?page%5Bnumber%5D=1&page%5Bsize%5D=20&stats%5Btotal%5D=count",
"last": "http://localhost:3000/api/v3/public/restrictions?page%5Bnumber%5D=1&page%5Bsize%5D=20&stats%5Btotal%5D=count"
},
"meta": {
"stats": {
"total": {
"count": 5
}
}
}
}