{ "opencollection": "1.0.0", "info": { "name": "Lightrun Actions Watched packages API", "version": "v1" }, "items": [ { "info": { "name": "Watched packages", "type": "folder" }, "items": [ { "info": { "name": "Get a list of all watched packages", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8090/api/v1/watched-packages", "params": [ { "name": "page", "value": "", "type": "query", "description": "Zero-based page index (0..N)" }, { "name": "size", "value": "", "type": "query", "description": "The size of the page to be returned" }, { "name": "sort", "value": "", "type": "query", "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get a list of all watched packages.\n\n**Required API permission level:** `SECURITY`" }, { "info": { "name": "Add one or more packages to the watched packages", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:8090/api/v1/watched-packages", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Add one or more packages to the watched packages.\n\n**Required API permission level:** `SECURITY`" }, { "info": { "name": "Remove one or more packages from the watch list", "type": "http" }, "http": { "method": "DELETE", "url": "http://localhost:8090/api/v1/watched-packages", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Remove one or more packages from the watch list.\n\n**Required API permission level:** `SECURITY`" }, { "info": { "name": "Update a watched package", "type": "http" }, "http": { "method": "PUT", "url": "http://localhost:8090/api/v1/watched-packages/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the watched package to update." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a watched package.\n\n**Required API permission level:** `SECURITY`" } ] } ], "bundled": true }