{ "opencollection": "1.0.0", "info": { "name": "Box Authorize Authorization Trashed Web Links API", "version": "1.0" }, "items": [ { "info": { "name": "Trashed Web Links", "type": "folder" }, "items": [ { "info": { "name": "Box Restore web link", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/web_links/:web_link_id", "params": [ { "name": "web_link_id", "value": "12345", "type": "path", "description": "The ID of the web link." }, { "name": "fields", "value": "id,type,name", "type": "query", "description": "A comma-separated list of attributes to include in the\nresponse. This can be used to request fields that are\nnot normally returned in a standard response.\n\nBe aware that specifying this parameter will have the\neffect that none of the standard fields are returned in\nthe response unless explicitly specified, instead only\nfields for the mini representation are returned, additional\nto the fields requested." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Restores a web link that has been moved to the trash.\n\nAn optional new parent ID can be provided to restore the web link to in case\nthe original folder has been deleted." }, { "info": { "name": "Box Get trashed web link", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/web_links/:web_link_id/trash", "params": [ { "name": "web_link_id", "value": "12345", "type": "path", "description": "The ID of the web link." }, { "name": "fields", "value": "id,type,name", "type": "query", "description": "A comma-separated list of attributes to include in the\nresponse. This can be used to request fields that are\nnot normally returned in a standard response.\n\nBe aware that specifying this parameter will have the\neffect that none of the standard fields are returned in\nthe response unless explicitly specified, instead only\nfields for the mini representation are returned, additional\nto the fields requested." } ] }, "docs": "Retrieves a web link that has been moved to the trash." }, { "info": { "name": "Box Permanently remove web link", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/web_links/:web_link_id/trash", "params": [ { "name": "web_link_id", "value": "12345", "type": "path", "description": "The ID of the web link." } ] }, "docs": "Permanently deletes a web link that is in the trash.\nThis action cannot be undone." } ] } ], "bundled": true }