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

Example

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