Response Data Type

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

Example

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