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

Example

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