Response Data Type

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

Example

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