Response Data Type

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

Example

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