Exception Domain APIs
Add Exception Domain
OVERVIEW
Overview
Add a new exception domain to Publisher. This API call is used to add a new exception domain object to the system.
Since v5.0
HTTP Request
POST /api/2/exceptiondomains
HTTP Request Object
Exception Domain Object, either in JSON or XML format.
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" |
Content-Type |
The format of the provided content
If no parameter is set, JSON is the expected content by default. |
"application/json" |
HTTP Response
Success
HTTP response 200 with Exception Domain object
(Example below)
Error
Example HTTP Request & Response
POST http://example.com/context/api/2/exceptiondomains
JSON Request
{
"domain": {
"url": "example.com",
"status": "Archive"
}
}
JSON Response
{
"domain": {
"id": 373,
"url": "example.com",
"status": "Archive"
}
Last Updated: Nov 08,2024
Comments
0 Comments