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

Example

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