Комментарий #12990507

th3_smart
@ShikiAPITestApp, попробуй запросить все поля
Ответы
ShikiAPITestApp
ShikiAPITestApp#
@th3_smart, я запросил те поля, которые включены по умолчанию в песочнице. В общем, немного поигравшись, я обнаружил, что возвращается ошибка, когда в запрос включены жанры.

Вот так работает:

{
  animes(page: 164, limit: 50, status: "released,ongoing", order: aired_on) {
    id
    malId
    name
    russian
    licenseNameRu
    english
    japanese
    synonyms
    kind
    rating
    score
    status
    episodes
    episodesAired
    duration
    airedOn {
      year
      month
      day
      date
    }
    releasedOn {
      year
      month
      day
      date
    }
    url
    season

    poster {
      id
      originalUrl
      mainUrl
    }

    fansubbers
    fandubbers
    licensors
    createdAt
    updatedAt
    nextEpisodeAt
    isCensored

    studios {
      id
      name
      imageUrl
    }

    externalLinks {
      id
      kind
      url
      createdAt
      updatedAt
    }

    personRoles {
      id
      rolesRu
      rolesEn
      person {
        id
        name
        poster {
          id
        }
      }
    }
    characterRoles {
      id
      rolesRu
      rolesEn
      character {
        id
        name
        poster {
          id
        }
      }
    }

    related {
      id
      anime {
        id
        name
      }
      manga {
        id
        name
      }
      relationKind
      relationText
    }

    videos {
      id
      url
      name
      kind
      playerUrl
      imageUrl
    }
    screenshots {
      id
      originalUrl
      x166Url
      x332Url
    }

    scoresStats {
      score
      count
    }
    statusesStats {
      status
      count
    }

    description
    descriptionHtml
    descriptionSource
  }
}
назад
Твой комментарий
Вернуться к редактированию
Предпросмотр
Скрыть