Card Sets

Relationships

Card Set resources have the following relationships for their records.

  • Card Cycle
  • Card Set Type
  • Cards
  • Printings

Filter - Get Card Sets filtered to a Card Cycle

Endpoint

GET /api/v3/public/card_sets?filter[card_cycle_id]=:card_cycle_id

Parameters

Name Description Type
card_cycle_id required Card cycle string

Request

Route

GET /api/v3/public/card_sets?filter[card_cycle_id]=%3Acard_cycle_id

Headers

Content-Type: application/json
Host: api-preview.netrunnerdb.com

Query Parameters

filter={"card_cycle_id" => ":card_cycle_id"}

cURL

curl -g "https://api-preview.netrunnerdb.com/api/v3/public/card_sets?filter[card_cycle_id]=%3Acard_cycle_id" -X GET 

Response

Simulated Response

Status

200

Headers

content-type: application/vnd.api+json; charset=utf-8

Body

{
  "data": [],
  "meta": {
    "stats": {
      "total": {
        "count": 0
      }
    }
  }
}