Response Data Type

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

Example

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