Proteside Docs
Referencia de endpointsReglas

Listar reglas

GET
/rules

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 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
store_id?string

Filtrar por tienda

Formatouuid
type?string
Valor en"block""allow"
active?boolean
limit?integer
Rango1 <= value <= 100
Predeterminado50
cursor?string

Cursor opaco obtenido de next_cursor

Cuerpo de la respuesta

Reglas

application/json
  1. response
data?array<>
next_cursor?string|null
curl -X GET "https://example.com/rules"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "store_id": "7fe87115-950c-4ae8-bd7e-970406bc9ac0",      "type": "block",      "target": "domain",      "value": "string",      "label": "string",      "active": true,      "created_at": "2019-08-24T14:15:22Z"    }  ],  "next_cursor": "string"}