Redemption Card Database API

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
More information: https://helloreverb.com
Contact Info: hello@helloreverb.com
Version: 1.0
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html

Access

Methods

[ Jump to Models ]

Table of Contents

Cards

Sets

Cards

Up
get /api/v1/card/{uuid}.json
Retrieve card detail (apiV1CardUuidJsonGet)

Path parameters

uuid (required)
Path Parameter — card ID

Return type

Example data

Content-Type: application/json
{
  "data" : [ {
    "image" : "image",
    "jsonUrl" : "jsonUrl",
    "attributes" : {
      "identifier" : "identifier",
      "set" : {
        "pack_image" : "pack_image",
        "image" : "image",
        "title" : "title"
      },
      "strength" : "strength",
      "legality" : "legality",
      "brigade" : [ "brigade", "brigade" ],
      "type" : "type",
      "toughness" : "toughness",
      "alignment" : "alignment",
      "class" : [ "class", "class" ],
      "rarity" : "rarity"
    },
    "id" : "id",
    "title" : "title"
  }, {
    "image" : "image",
    "jsonUrl" : "jsonUrl",
    "attributes" : {
      "identifier" : "identifier",
      "set" : {
        "pack_image" : "pack_image",
        "image" : "image",
        "title" : "title"
      },
      "strength" : "strength",
      "legality" : "legality",
      "brigade" : [ "brigade", "brigade" ],
      "type" : "type",
      "toughness" : "toughness",
      "alignment" : "alignment",
      "class" : [ "class", "class" ],
      "rarity" : "rarity"
    },
    "id" : "id",
    "title" : "title"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

The contents of the search CardDetailResponse

Up
get /api/v1/cards.json
Retrieve a list of cards (apiV1CardsJsonGet)

Return type

Example data

Content-Type: application/json
{
  "meta" : {
    "pagination" : {
      "per_page" : 1,
      "total" : 0,
      "count" : 6,
      "links" : {
        "next" : "next"
      },
      "total_pages" : 5,
      "current_page" : 5
    }
  },
  "items" : [ {
    "image" : "image",
    "jsonUrl" : "jsonUrl",
    "id" : "id",
    "title" : "title"
  }, {
    "image" : "image",
    "jsonUrl" : "jsonUrl",
    "id" : "id",
    "title" : "title"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

The contents of the search CardListResponse

Sets

Up
get /api/v1/sets.json
Retrieve a list of sets (apiV1SetsJsonGet)

Return type

Example data

Content-Type: application/json
{
  "meta" : {
    "pagination" : {
      "per_page" : 1,
      "total" : 0,
      "count" : 6,
      "links" : {
        "next" : "next"
      },
      "total_pages" : 5,
      "current_page" : 5
    }
  },
  "items" : [ {
    "setIcon" : "setIcon",
    "image" : "image",
    "jsonUrl" : "jsonUrl",
    "attributes" : {
      "identification" : "identification",
      "releaseDate" : "releaseDate",
      "kind" : "kind",
      "abbreviation" : "abbreviation"
    },
    "id" : "id",
    "title" : "title"
  }, {
    "setIcon" : "setIcon",
    "image" : "image",
    "jsonUrl" : "jsonUrl",
    "attributes" : {
      "identification" : "identification",
      "releaseDate" : "releaseDate",
      "kind" : "kind",
      "abbreviation" : "abbreviation"
    },
    "id" : "id",
    "title" : "title"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

The contents of the search SetListResponse

Up
get /api/v1/sets/{uuid}.json
Retrieve card detail (apiV1SetsUuidJsonGet)

Path parameters

uuid (required)
Path Parameter — card ID

Return type

Example data

Content-Type: application/json
{
  "data" : [ {
    "setIcon" : "setIcon",
    "image" : "image",
    "cards" : [ "cards", "cards" ],
    "jsonUrl" : "jsonUrl",
    "attributes" : {
      "identification" : "identification",
      "releaseDate" : "releaseDate",
      "kind" : "kind",
      "abbreviation" : "abbreviation"
    },
    "id" : "id",
    "title" : "title"
  }, {
    "setIcon" : "setIcon",
    "image" : "image",
    "cards" : [ "cards", "cards" ],
    "jsonUrl" : "jsonUrl",
    "attributes" : {
      "identification" : "identification",
      "releaseDate" : "releaseDate",
      "kind" : "kind",
      "abbreviation" : "abbreviation"
    },
    "id" : "id",
    "title" : "title"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

The contents of the search SetDetailResponse

Models

[ Jump to Methods ]

Table of Contents

  1. CardDetailResponse
  2. CardDetailResponse_attributes
  3. CardDetailResponse_attributes_set
  4. CardDetailResponse_data
  5. CardListResponse
  6. CardListResponse_items
  7. CardListResponse_meta
  8. CardListResponse_meta_pagination
  9. CardListResponse_meta_pagination_links
  10. SetDetailResponse
  11. SetDetailResponse_data
  12. SetListResponse
  13. SetListResponse_attributes
  14. SetListResponse_items

CardDetailResponse_attributes Up

type (optional)
brigade (optional)
strength (optional)
toughness (optional)
class (optional)
set (optional)
identifier (optional)
rarity (optional)
alignment (optional)
legality (optional)

CardDetailResponse_attributes_set Up

title (optional)
image (optional)
pack_image (optional)

CardDetailResponse_data Up

id (optional)
title (optional)
image (optional)
jsonUrl (optional)
attributes (optional)

CardListResponse_items Up

id (optional)
title (optional)
image (optional)
jsonUrl (optional)

CardListResponse_meta_pagination Up

total (optional)
count (optional)
per_page (optional)
current_page (optional)
total_pages (optional)
links (optional)

SetDetailResponse_data Up

id (optional)
title (optional)
image (optional)
setIcon (optional)
jsonUrl (optional)
attributes (optional)
cards (optional)

SetListResponse_attributes Up

abbreviation (optional)
kind (optional)
releaseDate (optional)
identification (optional)

SetListResponse_items Up

id (optional)
title (optional)
image (optional)
setIcon (optional)
jsonUrl (optional)
attributes (optional)