Get Load/Purge Regions

Retrieves a list of load/purge regions. Load/purge regions may be used to selectively apply a load or purge request to specific region(s).

Request

A request to retrieve a list of load/purge regions is described below.

HTTP Method Request URI

GET

https://api.transactcdn.com/v2/mcc/lpqregions?mediaTypes=14

Request Headers

This endpointIdentifies a request's connection point to our REST API service. only takes advantage of common request headers.

Request Body

Request body parameters are not required by this endpoint.

Response

The response to the above request includes an HTTP status code, response headers, and a response body.

Status Code

A status code indicates whether the request was successfully performed.

Response Headers

The response for this endpoint only includes standard HTTP response headers.

View common response headers.

Response Body

The response body for a successful request contains the following response parameters for each region returned by this endpoint:

Name Data Type Description

EdgeNodes

Array

Lists each POP (i.e., edge node) associated with the current region.

Code

String

EdgeNodes array

Identifies by a POP by its three-letter abbreviation.

Id

Integer

EdgeNodes array

Identifies a POP by its system-defined ID.

Id

Integer

Identifies a region by its system-defined ID.

Name

String

Identifies a region by its name.

Errors

The response body for an unsuccessful request may contain an error parameter that provides additional information.

View common error messages.

Sample Request and Response (JSON)

A sample JSON request is shown below.

GET https://api.transactcdn.com/v2/mcc/lpqregions?mediaTypes=14 HTTP/1.1

Authorization: TOK:12345678-1234-1234-1234-1234567890ab

Accept: application/json

Host: api.transactcdn.com

A sample JSON response is shown below.

HTTP/1.1 200 OK

Cache-Control: private

Content-Type: application/json; charset=utf-8

Date:Thu, 15 Apr 2021 12:00:00 GMT

Content-Length: 4091

[{
		"EdgeNodes" : [{
				"Code" : "CPZ",
				"Id" : 3
			}, {
				"Code" : "MIZ",
				"Id" : 13
			}, {
				"Code" : "ATZ",
				"Id" : 14
			}, {
				"Code" : "FTZ",
				"Id" : 15
			}, {
				"Code" : "DCZ",
				"Id" : 16
			}, {
				"Code" : "JFZ",
				"Id" : 17
			}, {
				"Code" : "MDZ",
				"Id" : 18
			}, {
				"Code" : "SEZ",
				"Id" : 19
			}, {
				"Code" : "SJZ",
				"Id" : 20
			}, {
				"Code" : "EWZ",
				"Id" : 28
			}
		],
		"Id" : 1,
		"Name" : "North America"
	}, {
		"EdgeNodes" : [{
				"Code" : "MIZ",
				"Id" : 13
			}, {
				"Code" : "ATZ",
				"Id" : 14
			}, {
				"Code" : "DCZ",
				"Id" : 16
			}, {
				"Code" : "JFZ",
				"Id" : 17
			}, {
				"Code" : "EWZ",
				"Id" : 28
			}
		],
		"Id" : 2,
		"Name" : "US: Eastern Time Zone"
	}, {
		"EdgeNodes" : [{
				"Code" : "FTZ",
				"Id" : 15
			}, {
				"Code" : "MDZ",
				"Id" : 18
			}
		],
		"Id" : 3,
		"Name" : "US: Central Time Zone"
	}, {
		"EdgeNodes" : [{
				"Code" : "CPZ",
				"Id" : 3
			}, {
				"Code" : "SEZ",
				"Id" : 19
			}, {
				"Code" : "SJZ",
				"Id" : 20
			}
		],
		"Id" : 4,
		"Name" : "US: Pacific Time Zone"
	}, {
		"EdgeNodes" : [{
				"Code" : "AMZ",
				"Id" : 6
			}, {
				"Code" : "AMY",
				"Id" : 7
			}, {
				"Code" : "MAZ",
				"Id" : 8
			}, {
				"Code" : "LHZ",
				"Id" : 9
			}, {
				"Code" : "ARZ",
				"Id" : 10
			}, {
				"Code" : "ORZ",
				"Id" : 11
			}, {
				"Code" : "FCZ",
				"Id" : 21
			}
		],
		"Id" : 5,
		"Name" : "Europe"
	}, {
		"EdgeNodes" : [{
				"Code" : "SYZ",
				"Id" : 22
			}, {
				"Code" : "NRZ",
				"Id" : 23
			}, {
				"Code" : "HHZ",
				"Id" : 24
			}, {
				"Code" : "SIZ",
				"Id" : 25
			}
		],
		"Id" : 6,
		"Name" : "Asia"
	}
]

Sample Request and Response (XML)

A sample XML request is shown below.

GET https://api.transactcdn.com/v2/mcc/lpqregions?mediaTypes=14 HTTP/1.1

Authorization: TOK:12345678-1234-1234-1234-1234567890ab

Accept: application/xml

Host: api.transactcdn.com

A sample XML response is shown below.

HTTP/1.1 200 OK

Cache-Control: private

Content-Type: application/xml; charset=utf-8

Date:Thu, 15 Apr 2021 12:00:00 GMT

Content-Length: 2194

<ArrayOfEdgeNodeRegion xmlns="http://www.whitecdn.com/schemas/apiservices/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
	<EdgeNodeRegion>
		<EdgeNodes>
			<EdgeNode>
				<Code>CPZ</Code>
				<Id>3</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>MIZ</Code>
				<Id>13</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>ATZ</Code>
				<Id>14</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>FTZ</Code>
				<Id>15</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>DCZ</Code>
				<Id>16</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>JFZ</Code>
				<Id>17</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>MDZ</Code>
				<Id>18</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>SEZ</Code>
				<Id>19</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>SJZ</Code>
				<Id>20</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>EWZ</Code>
				<Id>28</Id>
			</EdgeNode>
		</EdgeNodes>
		<Id>1</Id>
		<Name>North America</Name>
	</EdgeNodeRegion>
	<EdgeNodeRegion>
		<EdgeNodes>
			<EdgeNode>
				<Code>MIZ</Code>
				<Id>13</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>ATZ</Code>
				<Id>14</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>DCZ</Code>
				<Id>16</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>JFZ</Code>
				<Id>17</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>EWZ</Code>
				<Id>28</Id>
			</EdgeNode>
		</EdgeNodes>
		<Id>2</Id>
		<Name>US: Eastern Time Zone</Name>
	</EdgeNodeRegion>
	<EdgeNodeRegion>
		<EdgeNodes>
			<EdgeNode>
				<Code>FTZ</Code>
				<Id>15</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>MDZ</Code>
				<Id>18</Id>
			</EdgeNode>
		</EdgeNodes>
		<Id>3</Id>
		<Name>US: Central Time Zone</Name>
	</EdgeNodeRegion>
	<EdgeNodeRegion>
		<EdgeNodes>
			<EdgeNode>
				<Code>CPZ</Code>
				<Id>3</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>SEZ</Code>
				<Id>19</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>SJZ</Code>
				<Id>20</Id>
			</EdgeNode>
		</EdgeNodes>
		<Id>4</Id>
		<Name>US: Pacific Time Zone</Name>
	</EdgeNodeRegion>
	<EdgeNodeRegion>
		<EdgeNodes>
			<EdgeNode>
				<Code>AMZ</Code>
				<Id>6</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>AMY</Code>
				<Id>7</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>MAZ</Code>
				<Id>8</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>LHZ</Code>
				<Id>9</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>ARZ</Code>
				<Id>10</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>ORZ</Code>
				<Id>11</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>FCZ</Code>
				<Id>21</Id>
			</EdgeNode>
		</EdgeNodes>
		<Id>5</Id>
		<Name>Europe</Name>
	</EdgeNodeRegion>
	<EdgeNodeRegion>
		<EdgeNodes>
			<EdgeNode>
				<Code>SYZ</Code>
				<Id>22</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>NRZ</Code>
				<Id>23</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>HHZ</Code>
				<Id>24</Id>
			</EdgeNode>
			<EdgeNode>
				<Code>SIZ</Code>
				<Id>25</Id>
			</EdgeNode>
		</EdgeNodes>
		<Id>6</Id>
		<Name>Asia</Name>
	</EdgeNodeRegion>
</ArrayOfEdgeNodeRegion>