|
| 1 | +{ |
| 2 | + "name": "deployments", |
| 3 | + "displayName": "Deployments", |
| 4 | + "description": "Vercel deployments across the account or a selected project, one row per deployment. Backs deployment health and history tiles", |
| 5 | + "tags": ["Deployments"], |
| 6 | + "baseDataSourceName": "httpRequestUnscoped", |
| 7 | + "config": { |
| 8 | + "httpMethod": "get", |
| 9 | + "endpointPath": "v7/deployments", |
| 10 | + "postRequestScript": "deployments.js", |
| 11 | + "getArgs": [ |
| 12 | + { "key": "since", "value": "{{timeframe.unixStart * 1000}}" } |
| 13 | + ], |
| 14 | + "paging": { |
| 15 | + "mode": "token", |
| 16 | + "pageSize": { |
| 17 | + "realm": "queryArg", |
| 18 | + "path": "limit", |
| 19 | + "value": "100" |
| 20 | + }, |
| 21 | + "in": { "realm": "payload", "path": "pagination.next" }, |
| 22 | + "out": { "realm": "queryArg", "path": "until" } |
| 23 | + } |
| 24 | + }, |
| 25 | + "matches": "none", |
| 26 | + "ui": [ |
| 27 | + { |
| 28 | + "type": "objects", |
| 29 | + "name": "project", |
| 30 | + "label": "Project (optional)", |
| 31 | + "matches": { |
| 32 | + "sourceType": { "type": "equals", "value": "Vercel Project" } |
| 33 | + } |
| 34 | + } |
| 35 | + ], |
| 36 | + "metadata": [ |
| 37 | + { |
| 38 | + "name": "uid", |
| 39 | + "displayName": "ID", |
| 40 | + "role": "value", |
| 41 | + "visible": false |
| 42 | + }, |
| 43 | + { "name": "name", "displayName": "Name", "role": "label" }, |
| 44 | + { |
| 45 | + "name": "state", |
| 46 | + "displayName": "State", |
| 47 | + "shape": [ |
| 48 | + "state", |
| 49 | + { |
| 50 | + "map": { |
| 51 | + "success": ["READY"], |
| 52 | + "error": ["ERROR", "CANCELED"], |
| 53 | + "warning": ["BUILDING", "QUEUED", "INITIALIZING"], |
| 54 | + "unknown": ["DELETED"] |
| 55 | + } |
| 56 | + } |
| 57 | + ] |
| 58 | + }, |
| 59 | + { "name": "target", "displayName": "Target" }, |
| 60 | + { "name": "projectId", "displayName": "Project ID", "visible": false }, |
| 61 | + { |
| 62 | + "name": "created", |
| 63 | + "displayName": "Created", |
| 64 | + "shape": "date", |
| 65 | + "role": "timestamp" |
| 66 | + }, |
| 67 | + { "name": "url", "displayName": "Url", "shape": "url" }, |
| 68 | + { |
| 69 | + "name": "inspectorUrl", |
| 70 | + "displayName": "Inspector Url", |
| 71 | + "shape": "url" |
| 72 | + }, |
| 73 | + { "name": "creator", "displayName": "Creator" }, |
| 74 | + { |
| 75 | + "name": "ready", |
| 76 | + "displayName": "Ready", |
| 77 | + "shape": "date", |
| 78 | + "role": "timestamp" |
| 79 | + }, |
| 80 | + { |
| 81 | + "name": "buildingAt", |
| 82 | + "displayName": "Building At", |
| 83 | + "shape": "date", |
| 84 | + "role": "timestamp" |
| 85 | + }, |
| 86 | + { |
| 87 | + "name": "createdAt", |
| 88 | + "displayName": "Created At", |
| 89 | + "shape": "date", |
| 90 | + "role": "timestamp" |
| 91 | + }, |
| 92 | + { "pattern": ".*" } |
| 93 | + ], |
| 94 | + "timeframes": true |
| 95 | +} |
0 commit comments