v1
latestOpenAPI 3.0.02026-07-1717466209.0 KBPublish projects
Publish project metadata
Publishes project metadata to a NADA catalog. The server loads the exported project JSON (generated for the project), then merges each property from the request body into that object as top-level keys. The combined JSON is sent to the catalog as POST {catalog_url}/index.php/api/datasets/create/{type} with header x-api-key, where {type} is derived from the project (e.g. survey, timeseries, timeseries-db). Typical merge fields from the Metadata Editor UI are overwrite, published, access_policy, data_remote_url, and repositoryid (see schema). Omit the body or send {} to publish without overriding those fields.
post/publish/{sid}/{catalog_connection_id}
Path parameters
sidstring required
Project ID or IDNO
catalog_connection_idinteger required
Catalog connection ID
Request body
Example request
{
"overwrite": "yes",
"published": 1,
"access_policy": "licensed",
"data_remote_url": "",
"repositoryid": "MY_COLLECTION"
}Response
Project metadata published successfully (response shape follows NADA API)