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

Example

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