Relationships
Illustrator resources have the following relationships for their records.
- Printings
Illustrator resources have the following relationships for their records.
GET /api/v3/public/illustrators
GET /api/v3/public/illustrators
Content-Type: application/json
Host: api-preview.netrunnerdb.com
curl -g "https://api-preview.netrunnerdb.com/api/v3/public/illustrators" -X GET
200
content-type: application/vnd.api+json; charset=utf-8
{
"data": [
{
"id": "good_drawer",
"type": "illustrators",
"attributes": {
"name": "Good Drawer",
"num_printings": 1,
"updated_at": "2022-12-08T12:00:00+00:00"
},
"relationships": {
"printings": {
"links": {
"related": "http://localhost:3000/api/v3/public/printings?filter[illustrator_id]=good_drawer"
}
}
},
"links": {
"self": "http://localhost:3000/api/v3/public/illustrators/good_drawer"
}
},
{
"id": "ann_illustrator",
"type": "illustrators",
"attributes": {
"name": "Ann Illustrator",
"num_printings": 1,
"updated_at": "2022-12-08T12:00:00+00:00"
},
"relationships": {
"printings": {
"links": {
"related": "http://localhost:3000/api/v3/public/printings?filter[illustrator_id]=ann_illustrator"
}
}
},
"links": {
"self": "http://localhost:3000/api/v3/public/illustrators/ann_illustrator"
}
},
{
"id": "tom_of_netrunner",
"type": "illustrators",
"attributes": {
"name": "Tom of Netrunner",
"num_printings": 1,
"updated_at": "2022-12-08T12:00:00+00:00"
},
"relationships": {
"printings": {
"links": {
"related": "http://localhost:3000/api/v3/public/printings?filter[illustrator_id]=tom_of_netrunner"
}
}
},
"links": {
"self": "http://localhost:3000/api/v3/public/illustrators/tom_of_netrunner"
}
}
],
"links": {
"self": "http://localhost:3000/api/v3/public/illustrators?page%5Bnumber%5D=1&page%5Bsize%5D=20&stats%5Btotal%5D=count",
"first": "http://localhost:3000/api/v3/public/illustrators?page%5Bnumber%5D=1&page%5Bsize%5D=20&stats%5Btotal%5D=count",
"last": "http://localhost:3000/api/v3/public/illustrators?page%5Bnumber%5D=1&page%5Bsize%5D=20&stats%5Btotal%5D=count"
},
"meta": {
"stats": {
"total": {
"count": 3
}
}
}
}