Listar los cambios

GET
/v1/changes

The passages the SAT added, changed or removed from since through until, by the day each change applies from. The first version of a source Códice holds is where its history starts, not a change.

Autorización

headerAuthorizationBearer <token>

An API key from the dashboard (/keys), cdc_….

Parámetros de consulta

since*string

The first day of the window, YYYY-MM-DD: changes that apply from this day on.

Formato^\d{4}-\d{2}-\d{2}$
until?string

The last day of the window, YYYY-MM-DD. Without it, every change from since on, including any Códice already holds for a later date.

Formato^\d{4}-\d{2}-\d{2}$
source?string

Only one source, by the id list_sources gives, such as rmf-2026.

Respuesta

The changes, oldest first.

application/json
  1. response
data*
meta*
Petición de ejemplo
curl -X GET 'https://codice.io/v1/changes?since=string'
Respuesta de ejemplo
{
  "data": {
    "since": "string",
    "until": "string",
    "source": "string",
    "changes": [
      {
        "change": "added",
        "date": "string",
        "passageId": "string",
        "previousPassageId": "string",
        "source": "string",
        "heading": "string",
        "kind": "string",
        "validFrom": "string",
        "validUntil": "string"
      }
    ]
  },
  "meta": {
    "requestId": "string"
  }
}