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

Example

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