API endpoint:
https://artiro.app/api/v1/images
Solicitar ejemplo:
curl --location --request GET 'https://artiro.app/api/v1/images' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
name
.resolution
style
favorite
sort_by
id
.sort
desc
.per_page
10
, 25
, 50
, 100
. Predeterminado: 10
.API endpoint:
https://artiro.app/api/v1/images/{id}
Solicitar ejemplo:
curl --location --request GET 'https://artiro.app/api/v1/images/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://artiro.app/api/v1/images
Solicitar ejemplo:
curl --location --request POST 'https://artiro.app/api/v1/images' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}' \ --data-urlencode 'description={description}'
name
description
resolution
style
API endpoint:
https://artiro.app/api/v1/images/{id}
Solicitar ejemplo:
curl --location --request PUT 'https://artiro.app/api/v1/images/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
name
favorite
API endpoint:
https://artiro.app/api/v1/images/{id}
Solicitar ejemplo:
curl --location --request DELETE 'https://artiro.app/api/v1/images/{id}' \ --header 'Authorization: Bearer {api_key}'