Restore User Documents
On this page
GraphQL endpoint: /user
Restores documents from the calling user's trash. A restored document returns to the repository root with its tags and summary intact.
Query
mutation ($ids: [ID!]!) {
restoreUserDocuments(ids: $ids) {
status
count
}
}
Variables
{
"ids": [
"00000000-0000-4000-8000-000000000001"
]
}
Response
{
"data": {
"restoreUserDocuments": {
"count": 1,
"status": "OK"
}
}
}