mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-08-20 16:30:26 +00:00
Add documentation about when the application API was added
This commit is contained in:
@ -1,5 +1,9 @@
|
|||||||
# Applications API
|
# 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
|
||||||
|
|
||||||
Create a application by posting a JSON payload.
|
Create a application by posting a JSON payload.
|
||||||
@ -25,7 +29,7 @@ curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" --data "name=
|
|||||||
Example response:
|
Example response:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"application_id": "5832fc6e14300a0d962240a8144466eef4ee93ef0d218477e55f11cf12fc3737",
|
"application_id": "5832fc6e14300a0d962240a8144466eef4ee93ef0d218477e55f11cf12fc3737",
|
||||||
"secret": "ee1dd64b6adc89cf7e2c23099301ccc2c61b441064e9324d963c46902a85ec34",
|
"secret": "ee1dd64b6adc89cf7e2c23099301ccc2c61b441064e9324d963c46902a85ec34",
|
||||||
"callback_url": "http://redirect.uri"
|
"callback_url": "http://redirect.uri"
|
||||||
|
@ -5,6 +5,7 @@ module API
|
|||||||
|
|
||||||
resource :applications do
|
resource :applications do
|
||||||
desc 'Create a new application' do
|
desc 'Create a new application' do
|
||||||
|
detail 'This feature was introduced in GitLab 10.5'
|
||||||
success Entities::Application
|
success Entities::Application
|
||||||
end
|
end
|
||||||
params do
|
params do
|
||||||
|
Reference in New Issue
Block a user