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

Example

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