From your top-account you can use account/trash command in order to list trash content or/and restore items from trash:
svc=account/trash¶ms={"callMode":<text>, "guids":[<text>]}
Param | Description |
---|---|
callMode | action: list, restore |
guids | item guids for restoring (actual for restore callmode) |
Attention: deleted item cannot be restored earlier than 20 mins of being in trash bin.
While listing trash bin items:
{ "code":<uint>, "items": [ { "guid":<text>, /* guid */ "name":<text>, /* item name */ "tm":<uint>, /* time if deletion */ "type":<text> /* type (ex. "avl_resource") */ }, ... ] }
After restore callmode:
{ "code":<uint>, "items": [ { "name":<text>, /* item name */ "result":<bool>, /* result: 1 - success, 0 - failure */ "type":<text> /* item type */ }, ... ] }
|