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

Example

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