| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- {
- "name": "verify-config-defaults-ttl-zero-http-request",
- "settings": {
- "storagePermissions": {
- "collections": {
- "ttl0_download_probe": "read-write",
- "files": "read-write"
- }
- }
- },
- "nodes": [
- {
- "id": "n1",
- "name": "Trigger",
- "type": "click-trigger",
- "position": {
- "x": 0,
- "y": 0
- },
- "config": {}
- },
- {
- "id": "dl",
- "name": "Download",
- "type": "http-request",
- "position": {
- "x": 0,
- "y": 100
- },
- "config": {
- "method": "GET",
- "url": "{{API}}/index.html",
- "responseMode": "binary",
- "storeDownload": true,
- "downloadCollection": "ttl0_download_probe",
- "downloadTtlHours": 0
- }
- }
- ],
- "connections": [
- {
- "sourceNodeId": "n1",
- "sourceOutput": "main",
- "targetNodeId": "dl",
- "targetInput": "data"
- }
- ],
- "expect": {
- "dl": {
- "status": "completed",
- "output": {
- "storage": {
- "collection": "ttl0_download_probe"
- }
- }
- }
- },
- "_comment": "The bytes of a stored download go to the file store now, not into the document - so this needs write access to \"files\" as well as to the collection. A document that carried its own base64 made a listing of twenty-five downloads 54 MB."
- }
|