filters

Get cards by energy type

Changed on

Returns cards with the specified energy type, with support for filtering, sorting, and pagination

get/energy-types/{energy-type}

Request

Path parameters

energy-typestring required

Query parameters

object
OR
unknown

Filter results by field value.

Supports various operators:

  • Default/like: - Laxist equality (contains, case insensitive)
  • not:/notlike: - Laxist inequality
  • eq: - Strict equality
  • neq: - Strict inequality
  • gte: - Greater than or equal (numbers)
  • lte: - Less than or equal (numbers)
  • gt: - Greater than (numbers)
  • lt: - Less than (numbers)
  • null: - Field is null
  • notnull: - Field is not null
  • Multiple values with | (e.g., name=eq:Furret|Pikachu)
string
OR
unknown

Field to sort results by (overrides default sorting)

'ASC' | 'DESC'
OR
'ASC' | 'DESC'

Order to sort results (ASC or DESC)

integer
OR
unknown

Page number for paginated results

integer
OR
unknown

Number of items per page (applied when pagination:page is used)

Response

Successful request

idstring required

Unique identifier of the card

localIdstring required

Card number within its set

namestring required

Name of the card (including any suffix)

Example response

[
  {
    "id": "base1-1",
    "localId": "1",
    "name": "Alakazam"
  }
]

Changes

    • info

      added the new optional query request parameter filters

    • info

      added the new optional query request parameter pagination:itemsPerPage

    • info

      added the new optional query request parameter pagination:page

    • info

      added the new optional query request parameter sort:field

    • info

      added the new optional query request parameter sort:order

    • info

      added the media type application/problem+json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status