{ "opencollection": "1.0.0", "info": { "name": "GitLab access_requests files API", "version": "v4" }, "items": [ { "info": { "name": "files", "type": "folder" }, "items": [ { "info": { "name": "getApiV4ProjectsIdRepositoryFilesFilePathBlame", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v4/projects/:id/repository/files/:file_path/blame", "params": [ { "name": "id", "value": "gitlab-org/gitlab", "type": "path", "description": "The project ID" }, { "name": "file_path", "value": "lib%2Fclass%2Erb", "type": "path", "description": "The URL-encoded path to the file." }, { "name": "ref", "value": "main", "type": "query", "description": "The name of branch, tag or commit" }, { "name": "range[start]", "value": "", "type": "query", "description": "The first line of the range to blame" }, { "name": "range[end]", "value": "", "type": "query", "description": "The last line of the range to blame" } ] }, "docs": "Get blame file from the repository" }, { "info": { "name": "headApiV4ProjectsIdRepositoryFilesFilePathBlame", "type": "http" }, "http": { "method": "HEAD", "url": "{{baseUrl}}/api/v4/projects/:id/repository/files/:file_path/blame", "params": [ { "name": "id", "value": "gitlab-org/gitlab", "type": "path", "description": "The project ID" }, { "name": "file_path", "value": "lib%2Fclass%2Erb", "type": "path", "description": "The URL-encoded path to the file." }, { "name": "ref", "value": "main", "type": "query", "description": "The name of branch, tag or commit" } ] }, "docs": "Get blame file metadata from repository" }, { "info": { "name": "getApiV4ProjectsIdRepositoryFilesFilePathRaw", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v4/projects/:id/repository/files/:file_path/raw", "params": [ { "name": "id", "value": "gitlab-org/gitlab", "type": "path", "description": "The project ID" }, { "name": "file_path", "value": "lib%2Fclass%2Erb", "type": "path", "description": "The URL-encoded path to the file." }, { "name": "ref", "value": "main", "type": "query", "description": "The name of branch, tag or commit" }, { "name": "lfs", "value": "", "type": "query", "description": "Retrieve binary data for a file that is an lfs pointer" } ] }, "docs": "Get raw file contents from the repository" }, { "info": { "name": "getApiV4ProjectsIdRepositoryFilesFilePath", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v4/projects/:id/repository/files/:file_path", "params": [ { "name": "id", "value": "gitlab-org/gitlab", "type": "path", "description": "The project ID" }, { "name": "file_path", "value": "lib%2Fclass%2Erb", "type": "path", "description": "The URL-encoded path to the file." }, { "name": "ref", "value": "main", "type": "query", "description": "The name of branch, tag or commit" } ] }, "docs": "Get a file from the repository" }, { "info": { "name": "postApiV4ProjectsIdRepositoryFilesFilePath", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v4/projects/:id/repository/files/:file_path", "params": [ { "name": "id", "value": "gitlab-org/gitlab", "type": "path", "description": "The project ID" }, { "name": "file_path", "value": "lib%2Fclass%2Erb", "type": "path", "description": "The URL-encoded path to the file." } ] }, "docs": "Create new file in repository" }, { "info": { "name": "putApiV4ProjectsIdRepositoryFilesFilePath", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/v4/projects/:id/repository/files/:file_path", "params": [ { "name": "id", "value": "gitlab-org/gitlab", "type": "path", "description": "The project ID" }, { "name": "file_path", "value": "lib%2Fclass%2Erb", "type": "path", "description": "The URL-encoded path to the file." } ] }, "docs": "Update existing file in repository" }, { "info": { "name": "deleteApiV4ProjectsIdRepositoryFilesFilePath", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/v4/projects/:id/repository/files/:file_path", "params": [ { "name": "id", "value": "gitlab-org/gitlab", "type": "path", "description": "The project ID" }, { "name": "file_path", "value": "lib%2Fclass%2Erb", "type": "path", "description": "The URL-encoded path to the file." }, { "name": "branch", "value": "main", "type": "query", "description": "Name of the branch to commit into. To create a new branch, also provide `start_branch`." }, { "name": "commit_message", "value": "Initial commit", "type": "query", "description": "Commit message" }, { "name": "start_branch", "value": "main", "type": "query", "description": "Name of the branch to start the new commit from" }, { "name": "author_email", "value": "johndoe@example.com", "type": "query", "description": "The email of the author" }, { "name": "author_name", "value": "John Doe", "type": "query", "description": "The name of the author" }, { "name": "last_commit_id", "value": "2695effb5807a22ff3d138d593fd856244e155e7", "type": "query", "description": "Last known file commit id" } ] }, "docs": "Delete an existing file in repository" }, { "info": { "name": "headApiV4ProjectsIdRepositoryFilesFilePath", "type": "http" }, "http": { "method": "HEAD", "url": "{{baseUrl}}/api/v4/projects/:id/repository/files/:file_path", "params": [ { "name": "id", "value": "gitlab-org/gitlab", "type": "path", "description": "The project ID" }, { "name": "file_path", "value": "lib%2Fclass%2Erb", "type": "path", "description": "The URL-encoded path to the file." }, { "name": "ref", "value": "main", "type": "query", "description": "The name of branch, tag or commit" } ] }, "docs": "Get file metadata from repository" } ] } ], "bundled": true }