Response Data Type

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

Example

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