You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
get:
|
|
operationId: exportsDownloadPerTable
|
|
tags:
|
|
- GPIS exports
|
|
summary: Download one CSV table from an available export
|
|
parameters:
|
|
- name: agb
|
|
in: path
|
|
description: The AGB code of the practice for the export file you want to download.
|
|
required: true
|
|
schema:
|
|
$ref: ../schemas/agb.yaml
|
|
- name: filename
|
|
in: path
|
|
required: true
|
|
description: |-
|
|
The name of the file as provided by the `/exports/available` endpoint.
|
|
schema:
|
|
type: string
|
|
- name: tablename
|
|
in: path
|
|
required: true
|
|
description: |-
|
|
The name of one of the tables in the export as provided by the `/exports/available` endpoint's `tables` list.
|
|
schema:
|
|
type: string
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
Fetches the requested table from the GPIS export.
|
|
|
|
Note that the response will have the content type of the request resource (usually `text/csv`) even if the requester's `Accept` header does not indicate this mime type is supported.
|
|
'401':
|
|
$ref: '../zoo-api.yaml/#/components/responses/NoAuth'
|
|
'403':
|
|
$ref: '../zoo-api.yaml/#/components/responses/NoAccess' |