Restore a branch to a point in its history
Authorization
bearer In: header
Path Parameters
Database id
uuidBranch id
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
The point in the branch's history to rewind to.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/databases/497f6eca-6276-4993-bfeb-53cbbbba6f08/branches/497f6eca-6276-4993-bfeb-53cbbbba6f08/restore" \ -H "Content-Type: application/json" \ -d '{ "at": { "timestamp": "2019-08-24T14:15:22Z" } }'{ "backup_branch_id": "3b1db78f-a964-4a2d-8683-6ed743bf5f8e", "backup_name": "string", "status": "string"}Reset a branch to its parent POST
Previous Page
Review the code that can run in someone else's session GET
The worker scans every live database of the branch, as `cloud_admin`, for code owned by a non-Admin role that can run in someone else's session (an Admin's included): triggers whose function or table such a role owns, rules on its relations, and its functions that are SECURITY DEFINER or reached from a policy, a default or generated column, a check, an index, a view, a trigger, a rule, a range type or another such function. Each item has a stable `key`, its `reasons`, and `new` when a list was acknowledged that didn't hold it. `hash` is what protecting (`review_hash`), acknowledging and fixing confirm. Needs the branch's compute running.