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.
Path parameters
Project ID or IDNO
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)
Changes
Changed in 2 of the 12 revisions of this API.46
- ▲
removed the enum value
data_enclaveof the request propertyrequest-property-enum-value-removed
- ▲
the
request property format changed from no format toint32request-property-type-changed
- ○
the
request property default valuedata_nawas addedrequest-property-default-value-added
- ○
added the new
enum value to the request propertyrequest-property-enum-value-added
- ○
added the new
enclaveenum value to the request propertyrequest-property-enum-value-added
- ▲
- ▲
removed the enum value
of the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
enclaveof the request propertyrequest-property-enum-value-removed
- ○
the
request property default valuedata_nawas removedrequest-property-default-value-removed
- ○
added the new
data_enclaveenum value to the request propertyrequest-property-enum-value-added
- ○
the
request property format was generalized fromint32to no formatrequest-property-type-generalized
This revision also has 37 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲