Skip to content
Esc
↑↓navigate↵open⌘Jpreview

v1Series

Query series with search and pagination

QUERYv1Series
Arguments
searchString

Full-text search over series name and slug (max 200 characters)

pageInt

Page number (1-based, default 1)

perPageInt

Page size (default 25, max 50)

Returns

Series with pagination information

Try it
Server
Bodyapplication/json
Request
curl -X POST 'https://graphql.enad.io/{app_id}/graphql' \
  -H 'Content-Type: application/json' \
  -d '{
  "query": "query V1Series($search: String, $page: Int, $perPage: Int) {\n  v1Series(search: $search, page: $page, perPage: $perPage) {\n    series {\n      id\n      name\n      slug\n      logoUrl\n      coverUrl\n      brandId\n    }\n    pageInfo {\n      totalPages\n      currentPage\n      hasNextPage\n      hasPreviousPage\n    }\n  }\n}",
  "variables": {
    "search": "string",
    "page": 0,
    "perPage": 0
  }
}'
Response
{
  "data": {
    "v1Series": {
      "series": [
        {
          "id": "string",
          "name": "string",
          "slug": "string",
          "logoUrl": "string",
          "coverUrl": "string",
          "brandId": "string"
        }
      ],
      "pageInfo": {
        "totalPages": 0,
        "currentPage": 0,
        "hasNextPage": true,
        "hasPreviousPage": true
      }
    }
  }
}