BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
d38faa30
Commit
d38faa30
authored
Jan 23, 2018
by
Toon Claes
Committed by
Toon Claes
Jan 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add documentation about when the application API was added
parent
81bbcfac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
applications.md
doc/api/applications.md
+5
-1
applications.rb
lib/api/applications.rb
+1
-0
No files found.
doc/api/applications.md
View file @
d38faa30
# Applications API
> [Introduced][ce-8160] in GitLab 10.5
[
ce-8160
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8160
## Create a application
Create a application by posting a JSON payload.
...
...
@@ -25,7 +29,7 @@ curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" --data "name=
Example response:
```
json
{
{
"application_id"
:
"5832fc6e14300a0d962240a8144466eef4ee93ef0d218477e55f11cf12fc3737"
,
"secret"
:
"ee1dd64b6adc89cf7e2c23099301ccc2c61b441064e9324d963c46902a85ec34"
,
"callback_url"
:
"http://redirect.uri"
...
...
lib/api/applications.rb
View file @
d38faa30
...
...
@@ -5,6 +5,7 @@ module API
resource
:applications
do
desc
'Create a new application'
do
detail
'This feature was introduced in GitLab 10.5'
success
Entities
::
Application
end
params
do
...
...
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