{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Check whether an app can be rolled back to a specific deployment. This endpoint can also be used\nto check if there are any warnings or validation conditions that will cause the rollback to proceed\nunder unideal circumstances. For example, if a component must be rebuilt as part of the rollback\ncausing it to take longer than usual.\n","properties":{"path":{"type":"object","properties":{"app_id":{"type":"string","examples":["4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf"],"description":"The app ID"}},"required":["app_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/apps_rollback_app_request"}},"required":["path","body"],"additionalProperties":false,"definitions":{"apps_rollback_app_request":{"type":"object","properties":{"deployment_id":{"type":"string","description":"The ID of the deployment to rollback to.","examples":["3aa4d20e-5527-4c00-b496-601fbd22520a"]},"skip_pin":{"type":"boolean","description":"Whether to skip pinning the rollback deployment. If false, the rollback deployment will be pinned and any new deployments including Auto Deploy on Push hooks will be disabled until the rollback is either manually committed or reverted via the CommitAppRollback or RevertAppRollback endpoints respectively. If true, the rollback will be immediately committed and the app will remain unpinned.","examples":[false]}}}}},"name":"Validate App Rollback","id":"digitalocean.apps_validate_rollback","example":{"path":{"app_id":"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf"},"body":{}},"maxRequests":1,"summary":false}}