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

Example

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