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}'
searchsearch_bystatusspace_iddomain_idpixel_idsort_bysortper_pagePunto 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}'
urldomain_idaliasspace_idpixel_ids[]redirect_passwordsensitive_contentprivacypasswordactive_period_start_atactive_period_end_atclicks_limitexpiration_urltargets_typetargets[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}'
urlaliasspace_idpixel_ids[]redirect_passwordsensitive_contentprivacypasswordactive_period_start_atactive_period_end_atclicks_limitexpiration_urltargets_typetargets[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}'