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

Example

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