Get trashed web link
Changed onRetrieves a web link that has been moved to the trash.
Request
- Base URLhttps://api.box.com/2.0
- URLhttps://api.box.com/2.0/web_links/{web_link_id}/trash
- AuthOAuth 2Authorization code: https://account.box.com/api/oauth2/authorizeToken URL: https://api.box.com/oauth2/token
Path parameters
The ID of the web link.
Query parameters
A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response.
Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
Response
Returns the web link that was trashed, including information about when the it was moved to the trash.
Example response
{
"type": "web_link",
"id": "11446498",
"sequence_id": "3",
"etag": "1",
"name": "My Bookmark",
"url": "https://www.example.com/example/1234",
"parent": {
"id": "12345",
"etag": "1",
"type": "folder",
"sequence_id": "3",
"name": "Contracts"
},
"description": "Example page",
"path_collection": {
"total_count": 1,
"entries": [
{
"type": "folder",
"id": "123456789",
"name": "Trash"
}
]
},
"created_at": "2012-12-12T10:53:43-08:00",
"modified_at": "2012-12-12T10:53:43-08:00",
"trashed_at": "2012-12-12T10:53:43-08:00",
"purged_at": "2012-12-12T10:53:43-08:00",
"created_by": {
"id": "11446498",
"type": "user",
"name": "Aaron Levie",
"login": "ceo@example.com"
},
"modified_by": {
"id": "11446498",
"type": "user",
"name": "Aaron Levie",
"login": "ceo@example.com"
},
"owned_by": {
"id": "11446498",
"type": "user",
"name": "Aaron Levie",
"login": "ceo@example.com"
},
"item_status": "trashed"
}Changes
- warning
added the new
unprocessable_entityenum value to theresponse property for the response status - warning
added the new
unprocessable_entityenum value to theresponse property for the response status
- warning