Response Data Type

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

Example

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