应用程序接口端点:
https://goo.vc/api/v1/spaces?zh
申请示例:
curl --location --request GET 'https://goo.vc/api/v1/spaces?zh' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
name
为名称_. 默认为name
.sort_by
id
为创建日期_, name
为名称_. 默认为id
.sort
desc
为下降_, asc
为上升_. 默认为desc
.per_page
10
, 25
, 50
, 100
. 默认为10
.应用程序接口端点:
https://goo.vc/api/v1/spaces/{id}?zh
申请示例:
curl --location --request GET 'https://goo.vc/api/v1/spaces/{id}?zh' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
应用程序接口端点:
https://goo.vc/api/v1/spaces?zh
申请示例:
curl --location --request POST 'https://goo.vc/api/v1/spaces?zh' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}'
name
color
1
, 2
, 3
, 4
, 5
, 6
. 默认为1
.应用程序接口端点:
https://goo.vc/api/v1/spaces/{id}?zh
申请示例:
curl --location --request PUT 'https://goo.vc/api/v1/spaces/{id}?zh' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
name
color
1
, 2
, 3
, 4
, 5
, 6
.应用程序接口端点:
https://goo.vc/api/v1/spaces/{id}?zh
申请示例:
curl --location --request DELETE 'https://goo.vc/api/v1/spaces/{id}?zh' \ --header 'Authorization: Bearer {api_key}'