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

Example

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