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

Example

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