{ "opencollection": "1.0.0", "info": { "name": "SVN WebDAV HTTP Commits API", "version": "1.0.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Commits", "type": "folder" }, "items": [ { "info": { "name": "Upload File Content", "type": "http" }, "http": { "method": "PUT", "url": "https://svn.example.com/repos/{repository}/:path", "headers": [ { "name": "X-SVN-Base-Fulltext-MD5", "value": "" }, { "name": "X-SVN-Result-Fulltext-MD5", "value": "" } ], "params": [ { "name": "path", "value": "", "type": "path" } ] }, "docs": "Upload file content as part of an active commit transaction. The working resource URL is obtained from a prior CHECKOUT response. Requires an active MKACTIVITY transaction." }, { "info": { "name": "Delete File or Directory", "type": "http" }, "http": { "method": "DELETE", "url": "https://svn.example.com/repos/{repository}/:path", "params": [ { "name": "path", "value": "", "type": "path" } ] }, "docs": "Delete a file or directory as part of an active commit transaction. The resource is scheduled for deletion and removed on MERGE." }, { "info": { "name": "Create Commit Transaction", "type": "http" }, "http": { "method": "POST", "url": "https://svn.example.com/repos/{repository}/$svn/act/", "headers": [ { "name": "X-SVN-Options", "value": "" } ] }, "docs": "MKACTIVITY — creates a new commit transaction (activity) on the server. Returns a URL to the activity resource used in subsequent CHECKOUT and MERGE requests. This is the first step of every SVN commit." }, { "info": { "name": "Abort Commit Transaction", "type": "http" }, "http": { "method": "DELETE", "url": "https://svn.example.com/repos/{repository}/$svn/act/:txn-id", "params": [ { "name": "txn-id", "value": "", "type": "path", "description": "Transaction ID from MKACTIVITY" } ] }, "docs": "Abort an in-progress commit transaction by deleting the activity resource. This rolls back all staged changes." } ] } ], "bundled": true }