Response Data Type

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

Example

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