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

Example

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