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

Example

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