{ "opencollection": "1.0.0", "info": { "name": "Lightdash AiAgents Git Files API", "version": "0.3156.1" }, "items": [ { "info": { "name": "Git Files", "type": "folder" }, "items": [ { "info": { "name": "List branches", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/projects/:projectUuid/git/branches", "params": [ { "name": "projectUuid", "value": "", "type": "path" } ] }, "docs": "List branches for the connected repository" }, { "info": { "name": "Create branch", "type": "http" }, "http": { "method": "POST", "url": "/api/v1/projects/:projectUuid/git/branches", "params": [ { "name": "projectUuid", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new branch from a source branch" }, { "info": { "name": "Get file or directory", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/projects/:projectUuid/git/branches/:branch/files", "params": [ { "name": "projectUuid", "value": "", "type": "path" }, { "name": "branch", "value": "", "type": "path" }, { "name": "path", "value": "", "type": "query" } ] }, "docs": "Get file content or directory listing. Returns directory entries if path is a directory, file content if path is a file." }, { "info": { "name": "Save file", "type": "http" }, "http": { "method": "PUT", "url": "/api/v1/projects/:projectUuid/git/branches/:branch/files", "params": [ { "name": "projectUuid", "value": "", "type": "path" }, { "name": "branch", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create or update a file. Provide sha to update existing file, omit for new file." }, { "info": { "name": "Delete file", "type": "http" }, "http": { "method": "DELETE", "url": "/api/v1/projects/:projectUuid/git/branches/:branch/files", "params": [ { "name": "projectUuid", "value": "", "type": "path" }, { "name": "branch", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Delete a file from the repository" }, { "info": { "name": "Create pull request", "type": "http" }, "http": { "method": "POST", "url": "/api/v1/projects/:projectUuid/git/branches/:branch/pull-request", "params": [ { "name": "projectUuid", "value": "", "type": "path" }, { "name": "branch", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a pull request from a branch to the default branch" } ] } ], "bundled": true }