Proteside Docs
Referencia de endpointsInformes PCI

Un snapshot específico (JSON, PDF o CSV)

GET
/reports/pci/snapshots/{id}

Autorización

bearerAuth
headerAutorizaciónBearer <token>

Token de API creado en Ajustes → API. Los alcances están vinculados al token; cada operación indica el alcance requerido en x-scope.

Parámetros de ruta

id*string
Formatouuid

Parámetros de consulta

org_id?string

Solo socios (orgs:manage): actúa sobre esta organización hija. También se puede enviar como org_id en cuerpos JSON.

Formatouuid
format?string
Predeterminado"json"
Valor en"json""pdf""csv"
csv_table?string
Predeterminado"scripts"
Valor en"scripts""headers""alerts"

Cuerpo de la respuesta

Snapshot con datos

  1. response
id?string
Formatouuid
store_id?string
Formatouuid
kind?string
Valor en"weekly""on_demand""monthly"
period_start?string
Formatodate-time
period_end?string
Formatodate-time
locale?string
Valor en"pt-BR""en"
schema_version?integer
sha256?string|null
generated_by?string
has_pdf?boolean
csv_tables?array<string>
created_at?string
Formatodate-time
generated?boolean

true when this request generated the snapshot

data?

Report data schema_version 2: meta, scope, summary_643, summary_1161, scripts[], headers[], alerts[], policies[], periodic_checks[], data_access[]

curl -X GET "https://example.com/reports/pci/snapshots/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "store_id": "7fe87115-950c-4ae8-bd7e-970406bc9ac0",  "kind": "weekly",  "period_start": "2019-08-24T14:15:22Z",  "period_end": "2019-08-24T14:15:22Z",  "locale": "pt-BR",  "schema_version": 0,  "sha256": "string",  "generated_by": "string",  "has_pdf": true,  "csv_tables": [    "string"  ],  "created_at": "2019-08-24T14:15:22Z",  "generated": true,  "data": {}}