List Websites

Request

GET /v2/customers/100/websites HTTP/1.1
Authorization: Bearer oauth_token

Path Parameters

/v2/customers/{customerId}/websites

Response

HTTP/1.1 200 OK
Content-Type: application/hal+json

{
  "_embedded" : {
    "websites" : [ {
      "id" : 1,
      "value" : "https://github.com",
      "_links" : {
        "self" : {
          "href" : "..."
        }
      }
    }, {
      "id" : 2,
      "value" : "http://www.somewhere.com",
      "_links" : {
        "self" : {
          "href" : "..."
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "..."
    }
  }
}

Response fields

Path Type Description
_embedded.websites Array List of Website objects