领域

说明
专家级
API 密钥应在请求的授权标头中作为承载器令牌发送。 获取 API 密钥.
列表

应用程序接口端点:

GET
https://goo.vc/api/v1/domains?zh

申请示例:

curl --location --request GET 'https://goo.vc/api/v1/domains?zh' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
参数
类型
说明
search
可选 string
搜索查询。
search_by
可选 string
搜索方式. 可能的值是name名称_. 默认为name.
sort_by
可选 string
排序方式. 可能的值是id创建日期_, name名称_. 默认为id.
sort
可选 string
分类. 可能的值是desc下降_, asc上升_. 默认为desc.
per_page
可选 integer
每页结果. 可能的值是10, 25, 50, 100. 默认为10.
显示

应用程序接口端点:

GET
https://goo.vc/api/v1/domains/{id}?zh

申请示例:

curl --location --request GET 'https://goo.vc/api/v1/domains/{id}?zh' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
商店

应用程序接口端点:

POST
https://goo.vc/api/v1/domains?zh

申请示例:

curl --location --request POST 'https://goo.vc/api/v1/domains?zh' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'name={name}'
参数
类型
说明
name
需要 string
域名。
index_page
可选 string
要重定向到的索引页面。
not_found_page
可选 string
重定向到的 404 页面。
更新

应用程序接口端点:

PUT PATCH
https://goo.vc/api/v1/domains/{id}?zh

申请示例:

curl --location --request PUT 'https://goo.vc/api/v1/domains/{id}?zh' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}'
参数
类型
说明
index_page
可选 string
要重定向到的索引页面。
not_found_page
可选 string
重定向到的 404 页面。
删除

应用程序接口端点:

DELETE
https://goo.vc/api/v1/domains/{id}?zh

申请示例:

curl --location --request DELETE 'https://goo.vc/api/v1/domains/{id}?zh' \
--header 'Authorization: Bearer {api_key}'