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

Example

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