← Volver a la lista de operaciones
Consulta

logs

logs(page: Int = 1, type: String, actorType: String, userId: ID, startDate: String, endDate: String, order: String = "desc"): LogPage!

Información de la llamada

Punto de acceso

https://api.revclic.com/

Método

POST

Autenticación

Token Bearer (JWT)

Devuelve

LogPage!

Argumentos

ParámetroTipoValor predeterminadoEstado
pageInt1Opcional
typeStringOpcional
actorTypeStringOpcional
userIdIDOpcional
startDateStringOpcional
endDateStringOpcional
orderString"desc"Opcional

Ejemplo de consulta GraphQL

query GetLogs($page: Int, $type: String, $actorType: String, $userId: ID, $startDate: String, $endDate: String, $order: String) {
  logs(page: $page, type: $type, actorType: $actorType, userId: $userId, startDate: $startDate, endDate: $endDate, order: $order) {
    items { id type userId actorType }
    currentPage
    totalResults
    totalPages
  }
}

Ejemplo de variables

{
  "page": 1,
  "type": "example",
  "actorType": "example",
  "userId": "1",
  "startDate": "2026-01-01",
  "endDate": "2026-01-01",
  "order": "desc"
}

Payload JSON completo

{
  "query": "query GetLogs($page: Int, $type: String, $actorType: String, $userId: ID, $startDate: String, $endDate: String, $order: String) {\n  logs(page: $page, type: $type, actorType: $actorType, userId: $userId, startDate: $startDate, endDate: $endDate, order: $order) {\n    items { id type userId actorType }\n    currentPage\n    totalResults\n    totalPages\n  }\n}",
  "variables": {
    "page": 1,
    "type": "example",
    "actorType": "example",
    "userId": "1",
    "startDate": "2026-01-01",
    "endDate": "2026-01-01",
    "order": "desc"
  }
}

Ejemplo cURL para probar

curl -X POST https://api.revclic.com/ \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <token>" \
  -d '{
  "query": "query GetLogs($page: Int, $type: String, $actorType: String, $userId: ID, $startDate: String, $endDate: String, $order: String) {\n  logs(page: $page, type: $type, actorType: $actorType, userId: $userId, startDate: $startDate, endDate: $endDate, order: $order) {\n    items { id type userId actorType }\n    currentPage\n    totalResults\n    totalPages\n  }\n}",
  "variables": {
    "page": 1,
    "type": "example",
    "actorType": "example",
    "userId": "1",
    "startDate": "2026-01-01",
    "endDate": "2026-01-01",
    "order": "desc"
  }
}'

Tipos relacionados