Response Data Type

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

Example

{
  "entityTag" : {
    "value" : "...",
    "weak" : true
  },
  "allowedMethods" : [ "...", "..." ],
  "location" : "...",
  "statusInfo" : {
    "statusCode" : 12345,
    "family" : "SERVER_ERROR",
    "reasonPhrase" : "..."
  },
  "status" : 12345,
  "cookies" : {
    "property1" : {
      "httpOnly" : true,
      "expiry" : 12345,
      "secure" : true,
      "comment" : "...",
      "maxAge" : 12345,
      "name" : "...",
      "domain" : "...",
      "path" : "...",
      "value" : "...",
      "version" : 12345
    },
    "property2" : {
      "httpOnly" : true,
      "expiry" : 12345,
      "secure" : true,
      "comment" : "...",
      "maxAge" : 12345,
      "name" : "...",
      "domain" : "...",
      "path" : "...",
      "value" : "...",
      "version" : 12345
    }
  },
  "entity" : { },
  "headers" : {
    "property1" : [ { }, { } ],
    "property2" : [ { }, { } ]
  },
  "length" : 12345,
  "links" : [ {
    "uriBuilder" : { },
    "rels" : [ "...", "..." ],
    "rel" : "...",
    "type" : "...",
    "title" : "...",
    "uri" : "...",
    "params" : {
      "property1" : "...",
      "property2" : "..."
    }
  }, {
    "uriBuilder" : { },
    "rels" : [ "...", "..." ],
    "rel" : "...",
    "type" : "...",
    "title" : "...",
    "uri" : "...",
    "params" : {
      "property1" : "...",
      "property2" : "..."
    }
  } ],
  "lastModified" : 12345,
  "language" : "...",
  "metadata" : {
    "property1" : [ { }, { } ],
    "property2" : [ { }, { } ]
  },
  "stringHeaders" : {
    "property1" : [ "...", "..." ],
    "property2" : [ "...", "..." ]
  },
  "mediaType" : {
    "parameters" : {
      "property1" : "...",
      "property2" : "..."
    },
    "type" : "...",
    "wildcardType" : true,
    "subtype" : "...",
    "wildcardSubtype" : true
  },
  "date" : 12345
}