API 端点:
https://gv.city/api/v1/pixels
请求示例:
curl --location --request GET 'https://gv.city/api/v1/pixels' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_byname.typesort_byid.sortdesc.per_page10.API 端点:
https://gv.city/api/v1/pixels/{id}
请求示例:
curl --location --request GET 'https://gv.city/api/v1/pixels/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API 端点:
https://gv.city/api/v1/pixels
请求示例:
curl --location --request POST 'https://gv.city/api/v1/pixels' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}' \ --data-urlencode 'type={type}' \ --data-urlencode 'value={value}'
nametypevalueAPI 端点:
https://gv.city/api/v1/pixels/{id}
请求示例:
curl --location --request PUT 'https://gv.city/api/v1/pixels/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
nametypevalueAPI 端点:
https://gv.city/api/v1/pixels/{id}
请求示例:
curl --location --request DELETE 'https://gv.city/api/v1/pixels/{id}' \ --header 'Authorization: Bearer {api_key}'