Snapshots

Relationships

Snapshot resources have the following relationships for their records.

  • Card Pool
  • Format
  • Restriction

All Snapshots

Endpoint

GET /api/v3/public/snapshots

Request

Route

GET /api/v3/public/snapshots

Headers

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

cURL

curl -g "https://api-preview.netrunnerdb.com/api/v3/public/snapshots" -X GET 

Response

Simulated Response

Status

200

Headers

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

Body

{
  "data": [
    {
      "id": "standard_01",
      "type": "snapshots",
      "attributes": {
        "format_id": "standard",
        "active": false,
        "card_cycle_ids": [
          "core"
        ],
        "card_set_ids": [
          "core"
        ],
        "card_pool_id": "standard_01",
        "restriction_id": null,
        "num_cards": 5,
        "date_start": "2012-09-06",
        "updated_at": "2022-12-08T12:00:00+00:00"
      },
      "relationships": {
        "format": {
          "links": {
            "related": "http://localhost:3000/api/v3/public/formats/standard"
          }
        },
        "card_pool": {
          "links": {
            "related": "http://localhost:3000/api/v3/public/card_pools/standard_01"
          }
        },
        "restriction": {
          "links": {
            "related": null
          }
        }
      },
      "links": {
        "self": "http://localhost:3000/api/v3/public/snapshots/standard_01"
      }
    },
    {
      "id": "standard_02",
      "type": "snapshots",
      "attributes": {
        "format_id": "standard",
        "active": true,
        "card_cycle_ids": [
          "core",
          "borealis"
        ],
        "card_set_ids": [
          "core",
          "midnight_sun",
          "parhelion"
        ],
        "card_pool_id": "standard_02",
        "restriction_id": "standard_banlist",
        "num_cards": 8,
        "date_start": "2022-09-06",
        "updated_at": "2022-12-08T12:00:00+00:00"
      },
      "relationships": {
        "format": {
          "links": {
            "related": "http://localhost:3000/api/v3/public/formats/standard"
          }
        },
        "card_pool": {
          "links": {
            "related": "http://localhost:3000/api/v3/public/card_pools/standard_02"
          }
        },
        "restriction": {
          "links": {
            "related": "http://localhost:3000/api/v3/public/restrictions/standard_banlist"
          }
        }
      },
      "links": {
        "self": "http://localhost:3000/api/v3/public/snapshots/standard_02"
      }
    },
    {
      "id": "standard_03",
      "type": "snapshots",
      "attributes": {
        "format_id": "standard",
        "active": false,
        "card_cycle_ids": [
          "core",
          "borealis"
        ],
        "card_set_ids": [
          "core",
          "midnight_sun",
          "parhelion"
        ],
        "card_pool_id": "standard_02",
        "restriction_id": "standard_restricted",
        "num_cards": 8,
        "date_start": "2022-09-06",
        "updated_at": "2022-12-08T12:00:00+00:00"
      },
      "relationships": {
        "format": {
          "links": {
            "related": "http://localhost:3000/api/v3/public/formats/standard"
          }
        },
        "card_pool": {
          "links": {
            "related": "http://localhost:3000/api/v3/public/card_pools/standard_02"
          }
        },
        "restriction": {
          "links": {
            "related": "http://localhost:3000/api/v3/public/restrictions/standard_restricted"
          }
        }
      },
      "links": {
        "self": "http://localhost:3000/api/v3/public/snapshots/standard_03"
      }
    },
    {
      "id": "standard_04",
      "type": "snapshots",
      "attributes": {
        "format_id": "standard",
        "active": false,
        "card_cycle_ids": [
          "core",
          "borealis"
        ],
        "card_set_ids": [
          "core",
          "midnight_sun",
          "parhelion"
        ],
        "card_pool_id": "standard_02",
        "restriction_id": "standard_global_penalty",
        "num_cards": 8,
        "date_start": "2022-09-06",
        "updated_at": "2022-12-08T12:00:00+00:00"
      },
      "relationships": {
        "format": {
          "links": {
            "related": "http://localhost:3000/api/v3/public/formats/standard"
          }
        },
        "card_pool": {
          "links": {
            "related": "http://localhost:3000/api/v3/public/card_pools/standard_02"
          }
        },
        "restriction": {
          "links": {
            "related": "http://localhost:3000/api/v3/public/restrictions/standard_global_penalty"
          }
        }
      },
      "links": {
        "self": "http://localhost:3000/api/v3/public/snapshots/standard_04"
      }
    },
    {
      "id": "standard_05",
      "type": "snapshots",
      "attributes": {
        "format_id": "standard",
        "active": false,
        "card_cycle_ids": [
          "core",
          "borealis"
        ],
        "card_set_ids": [
          "core",
          "midnight_sun",
          "parhelion"
        ],
        "card_pool_id": "standard_02",
        "restriction_id": "standard_universal_faction_cost",
        "num_cards": 8,
        "date_start": "2022-09-06",
        "updated_at": "2022-12-08T12:00:00+00:00"
      },
      "relationships": {
        "format": {
          "links": {
            "related": "http://localhost:3000/api/v3/public/formats/standard"
          }
        },
        "card_pool": {
          "links": {
            "related": "http://localhost:3000/api/v3/public/card_pools/standard_02"
          }
        },
        "restriction": {
          "links": {
            "related": "http://localhost:3000/api/v3/public/restrictions/standard_universal_faction_cost"
          }
        }
      },
      "links": {
        "self": "http://localhost:3000/api/v3/public/snapshots/standard_05"
      }
    },
    {
      "id": "startup_01",
      "type": "snapshots",
      "attributes": {
        "format_id": "startup",
        "active": false,
        "card_cycle_ids": [
          "core"
        ],
        "card_set_ids": [
          "core"
        ],
        "card_pool_id": "startup_01",
        "restriction_id": null,
        "num_cards": 4,
        "date_start": "2019-01-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_01"
          }
        },
        "restriction": {
          "links": {
            "related": null
          }
        }
      },
      "links": {
        "self": "http://localhost:3000/api/v3/public/snapshots/startup_01"
      }
    },
    {
      "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"
      }
    },
    {
      "id": "eternal_01",
      "type": "snapshots",
      "attributes": {
        "format_id": "eternal",
        "active": true,
        "card_cycle_ids": [],
        "card_set_ids": [],
        "card_pool_id": "eternal_01",
        "restriction_id": "eternal_points_list",
        "num_cards": 127,
        "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/eternal"
          }
        },
        "card_pool": {
          "links": {
            "related": "http://localhost:3000/api/v3/public/card_pools/eternal_01"
          }
        },
        "restriction": {
          "links": {
            "related": "http://localhost:3000/api/v3/public/restrictions/eternal_points_list"
          }
        }
      },
      "links": {
        "self": "http://localhost:3000/api/v3/public/snapshots/eternal_01"
      }
    }
  ],
  "links": {
    "self": "http://localhost:3000/api/v3/public/snapshots?page%5Bnumber%5D=1&page%5Bsize%5D=1000&stats%5Btotal%5D=count",
    "first": "http://localhost:3000/api/v3/public/snapshots?page%5Bnumber%5D=1&page%5Bsize%5D=1000&stats%5Btotal%5D=count",
    "last": "http://localhost:3000/api/v3/public/snapshots?page%5Bnumber%5D=1&page%5Bsize%5D=1000&stats%5Btotal%5D=count"
  },
  "meta": {
    "stats": {
      "total": {
        "count": 8
      }
    }
  }
}