API接口:
https://sd.la/api/v1/pixels
请求示例:
curl --location --request GET 'https://sd.la/api/v1/pixels' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
type
adroll
, bing
, facebook
, google-ads
, google-analytics
, google-tag-manager
, linkedin
, pinterest
, quora
, twitter
.sort
desc
for 降序, asc
for 升序. Defaults to: desc
.per_page
10
to 100
. Defaults to: 100
.API接口:
https://sd.la/api/v1/pixels/{id}
请求示例:
curl --location --request GET 'https://sd.la/api/v1/pixels/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API接口:
https://sd.la/api/v1/pixels
请求示例:
curl --location --request POST 'https://sd.la/api/v1/pixels' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
name
type
adroll
, bing
, facebook
, google-ads
, google-analytics
, google-tag-manager
, linkedin
, pinterest
, quora
, twitter
.pixel_id
API接口:
https://sd.la/api/v1/pixels/{id}
请求示例:
curl --location --request PUT 'https://sd.la/api/v1/pixels/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
name
type
adroll
, bing
, facebook
, google-ads
, google-analytics
, google-tag-manager
, linkedin
, pinterest
, quora
, twitter
.pixel_id
API接口:
https://sd.la/api/v1/pixels/{id}
请求示例:
curl --location --request DELETE 'https://sd.la/api/v1/pixels/{id}' \ --header 'Authorization: Bearer {api_key}'