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

Example

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