Get a jaguar
GET
/jaguar
const url = 'https://example.com/api/jaguar?age=1%2C2%2C3&weight=100&weight=200&weight=300&name=Mona&name=Lisa&surname=Butch%2CCassidy&limit%5Blimit%5D=50&limit%5Boffset%5D=100';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/jaguar?age=1%2C2%2C3&weight=100&weight=200&weight=300&name=Mona&name=Lisa&surname=Butch%2CCassidy&limit%5Blimit%5D=50&limit%5Boffset%5D=100' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”age
Array<integer>
Example
?age=1,2,3weight
Array<integer>
Example
?weight=100&weight=200&weight=300name
Array<string>
Example
?name=Mona&name=Lisasurname
Array<string>
Example
?surname=Butch,Cassidylimit
object
limit
integer
offset
integer
Example
?limit[limit]=50&limit[offset]=100Responses
Section titled “Responses”Animal response
Media typeapplication/json
object
id
required
integer format: int64
name
required
Name of the animal
A friendly name for the animal.
string
tag
string
Example
{ "id": 1, "name": "dog", "tag": "pet"}default
Section titled “default”Unexpected error
Media typeapplication/json
object
code
required
integer format: int32
message
required
string
Examplegenerated
{ "code": 1, "message": "example"}