{ "opencollection": "1.0.0", "info": { "name": "Numbers Batch Date API", "version": "1.0.0" }, "items": [ { "info": { "name": "Date", "type": "folder" }, "items": [ { "info": { "name": "Numbers API Get Random Date Fact", "type": "http" }, "http": { "method": "GET", "url": "http://numbersapi.com/random/date", "params": [ { "name": "json", "value": "true", "type": "query", "description": "Return the fact as a JSON object (`{ text, found, number, type, date?, year? }`) instead of plain text. Equivalent to setting the request `Content-Type: application/json` header." }, { "name": "fragment", "value": "true", "type": "query", "description": "Return the fact as a sentence fragment (lowercase, no terminal punctuation) suitable for embedding in a larger sentence." }, { "name": "notfound", "value": "floor", "type": "query", "description": "Behavior when no fact exists for the requested number. `default` returns a generic message (overridable with `default`), `floor` rounds down to the nearest number with a fact, and `ceil` rounds up." }, { "name": "default", "value": "Boring number is boring.", "type": "query", "description": "Custom message to return when no fact exists for the requested number." }, { "name": "callback", "value": "showNumber", "type": "query", "description": "JSONP callback function name. The response is wrapped as `(\"\")`." }, { "name": "write", "value": "true", "type": "query", "description": "Wrap the response in `document.write(\"\")` so a single `