Pular para o conteúdo

List by a short link

GET
/short_links/{shortCode}/requests

List of all requests by a short link campaign code

shortCode
required
string
>= 1 characters <= 36 characters

Código do link curto

page
integer
default: 1 >= 1 <= 1000000

Current page

_order[date]

Sort order direction (ascending or descending)

string
default: asc
Allowed values: asc desc

Sort a list by ‘date’ property

ip
string format: ipv4
<= 15 characters

Partial case-insensitive text filter by a IP address

url
string
>= 1 characters

Partial case-insensitive text filter by a destination URL

user_agent
string
>= 1 characters

Partial filter short links by user agent (partial match)

country

Código do país

string
>= 2 characters <= 2 characters /^[A-Z]{2}$/

Exact filter entities by the country code

country[]
Array<string>

Exact filter entities by the country codes

referer
string
>= 1 characters

Partial case-insensitive text filter by a referer

date

Data da solicitação de link curto

integer

Exact filter short link requests by exact date

date[]
Array<integer>

Exact filter short link requests by date (array of values)

type

Tipo da solicitação de link curto

integer
Allowed values: 0 1

Exact filter short links by type (exact match)

type[]
Array<integer>
Allowed values: 0 1

Range filter short links by type (array of values)

browser
string
>= 1 characters

Partial case-insensitive text filter by a browser name

browser_version
string
>= 1 characters <= 255 characters

Partial case-insensitive text filter by a browser version

os
string
>= 1 characters <= 255 characters

Partial case-insensitive text filter by a operation system name

os_version
string
>= 1 characters <= 255 characters

Partial case-insensitive text filter by a operation system version

software_type
string
>= 1 characters <= 255 characters

Partial case-insensitive text filter by a software type

hardware_type
string
>= 1 characters <= 255 characters

Partial case-insensitive text filter by a hardware type

date[between]

Data da solicitação de link curto

integer

Range filter short link requests by date range

date[gt]

Data da solicitação de link curto

integer

Filtrar solicitações de links curtos por data maior que

date[gte]

Data da solicitação de link curto

integer

Filtrar solicitações de links curtos por data maior ou igual

date[lt]

Data da solicitação de link curto

integer

Filtrar solicitações de links curtos por data menor que

date[lte]

Data da solicitação de link curto

integer

Filtrar solicitações de links curtos por data menor ou igual

Short_link_requests collection

object
member
required
Array<object>

Short link campaigns

object
@id

JSON-LD ID

string
@type

JSON-LD type

string
@context
One of:
string
id

Identificador único da solicitação de link curto

integer
ip

Endereço IP da solicitação de link curto

string | null format: ipv4
<= 15 characters
user_agent

Agente do usuário da solicitação de link curto

string | null
url

URL da solicitação de link curto

string
date

Data da solicitação de link curto

integer
country

Código do país

string
>= 2 characters <= 2 characters /^[A-Z]{2}$/
referer

Referenciador da solicitação de link curto

string | null
short_link

Link curto associado à solicitação

string | null format: iri-reference
type

Tipo da solicitação de link curto

integer
Allowed values: 0 1
browser

Navegador usado para a solicitação de link curto

string | null
browser_version

Versão do navegador usada para a solicitação de link curto

string | null
<= 255 characters
os

Sistema operacional usado para a solicitação de link curto

string | null
<= 255 characters
os_version

Versão do sistema operacional usada para a solicitação de link curto

string | null
<= 255 characters
software_type

Tipo de software usado para a solicitação de link curto

string | null
<= 255 characters
hardware_type

Tipo de hardware usado para a solicitação de link curto

string | null
<= 255 characters
hydra:totalItems
integer
hydra:view

Pagination links for navigating the collection

object
@id
string format: iri-reference
@type
string
hydra:first
string format: iri-reference
hydra:last
string format: iri-reference
hydra:previous
string format: iri-reference
hydra:next
string format: iri-reference
hydra:search

Search and filtering template for the collection

object
@type
string
hydra:template
string
hydra:variableRepresentation
string
hydra:mapping
Array<object>
object
@type
string
variable
string
property
string | null
required
boolean
Example
{
"member": [
{
"@context": {
"hydra": "http://www.w3.org/ns/hydra/core#"
},
"ip": "192.168.1.1",
"country": "US",
"short_link": "https://example.com/",
"type": 0
}
],
"hydra:view": {
"@id": "string",
"@type": "string",
"hydra:first": "string",
"hydra:last": "string",
"hydra:previous": "string",
"hydra:next": "string"
}
}

Invalid input

Client ID or API key isn’t active or invalid!

Account isn’t activated. Please wait or contact to support!

Resource not found

O endereço IP foi bloqueado temporariamente, pois durante um curto período de tempo foram enviadas várias solicitações com credenciais inválidas. Aguarde e tente mais tarde.

Code Samples

#!/usr/bin/env bash
curl -X GET https://api.lox24.eu/short_links/{short_link_id}/requests \
-H 'X-LOX24-AUTH-TOKEN: 1234567:e3f3a759b6677959b6ebfcxxxxxxxxxx'