Piloterr
Référence de l'APIRuns

Download a diff

GET
/v1/runs/{id}/diff/export

The whole diff as an attachment named run-{id}-diff-{against_run_id}. JSON: the diff with every item matching change. CSV: one line per changed field (change, key.*, field, before, after), one per other row. Same errors as GET /v1/runs/{id}/diff.

Authentification

ApiKeyAuth
headerX-Api-Key<token>

Paramètres de chemin

id*string

The run's id (GET /v1/projects/{id}/runs, or the answer of POST /v1/projects/{id}/runs)

Length1 <= length

Paramètres de requête

against?string

Another finished (completed, failed or cancelled) run of the project; a retry stands for the run it retries. Default: the latest completed run created before this one, retries aside.

Length1 <= length
change?string

Only the rows of this kind. Default: added, removed and changed (summary always counts all five).

Value in"added""removed""changed""unchanged""failed"
fields?string

Comma-separated fields to compare, in place of the project's tracked fields (tracked_fields).

format?string

The file's format

Default"csv"
Value in"csv""json"

Corps de la réponse

The file

response?string
Example Request
curl -X GET 'https://dataflow.piloterr.com/v1/runs/string/diff/export'
Example Response
null