Response Data Type

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

Example

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