Restore a library from trash
Changed onRestores a previously-trashed library so it reappears in default list/search results. Works as long as the library row still exists — once get_library returns 404 the row is gone and restore is no longer possible. If the background drain has already started purging assets, restore succeeds but recovers only the assets the drain hasn't gotten to yet.
Pairs with trash_library. To restore individual trashed assets within an untrashed library, use restore_assets instead.
Request
- Base URL: https://api.gumnut.ai
- URL: https://api.gumnut.ai/api/libraries/{library_id}/restore
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
Library ID (with lib_ prefix) of the trashed library to restore.
Response
Successful Response
Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info
- breaking
response property
detaillist-of-types was widened by adding typesstringto media typeapplication/jsonof response422 - info
the response property
became required for the status
- breaking