Exception Domain APIs

Pending Exception Domain

OVERVIEW

Overview

Mark an exception domain as Pending within Publisher

Since v5.0

 

HTTP Request

POST  /api/2/exceptiondomains/<ID>/pending

OR

POST  /api/2/exceptiondomains/<DOMAIN>/pending

 

URL Parameters
Parameter Description
ID The ID of the exception domain to be marked as pending
DOMAIN The exception domain to be marked as pending

 

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. 

  • "application/json"
  • "application/xml"

If no parameter is set, JSON is the default response given.

"application/xml"

 

HTTP Response

Success

HTTP response 200 with Exception Domain Object 

(Example below)

 

Error

See  API Error messages 

Example HTTP Request & Response

POST http://example.com/context/api/2/exceptiondomain/3/pending

OR

POST http://example.com/context/api/2/exceptiondomain/unknown.com/pending

JSON Response

{

    "domain": {

        "id": 3,

        "url": "unknown.com",

        "status": "Pending"

    }

}

 

 

Comments


0 Comments

Last Updated: Nov 08,2024