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

Example

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