API端点:
https://dwz.mk/api/v1/pixels
请求示例:
curl --location --request GET 'https://dwz.mk/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
, twitter
.sort_by
id
为 创建时间, name
为 名称. 默认为: id
.sort
desc
为 降序, asc
为 升序. 默认为: desc
.per_page
10
, 25
, 50
, 100
. 默认为: 10
.API端点:
https://dwz.mk/api/v1/pixels/{id}
请求示例:
curl --location --request GET 'https://dwz.mk/api/v1/pixels/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API端点:
https://dwz.mk/api/v1/pixels
请求示例:
curl --location --request POST 'https://dwz.mk/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
, twitter
.value
API端点:
https://dwz.mk/api/v1/pixels/{id}
请求示例:
curl --location --request PUT 'https://dwz.mk/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
, twitter
.value
API端点:
https://dwz.mk/api/v1/pixels/{id}
请求示例:
curl --location --request DELETE 'https://dwz.mk/api/v1/pixels/{id}' \ --header 'Authorization: Bearer {api_key}'