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

Example

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