Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c80787e7
Commit
c80787e7
authored
Jan 08, 2021
by
Jim Cser
Committed by
Achilleas Pipinellis
Jan 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation: Adds access request endpoint for OpenAPI spec (redo)
parent
cbcc0b6e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
431 additions
and
9 deletions
+431
-9
changelogs/unreleased/add_access_request_endpoint.yml
changelogs/unreleased/add_access_request_endpoint.yml
+5
-0
doc/api/openapi/openapi.yaml
doc/api/openapi/openapi.yaml
+45
-9
doc/api/openapi/v4/access_requests.yaml
doc/api/openapi/v4/access_requests.yaml
+381
-0
No files found.
changelogs/unreleased/add_access_request_endpoint.yml
0 → 100644
View file @
c80787e7
---
title
:
Add access request endpoint to OpenAPI standard
merge_request
:
51000
author
:
Jim Cser
type
:
changed
doc/api/openapi/openapi.yaml
View file @
c80787e7
openapi
:
"
3.0.0"
openapi
:
3.0.0
tags
:
-
name
:
version
description
:
Version
-
name
:
access_requests
description
:
Access requests for projects and groups
info
:
description
:
|
An OpenAPI definition for the GitLab REST API.
Only one API resource/endpoint is
currently included.
Few API resources or endpoints are
currently included.
The intent is to expand this to match the entire Markdown documentation of the API:
<https://docs.gitlab.com/ee/api/>. Contributions are welcome.
...
...
@@ -12,15 +17,46 @@ info:
so each request is made using your account.
Read more at <https://docs.gitlab.com/ee/development/documentation/restful_api_styleguide.html>.
version
:
"
v4"
title
:
"
GitLab
API"
termsOfService
:
"
https://about.gitlab.com/terms/"
version
:
v4
title
:
GitLab API
termsOfService
:
'
https://about.gitlab.com/terms/'
license
:
name
:
"
CC
BY-SA
4.0"
url
:
"
https://gitlab.com/gitlab-org/gitlab/-/blob/master/LICENSE"
name
:
CC BY-SA
4.0
url
:
'
https://gitlab.com/gitlab-org/gitlab/-/blob/master/LICENSE'
servers
:
-
url
:
"
https://gitlab.com/api/"
-
url
:
'
https://gitlab.com/api/'
security
:
-
ApiKeyAuth
:
[]
components
:
securitySchemes
:
ApiKeyAuth
:
type
:
apiKey
in
:
header
name
:
Private-Token
paths
:
# VERSION
/v4/version
:
$ref
:
"
v4/version.yaml"
$ref
:
'
v4/version.yaml'
# ACCESS REQUESTS (PROJECTS)
/v4/projects/{id}/access_requests
:
$ref
:
'
v4/access_requests.yaml#/accessRequestsProjects'
/v4/projects/{id}/access_requests/{user_id}/approve
:
$ref
:
'
v4/access_requests.yaml#/accessRequestsProjectsApprove'
/v4/projects/{id}/access_requests/{user_id}
:
$ref
:
'
v4/access_requests.yaml#/accessRequestsProjectsDeny'
# ACCESS REQUESTS (GROUPS)
/v4/groups/{id}/access_requests
:
$ref
:
'
v4/access_requests.yaml#/accessRequestsGroups'
/v4/groups/{id}/access_requests/{user_id}/approve
:
$ref
:
'
v4/access_requests.yaml#/accessRequestsGroupsApprove'
/v4/groupss/{id}/access_requests/{user_id}
:
$ref
:
'
v4/access_requests.yaml#/accessRequestsGroupsDeny'
doc/api/openapi/v4/access_requests.yaml
0 → 100644
View file @
c80787e7
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment