应用程序接口端点:
https://goo.vc/api/v1/links?zh
申请示例:
curl --location --request GET 'https://goo.vc/api/v1/links?zh' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
title
为标题_, alias
为别名_, url
为网址_. 默认为title
.status
0
为全部_, 1
为活跃_, 2
为已过期_, 3
为残疾_. 默认为0
.space_id
domain_id
pixel_id
sort_by
id
为创建日期_, clicks
为点击次数_, title
为标题_, alias
为别名_, url
为网址_. 默认为id
.sort
desc
为下降_, asc
为上升_. 默认为desc
.per_page
10
, 25
, 50
, 100
. 默认为10
.应用程序接口端点:
https://goo.vc/api/v1/links/{id}?zh
申请示例:
curl --location --request GET 'https://goo.vc/api/v1/links/{id}?zh' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
应用程序接口端点:
https://goo.vc/api/v1/links?zh
申请示例:
curl --location --request POST 'https://goo.vc/api/v1/links?zh' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}' \ --data-urlencode 'domain={id}'
url
domain_id
alias
password
space_id
pixel_ids
disabled
0
为活跃_, 1
为残疾_. 默认为0
.privacy
0
为公众_, 1
为私人_, 2
为密码_. 默认为0
.privacy_password
privacy
设置为 2
时才有效。expiration_url
expiration_date
YYYY-MM-DD
_。expiration_time
HH:MM
__。expiration_clicks
target_type
0
为无_, 1
为地理_, 2
为平台_, 4
为旋转_.country[index][value]
platform[index][key]
iOS
, Android
, Windows
, OS X
, Linux
, Ubuntu
, Chrome OS
.platform[index][value]
language[index][value]
rotation[index][value]
应用程序接口端点:
https://goo.vc/api/v1/links/{id}?zh
申请示例:
curl --location --request PUT 'https://goo.vc/api/v1/links/{id}?zh' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
url
alias
password
space_id
pixel_ids
disabled
0
为活跃_, 1
为残疾_.privacy
0
为公众_, 1
为私人_, 2
为密码_.privacy_password
privacy
设置为 2
时才有效。expiration_url
expiration_date
YYYY-MM-DD
_。expiration_time
HH:MM
__。expiration_clicks
target_type
0
为无_, 1
为地理_, 2
为平台_, 4
为旋转_.country[index][value]
platform[index][key]
iOS
, Android
, Windows
, OS X
, Linux
, Ubuntu
, Chrome OS
.platform[index][value]
language[index][value]
rotation[index][value]
应用程序接口端点:
https://goo.vc/api/v1/links/{id}?zh
申请示例:
curl --location --request DELETE 'https://goo.vc/api/v1/links/{id}?zh' \ --header 'Authorization: Bearer {api_key}'