API 端点:
https://zndwz.com/api/v1/pixels
请求示例:
curl --location --request GET 'https://zndwz.com/api/v1/pixels' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
name
。 默认值为:name
。type
adroll
, bing
, facebook
, google-ads
, google-analytics
, google-tag-manager
, linkedin
, pinterest
, quora
, x
。sort_by
id
, 姓名 的 name
。 默认值为:id
。sort
desc
, 升序 的 asc
。 默认值为:desc
。per_page
10
, 25
, 50
, 100
。 默认值为:100
。API 端点:
https://zndwz.com/api/v1/pixels/{id}
请求示例:
curl --location --request GET 'https://zndwz.com/api/v1/pixels/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API 端点:
https://zndwz.com/api/v1/pixels
请求示例:
curl --location --request POST 'https://zndwz.com/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}'
name
type
adroll
, bing
, facebook
, google-ads
, google-analytics
, google-tag-manager
, linkedin
, pinterest
, quora
, x
。value
API 端点:
https://zndwz.com/api/v1/pixels/{id}
请求示例:
curl --location --request PUT 'https://zndwz.com/api/v1/pixels/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
name
type
adroll
, bing
, facebook
, google-ads
, google-analytics
, google-tag-manager
, linkedin
, pinterest
, quora
, x
。value
API 端点:
https://zndwz.com/api/v1/pixels/{id}
请求示例:
curl --location --request DELETE 'https://zndwz.com/api/v1/pixels/{id}' \ --header 'Authorization: Bearer {api_key}'