mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-11 18:15:28 +00:00
updated swaggerfile to include feed
This commit is contained in:
parent
b86413bb97
commit
11ec53b9dd
1 changed files with 42 additions and 0 deletions
|
@ -192,6 +192,38 @@ paths:
|
||||||
Unable to update the Repository record in the database
|
Unable to update the Repository record in the database
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Repos Param Encryption Enpoint
|
||||||
|
# TODO: properly add the input output schema
|
||||||
|
|
||||||
|
/repos/{owner}/{name}/encrypt:
|
||||||
|
post:
|
||||||
|
parameters:
|
||||||
|
- name: owner
|
||||||
|
in: path
|
||||||
|
type: string
|
||||||
|
description: owner of the repository
|
||||||
|
- name: name
|
||||||
|
in: path
|
||||||
|
type: string
|
||||||
|
description: name of the repository
|
||||||
|
tags:
|
||||||
|
- Repos
|
||||||
|
summary: Encrypt
|
||||||
|
description: Creates encrypted environment variable strings.
|
||||||
|
security:
|
||||||
|
- accessToken: []
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: The encrypted parameters.
|
||||||
|
400:
|
||||||
|
description: |
|
||||||
|
Unable to encrypt the parameters.
|
||||||
|
404:
|
||||||
|
description: |
|
||||||
|
Unable to find the repository.
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Repos Watch/Unwatch Enpoint
|
# Repos Watch/Unwatch Enpoint
|
||||||
#
|
#
|
||||||
|
@ -992,6 +1024,16 @@ definitions:
|
||||||
environment:
|
environment:
|
||||||
type: object
|
type: object
|
||||||
Activity:
|
Activity:
|
||||||
|
example: |
|
||||||
|
{
|
||||||
|
"owner":"drone",
|
||||||
|
"name":"drone-test-go",
|
||||||
|
"full_name":"drone/drone-test-go",
|
||||||
|
"number": 1,
|
||||||
|
"status": "success",
|
||||||
|
"started_at": 5788800,
|
||||||
|
"finished_at": 5789500
|
||||||
|
}
|
||||||
properties:
|
properties:
|
||||||
owner:
|
owner:
|
||||||
type: string
|
type: string
|
||||||
|
|
Loading…
Reference in a new issue