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

Example

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