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

Example

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