{ "opencollection": "1.0.0", "info": { "name": "lakeFS actions repositories API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "repositories", "type": "folder" }, "items": [ { "info": { "name": "list repositories", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/repositories", "params": [ { "name": "prefix", "value": "", "type": "query", "description": "return items prefixed with this value" }, { "name": "after", "value": "", "type": "query", "description": "return items after this value" }, { "name": "amount", "value": "", "type": "query", "description": "how many items to return" }, { "name": "search", "value": "", "type": "query", "description": "string for searching relevant entries" } ] }, "docs": "list repositories" }, { "info": { "name": "create repository", "type": "http" }, "http": { "method": "POST", "url": "/api/v1/repositories", "params": [ { "name": "bare", "value": "", "type": "query", "description": "If true, create a bare repository with no initial commit and branch" } ], "body": { "type": "json", "data": "{}" } }, "docs": "create repository" }, { "info": { "name": "get repository", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/repositories/:repository", "params": [ { "name": "repository", "value": "", "type": "path" } ] }, "docs": "get repository" }, { "info": { "name": "delete repository", "type": "http" }, "http": { "method": "DELETE", "url": "/api/v1/repositories/:repository", "params": [ { "name": "repository", "value": "", "type": "path" }, { "name": "force", "value": "", "type": "query", "description": "Bypass read-only protection and delete the repository" } ] }, "docs": "delete repository" }, { "info": { "name": "get repository metadata", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/repositories/:repository/metadata", "params": [ { "name": "repository", "value": "", "type": "path" } ] }, "docs": "get repository metadata" }, { "info": { "name": "get repository GC rules", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/repositories/:repository/settings/gc_rules", "params": [ { "name": "repository", "value": "", "type": "path" } ] }, "docs": "get repository GC rules" }, { "info": { "name": "setGCRules", "type": "http" }, "http": { "method": "PUT", "url": "/api/v1/repositories/:repository/settings/gc_rules", "params": [ { "name": "repository", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } } }, { "info": { "name": "deleteGCRules", "type": "http" }, "http": { "method": "DELETE", "url": "/api/v1/repositories/:repository/settings/gc_rules", "params": [ { "name": "repository", "value": "", "type": "path" } ] } }, { "info": { "name": "get branch protection rules", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/repositories/:repository/settings/branch_protection", "params": [ { "name": "repository", "value": "", "type": "path" } ] }, "docs": "get branch protection rules" }, { "info": { "name": "setBranchProtectionRules", "type": "http" }, "http": { "method": "PUT", "url": "/api/v1/repositories/:repository/settings/branch_protection", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "repository", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } } }, { "info": { "name": "Status of a repository dump task", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/repositories/:repository/dump", "params": [ { "name": "repository", "value": "", "type": "path" }, { "name": "task_id", "value": "", "type": "query" } ] }, "docs": "Status of a repository dump task" }, { "info": { "name": "Backup the repository metadata (tags, commits, branches) and save the backup to the object store.", "type": "http" }, "http": { "method": "POST", "url": "/api/v1/repositories/:repository/dump", "params": [ { "name": "repository", "value": "", "type": "path" } ] }, "docs": "Backup the repository metadata (tags, commits, branches) and save the backup to the object store." }, { "info": { "name": "Status of a restore request", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/repositories/:repository/restore", "params": [ { "name": "repository", "value": "", "type": "path" }, { "name": "task_id", "value": "", "type": "query" } ] }, "docs": "Status of a restore request" }, { "info": { "name": "Restore repository from a dump in the object store", "type": "http" }, "http": { "method": "POST", "url": "/api/v1/repositories/:repository/restore", "params": [ { "name": "repository", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Restore repository from a dump in the object store" } ] } ], "bundled": true }