Response Data Type

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

Example

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