mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
1c0fbd5233
(cherry picked from commit 316aabdb2a)
1.6 KiB
1.6 KiB
title
| title |
|---|
| Global Search |
Global Search Query
The global search query returns a listing of resources that match a given search term.
Query Example
query ($search: String!) {
search(search: $search) {
anime {
name
}
artists {
name
}
animethemes {
type
}
playlists {
name
}
series {
name
}
songs {
title
}
studios {
name
}
videos {
basename
}
}
}
Authentication
None
Parameters
| Name | Type | Description |
|---|---|---|
| page | Int | Index of the current page |
| perPage | Int | Number of items per page |
| search | String! | The term used for the search |
Response
{
search: {
anime: [
{
name: "name"
}
],
animethemes: [
{
type: "type"
}
],
artists: [
{
name: "name"
}
],
playlists: [
{
name: "name"
}
],
series: [
{
name: "name"
}
],
songs: [
{
title: "title"
}
],
videos: [
{
basename: "basename"
}
]
}
}