Response Data Type

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

Example

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