API endpoint:
http://short.hiendstudio.com/api/v1/spaces
Request example:
curl --location --request GET 'http://short.hiendstudio.com/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: 20
.API endpoint:
http://short.hiendstudio.com/api/v1/spaces/{id}
Request example:
curl --location --request GET 'http://short.hiendstudio.com/api/v1/spaces/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
http://short.hiendstudio.com/api/v1/spaces
Request example:
curl --location --request POST 'http://short.hiendstudio.com/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:
http://short.hiendstudio.com/api/v1/spaces/{id}
Request example:
curl --location --request PUT 'http://short.hiendstudio.com/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:
http://short.hiendstudio.com/spaces/{id}/destroy
Request example:
curl --location --request DELETE 'http://short.hiendstudio.com/spaces/{id}/destroy' \ --header 'Authorization: Bearer {api_key}'