Punto final de la API:
https://short.beta7.dev/api/v1/links
Ejemplo de solicitud:
curl --location --request GET 'https://short.beta7.dev/api/v1/links' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
status
space_id
domain_id
pixel_id
sort_by
sort
per_page
Punto final de la API:
https://short.beta7.dev/api/v1/links/{id}
Ejemplo de solicitud:
curl --location --request GET 'https://short.beta7.dev/api/v1/links/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
Punto final de la API:
https://short.beta7.dev/api/v1/links
Ejemplo de solicitud:
curl --location --request POST 'https://short.beta7.dev/api/v1/links' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}' \ --data-urlencode 'domain={id}'
url
domain_id
alias
space_id
pixel_ids[]
redirect_password
sensitive_content
privacy
password
active_period_start_at
active_period_end_at
clicks_limit
expiration_url
targets_type
targets[index][key]
targets_type=operating_systems
, the possible values are iOS
, Android
, Windows
, OS X
, Linux
, Ubuntu
, Chrome OS.
targets[index][value]
Punto final de la API:
https://short.beta7.dev/api/v1/links/{id}
Ejemplo de solicitud:
curl --location --request PUT 'https://short.beta7.dev/api/v1/links/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
url
alias
space_id
pixel_ids[]
redirect_password
sensitive_content
privacy
password
active_period_start_at
active_period_end_at
clicks_limit
expiration_url
targets_type
targets[index][key]
targets_type=operating_systems
, the possible values are iOS
, Android
, Windows
, OS X
, Linux
, Ubuntu
, Chrome OS.
targets[index][value]
Punto final de la API:
https://short.beta7.dev/api/v1/links/{id}
Ejemplo de solicitud:
curl --location --request DELETE 'https://short.beta7.dev/api/v1/links/{id}' \ --header 'Authorization: Bearer {api_key}'