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
date number  
cookies map of NewCookie  
stringHeaders map of array of string  
closed boolean required boolean
lastModified number  
status number required int
entity object  
allowedMethods array of string  
length number required int
links array of Link  
mediaType MediaType  
entityTag EntityTag  
metadata map of array of object  
headers map of array of object  
statusInfo StatusType  
language string  
location string  

Example

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