{ "opencollection": "1.0.0", "info": { "name": "GitLab access_requests API", "version": "v4" }, "items": [ { "info": { "name": "access_requests", "type": "folder" }, "items": [ { "info": { "name": "Gets a list of access requests for a group.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v4/groups/:id/access_requests", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID or URL-encoded path of the group owned by the authenticated user" }, { "name": "page", "value": "1", "type": "query", "description": "Current page number" }, { "name": "per_page", "value": "20", "type": "query", "description": "Number of items per page" } ] }, "docs": "This feature was introduced in GitLab 8.11." }, { "info": { "name": "Requests access for the authenticated user to a group.", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v4/groups/:id/access_requests", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID or URL-encoded path of the group owned by the authenticated user" } ] }, "docs": "This feature was introduced in GitLab 8.11." }, { "info": { "name": "Approves an access request for the given user.", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/v4/groups/:id/access_requests/:user_id/approve", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID or URL-encoded path of the group owned by the authenticated user" }, { "name": "user_id", "value": "", "type": "path", "description": "The user ID of the access requester" } ] }, "docs": "This feature was introduced in GitLab 8.11." }, { "info": { "name": "Denies an access request for the given user.", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/v4/groups/:id/access_requests/:user_id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID or URL-encoded path of the group owned by the authenticated user" }, { "name": "user_id", "value": "", "type": "path", "description": "The user ID of the access requester" } ] }, "docs": "This feature was introduced in GitLab 8.11." }, { "info": { "name": "Gets a list of access requests for a project.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v4/projects/:id/access_requests", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID or URL-encoded path of the project owned by the authenticated user" }, { "name": "page", "value": "1", "type": "query", "description": "Current page number" }, { "name": "per_page", "value": "20", "type": "query", "description": "Number of items per page" } ] }, "docs": "This feature was introduced in GitLab 8.11." }, { "info": { "name": "Requests access for the authenticated user to a project.", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v4/projects/:id/access_requests", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID or URL-encoded path of the project owned by the authenticated user" } ] }, "docs": "This feature was introduced in GitLab 8.11." }, { "info": { "name": "Approves an access request for the given user.", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/v4/projects/:id/access_requests/:user_id/approve", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID or URL-encoded path of the project owned by the authenticated user" }, { "name": "user_id", "value": "", "type": "path", "description": "The user ID of the access requester" } ] }, "docs": "This feature was introduced in GitLab 8.11." }, { "info": { "name": "Denies an access request for the given user.", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/v4/projects/:id/access_requests/:user_id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID or URL-encoded path of the project owned by the authenticated user" }, { "name": "user_id", "value": "", "type": "path", "description": "The user ID of the access requester" } ] }, "docs": "This feature was introduced in GitLab 8.11." } ] } ], "bundled": true }