Metadata APIs
Activate Metadata Node
OVERVIEW
Overview
Activate a metadata node within Publisher
This API call is used to activate a metadata node within the system. The metadata node identifier is the id or name of the metadata node.
Since v5.1
HTTP Request
POST /api/2/metadata/<ID>/activate
OR
POST /api/2/metadata/<NAME>/activate
URL Parameters
Parameter | Description |
---|---|
ID | The ID of the metadata node to activate |
NAME | The name of the metadata node to activate |
HTTP Request Object
No data is passed in the HTTP Request
HTTP Headers
HTTP Request Header | Description | Example |
---|---|---|
Authorization | The API Authorisation token. | "Bearer XXXXXXXXXXXXX" |
Accept |
The format of the expected response.
If no parameter is set, JSON is the default response given. |
"application/xml" |
HTTP Response
Success
HTTP response 200 with Metadata summary Object
(Example below)
Error
Example HTTP Request & Response
POST http://example.com/context/api/2/metadata/3/activate
JSON Response
{
"metadata": {
"id": 3,
"name": "Risk rating",
"link": "http://example.com/context/api/2/metadata/3"
}
}
Last Updated: Nov 08,2024
Comments
0 Comments