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
c1b1a297
Commit
c1b1a297
authored
Apr 05, 2022
by
Alishan Ladhani
Committed by
Kati Paizee
Apr 05, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: Add approval comment to example responses for Deployments API
parent
484fe4b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
16 deletions
+5
-16
doc/api/deployments.md
doc/api/deployments.md
+5
-16
No files found.
doc/api/deployments.md
View file @
c1b1a297
...
...
@@ -282,7 +282,8 @@ Deployments created by users on GitLab Premium or higher include the `approvals`
"web_url"
:
"http://localhost:3000/project_6_bot"
},
"status"
:
"approved"
,
"created_at"
:
"2022-02-24T20:22:30.097Z"
"created_at"
:
"2022-02-24T20:22:30.097Z"
,
"comment"
:
"Looks good to me"
}
],
...
...
...
@@ -342,20 +343,7 @@ Deployments created by users on GitLab Premium or higher include the `approvals`
{
"status"
:
"created"
,
"pending_approval_count"
:
0
,
"approvals"
:
[
{
"user"
:
{
"id"
:
49
,
"username"
:
"project_6_bot"
,
"name"
:
"****"
,
"state"
:
"active"
,
"avatar_url"
:
"https://www.gravatar.com/avatar/e83ac685f68ea07553ad3054c738c709?s=80&d=identicon"
,
"web_url"
:
"http://localhost:3000/project_6_bot"
},
"status"
:
"approved"
,
"created_at"
:
"2022-02-24T20:22:30.097Z"
}
],
"approvals"
:
[],
...
}
```
...
...
@@ -420,7 +408,8 @@ Deployments created by users on GitLab Premium or higher include the `approvals`
"web_url"
:
"http://localhost:3000/project_6_bot"
},
"status"
:
"approved"
,
"created_at"
:
"2022-02-24T20:22:30.097Z"
"created_at"
:
"2022-02-24T20:22:30.097Z"
,
"comment"
:
"Looks good to me"
}
],
...
...
...
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