Restores a web link that has been moved to the trash.
An optional new parent ID can be provided to restore the web link to in case the original folder has been deleted.
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the web link.
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.
An optional new name for the web link.
"Restored.docx"
Specifies an optional ID of a folder to restore the web link to when the original folder no longer exists.
Please be aware that this ID will only be used if the original folder no longer exists. Use this ID to provide a fallback location to restore the web link to if the original location has been deleted.
Returns a web link object when it has been restored.
Represents a web link restored from the trash.
A numeric identifier that represents the most recent user event that has been applied to this item.
This can be used in combination with the GET /events-endpoint
to filter out user events that would have occurred before this
identifier was read.
An example would be where a Box Drive-like application
would fetch an item via the API, and then listen to incoming
user events for changes to the item. The application would
ignore any user events where the sequence_id in the event
is smaller than or equal to the sequence_id in the originally
fetched resource.
"3"
The tree of folders that this web link is contained in, starting at the root.
The value will always be web_link.
web_link "web_link"
The unique identifier for this web link.
"11446498"
The entity tag of this web link. Used with If-Match
headers.
"1"
The name of the web link.
"My Bookmark"
The URL this web link points to.
"https://www.example.com/example/1234"
The parent object the web link belongs to.
The description accompanying the web link. This is visible within the Box web application.
"Example page"
When this file was created on Box’s servers.
"2012-12-12T10:53:43-08:00"
When this file was last updated on the Box servers.
"2012-12-12T10:53:43-08:00"
The time at which this bookmark was put in the
trash - becomes null after restore.
null
The time at which this bookmark will be permanently
deleted - becomes null after restore.
null
The user who created this web link.
The user who last modified this web link.
The user who owns this web link.
The shared link for this bookmark. This will
be null if a bookmark had been trashed, even though the original shared
link does become active again.
null
Whether this item is deleted or not. Values include active,
trashed if the file has been moved to the trash, and deleted if
the file has been permanently deleted.
active, trashed, deleted "trashed"