Response Data Type

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

Example

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