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

Example

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