Response Data Type

Abstract Type
Properties
name data type description
allowedMethods array of string
cookies map of NewCookie
length number
metadata map of array of object
headers map of array of object
links array of Link
stringHeaders map of array of string
statusInfo StatusType
lastModified number
location string
entityTag EntityTag
date number
language string
mediaType MediaType
status number
entity object

Example

This data type is abstract. The example below may be incomplete. More accurate examples can be found in subtypes pages.
{
  "allowedMethods" : [ "...", "..." ],
  "cookies" : {
    "property1" : {
      "secure" : true,
      "version" : 12345,
      "path" : "...",
      "domain" : "...",
      "name" : "...",
      "httpOnly" : true,
      "comment" : "...",
      "expiry" : 12345,
      "maxAge" : 12345,
      "value" : "..."
    },
    "property2" : {
      "secure" : true,
      "version" : 12345,
      "path" : "...",
      "domain" : "...",
      "name" : "...",
      "httpOnly" : true,
      "comment" : "...",
      "expiry" : 12345,
      "maxAge" : 12345,
      "value" : "..."
    }
  },
  "length" : 12345,
  "metadata" : {
    "property1" : [ { }, { } ],
    "property2" : [ { }, { } ]
  },
  "headers" : {
    "property1" : [ { }, { } ],
    "property2" : [ { }, { } ]
  },
  "links" : [ {
    "rel" : "...",
    "params" : {
      "property1" : "...",
      "property2" : "..."
    },
    "uri" : "...",
    "rels" : [ "...", "..." ],
    "type" : "...",
    "title" : "...",
    "uriBuilder" : { }
  }, {
    "rel" : "...",
    "params" : {
      "property1" : "...",
      "property2" : "..."
    },
    "uri" : "...",
    "rels" : [ "...", "..." ],
    "type" : "...",
    "title" : "...",
    "uriBuilder" : { }
  } ],
  "stringHeaders" : {
    "property1" : [ "...", "..." ],
    "property2" : [ "...", "..." ]
  },
  "statusInfo" : {
    "family" : "CLIENT_ERROR",
    "statusCode" : 12345,
    "reasonPhrase" : "..."
  },
  "lastModified" : 12345,
  "location" : "...",
  "entityTag" : {
    "value" : "...",
    "weak" : true
  },
  "date" : 12345,
  "language" : "...",
  "mediaType" : {
    "wildcardType" : true,
    "parameters" : {
      "property1" : "...",
      "property2" : "..."
    },
    "wildcardSubtype" : true,
    "type" : "...",
    "subtype" : "..."
  },
  "status" : 12345,
  "entity" : { }
}