API endpoint:
https://pixbet.blog/api/v1/spaces
Request example:
curl --location --request GET 'https://pixbet.blog/api/v1/spaces' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
sort
desc
for Descending, asc
for Ascending. Defaults to: desc
.per_page
10
to 100
. Defaults to:
.API endpoint:
https://pixbet.blog/api/v1/spaces/{id}
Request example:
curl --location --request GET 'https://pixbet.blog/api/v1/spaces/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://pixbet.blog/api/v1/spaces
Request example:
curl --location --request POST 'https://pixbet.blog/api/v1/spaces' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
name
color
1
, 2
, 3
, 4
, 5
, 6
. Defaults to: 1
.API endpoint:
https://pixbet.blog/api/v1/spaces/{id}
Request example:
curl --location --request PUT 'https://pixbet.blog/api/v1/spaces/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
name
color
1
, 2
, 3
, 4
, 5
, 6
.API endpoint:
https://pixbet.blog/spaces/{id}/destroy
Request example:
curl --location --request DELETE 'https://pixbet.blog/spaces/{id}/destroy' \ --header 'Authorization: Bearer {api_key}'