All endpoints are under /export/.
Return the DwC schema terms vocabulary as JSON.
curl -b cookies.txt https://specify.example.org/export/schema_terms/List all schema mappings. Requires schema_mapping.read permission.
curl -b cookies.txt https://specify.example.org/export/list_mappings/Response:
[
{
"id": 1,
"name": "Occurrence Core",
"mappingType": "Core",
"isDefault": true,
"queryId": 42
}
]List all export packages (datasets). Requires export_package.read permission.
curl -b cookies.txt https://specify.example.org/export/list_export_datasets/Response:
[
{
"id": 1,
"exportName": "CAS Ichthyology",
"fileName": "cas_ich.zip",
"isRss": true,
"frequency": 7,
"coreMappingId": 1,
"collectionId": 4,
"lastExported": "2026-03-20T10:00:00+00:00"
}
]Deep-copy a schema mapping and its underlying query. Requires schema_mapping.create permission.
curl -X POST -b cookies.txt https://specify.example.org/export/clone_mapping/1/Response:
{
"id": 2,
"name": "Copy of Occurrence Core",
"mappingType": "Core",
"isDefault": false,
"queryId": 43
}Build or rebuild cache tables for an export dataset. Requires export_package.execute permission.
curl -X POST -b cookies.txt https://specify.example.org/export/build_cache/1/Success response:
{
"status": "ok",
"datasetId": 1,
"exportName": "CAS Ichthyology"
}Error response (400):
{
"error": "Error description"
}Generate a DwCA export from a legacy definition app resource. Requires dwca.execute permission. Runs asynchronously; a notification is sent on completion.
curl -X POST -b cookies.txt \
-d "definition=DwCADefinition" \
-d "metadata=EmlMetadata" \
https://specify.example.org/export/make_dwca/Force-update all export feed items (both legacy and v2 datasets). Requires feed.force_update permission. Runs asynchronously.
curl -X POST -b cookies.txt https://specify.example.org/export/force_update/RSS feed of all published DwC-A exports. Includes items from both the legacy ExportFeed app resource and ExportDataSet records where isRss=True.
curl https://specify.example.org/export/rss/Returns XML in RSS 2.0 format with ipt:eml extensions for GBIF compatibility.
Extract EML metadata from a hosted DwCA zip file.
curl https://specify.example.org/export/extract_eml/cas_ich.zipReturn an XML snippet for creating a DwCA definition from a saved query.
curl -b cookies.txt https://specify.example.org/export/extract_query/42/Update all RSS-enabled ExportDataSet records that are due for refresh.
python manage.py update_feed_v2
python manage.py update_feed_v2 --force