D4Science D4Science Don't have a D4Science account? Create one Could not find what you are looking for? Contact us.

Response Data Type

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

Example

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