v1

latestOpenAPI 3.0.02026-07-1717466209.0 KB
Publish projects

Get NADA catalog info for publish form

Fetches data used to populate the publish UI: study record from the target NADA catalog (if the study IDNO exists), list of collections, allowed data-access codes, and collections already linked to the study. Calls the configured catalog base URL with the stored API key — e.g. GET .../index.php/api/collections, GET .../index.php/api/catalog/data_access_codes, GET .../api/datasets/{idno}, GET .../api/datasets/collections/{idno}.

get/publish/catalog_info/{sid}/{catalog_connection_id}

Path parameters

sidstring required

Project ID (internal Metadata Editor project id)

catalog_connection_idinteger required

Catalog connection ID (from list catalog connections)

Response

Catalog information for the publish form

study_infoobject

Outcome of GET {catalog}/index.php/api/datasets/{study_idno}. On success, normalized fields from dataset (without embedded metadata) plus status: success. On failure, includes status (error or failed), error message, optional response, and api_url.

collections_codesobject[]

Entries from NADA GET .../index.php/api/collections (collections array)

data_access_codesobject[]

Codes from NADA GET .../index.php/api/catalog/data_access_codes (codes array); used to populate the data access / access_policy control.

collections_linkedobject[]

Collections already associated with the study from NADA GET .../index.php/api/datasets/collections/{study_idno} (normalized list).