Endpoint da API:
https://l4y.ovh/api/v1/links
Exemplo de requisição:
curl --location --request GET 'https://l4y.ovh/api/v1/links' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
title
para Título, alias
para Alias, url
para URL. O padrão é: title
.status
0
para Todos, 1
para Ativo, 2
para Expirado, 3
para Desabilitado. O padrão é: 0
.space_id
domain_id
pixel_id
sort_by
id
para Data de criação, clicks
para Cliques, title
para Título, alias
para Alias, url
para URL. O padrão é: id
.sort
desc
para Descendente, asc
para Ascendente. O padrão é: desc
.per_page
10
, 25
, 50
, 100
. O padrão é: 10
.Endpoint da API:
https://l4y.ovh/api/v1/links/{id}
Exemplo de requisição:
curl --location --request GET 'https://l4y.ovh/api/v1/links/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
Endpoint da API:
https://l4y.ovh/api/v1/links
Exemplo de requisição:
curl --location --request POST 'https://l4y.ovh/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
0
para Não, 1
para Sim. O padrão é: 0
.privacy
0
para Público, 1
para Privado, 2
para Senha. O padrão é: 0
.password
privacy
definido como 2
.active_period_start_at
Y-m-d H:i
.active_period_end_at
Y-m-d H:i
.clicks_limit
expiration_url
targets_type
continents
para Continents, countries
para Countries, operating_systems
para Operating systems, browsers
para Browsers, languages
para Languages, devices
para Devices, rotations
para Rotations.targets[index][key]
targets_type=country
, o valor deve estar no formato ISO 3166-1 alpha-2.targets_type=operating_systems
, the possible values are iOS
, Android
, Windows
, OS X
, Linux
, Ubuntu
, Chrome OS.
targets_type=browsers
, os valores possíveis são: Chrome
, Chromium
, Firefox
, Firefox Mobile
, Edge
, Internet Explorer
, Mobile Internet Explorer
, Vivaldi
, Brave
, Safari
, Opera
, Opera Mini
, Opera Mobile
, Opera Touch
, Yandex Browser
, UC Browser
, Samsung Internet
, QQ Browser
, BlackBerry Browser
, Maxtho.
targets_type=devices
, os valores possíveis são: Desktop
, Mobile
, Tablet
, Watch
, Television.
targets_type=languages
, o valor deve estar no formato ISO 639-1 alpha-2.targets_type=continents
, os valores possíveis são: AF
para Africa, AN
para Antarctica, AS
para Asia, EU
para Europe, NA
para North America, OC
para Oceania, SA
para South America.targets[index][value]
Endpoint da API:
https://l4y.ovh/api/v1/links/{id}
Exemplo de requisição:
curl --location --request PUT 'https://l4y.ovh/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
0
para Não, 1
para Sim.privacy
0
para Público, 1
para Privado, 2
para Senha.password
privacy
definido como 2
.active_period_start_at
Y-m-d H:i
.active_period_end_at
Y-m-d H:i
.clicks_limit
expiration_url
targets_type
continents
para Continents, countries
para Countries, operating_systems
para Operating systems, browsers
para Browsers, languages
para Languages, devices
para Devices, rotations
para Rotations.targets[index][key]
targets_type=country
, o valor deve estar no formato ISO 3166-1 alpha-2.targets_type=operating_systems
, the possible values are iOS
, Android
, Windows
, OS X
, Linux
, Ubuntu
, Chrome OS.
targets_type=browsers
, os valores possíveis são: Chrome
, Chromium
, Firefox
, Firefox Mobile
, Edge
, Internet Explorer
, Mobile Internet Explorer
, Vivaldi
, Brave
, Safari
, Opera
, Opera Mini
, Opera Mobile
, Opera Touch
, Yandex Browser
, UC Browser
, Samsung Internet
, QQ Browser
, BlackBerry Browser
, Maxtho.
targets_type=devices
, os valores possíveis são: Desktop
, Mobile
, Tablet
, Watch
, Television.
targets_type=languages
, o valor deve estar no formato ISO 639-1 alpha-2.targets_type=continents
, os valores possíveis são: AF
para Africa, AN
para Antarctica, AS
para Asia, EU
para Europe, NA
para North America, OC
para Oceania, SA
para South America.targets[index][value]
Endpoint da API:
https://l4y.ovh/api/v1/links/{id}
Exemplo de requisição:
curl --location --request DELETE 'https://l4y.ovh/api/v1/links/{id}' \ --header 'Authorization: Bearer {api_key}'