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

Example

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