Response Data Type

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

Example

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