Response Data Type

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

Example

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