Get POPs

Description

Returns a list of PoPs (Points of Presence). Each PoP has a unique identification number. Pagination is disabled.

Request

HTTP Method: GET

URI Path: /v3/pops

Example

http

GET /v3/pops HTTP/1.1
Host: api.didww.com
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
Api-Key: [API token]

curl

curl -i https://api.didww.com/v3/pops -H 'Accept: application/vnd.api+json' -H 'Api-Key: [API token]' -H 'Content-Type: application/vnd.api+json'

response

HTTP/1.1 200 OK
Content-Type: application/vnd.api+json

{
  "data": [
    {
      "id": "f5ffe21a-7b8f-4404-928f-88522d9bf153",
      "type": "pops",
      "attributes": {
        "name": "USA, NY"
      }
    },
    {
      "id": "c4c214f5-5f70-4f8d-8ebe-2aa203bfdd0b",
      "type": "pops",
      "attributes": {
        "name": "DE, FRA"
      }
    }
  ],
  "meta": {
    "total_records": 2
  },
  "links": {
    "first": "https://api.didww.com/v3/pops?&page%5Bnumber%5D=1&page%5Bsize%5D=1000",
    "next": "https://api.didww.com/v3/pops?&page%5Bnumber%5D=1&page%5Bsize%5D=1000"
  }
}

Other Responses

Code

Success

Description

401

No

Unauthorized