mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
Add sort, order parameter to Get Request of /project/id/(templates, inventory, environment, keys, repositories, users to api document
This commit is contained in:
parent
c06dffb8a2
commit
a7a2da6d78
77
api-docs.yml
77
api-docs.yml
@ -489,6 +489,19 @@ paths:
|
||||
tags:
|
||||
- project
|
||||
summary: Get users linked to project
|
||||
parameters:
|
||||
- name: sort
|
||||
in: query
|
||||
required: true
|
||||
type: string
|
||||
format: name/username/email/admin
|
||||
description: sorting name
|
||||
- name: order
|
||||
in: query
|
||||
required: true
|
||||
type: string
|
||||
format: asc/desc
|
||||
description: ordering manner
|
||||
responses:
|
||||
200:
|
||||
description: Users
|
||||
@ -560,6 +573,18 @@ paths:
|
||||
type: string
|
||||
format: ssh/aws/gcloud/do
|
||||
description: Filter by key type
|
||||
- name: sort
|
||||
in: query
|
||||
required: true
|
||||
type: string
|
||||
format: name/type
|
||||
description: sorting name
|
||||
- name: order
|
||||
in: query
|
||||
required: true
|
||||
type: string
|
||||
format: asc/desc
|
||||
description: ordering manner
|
||||
responses:
|
||||
200:
|
||||
description: Access Keys
|
||||
@ -617,6 +642,19 @@ paths:
|
||||
tags:
|
||||
- project
|
||||
summary: Get repositories
|
||||
parameters:
|
||||
- name: sort
|
||||
in: query
|
||||
required: true
|
||||
type: string
|
||||
format: name/git_url/ssh_key
|
||||
description: sorting name
|
||||
- name: order
|
||||
in: query
|
||||
required: true
|
||||
type: string
|
||||
format: asc/desc
|
||||
description: ordering manner
|
||||
responses:
|
||||
200:
|
||||
description: repositories
|
||||
@ -657,6 +695,19 @@ paths:
|
||||
tags:
|
||||
- project
|
||||
summary: Get inventory
|
||||
parameters:
|
||||
- name: sort
|
||||
in: query
|
||||
required: true
|
||||
type: string
|
||||
format: name/type
|
||||
description: sorting name
|
||||
- name: order
|
||||
in: query
|
||||
required: true
|
||||
type: string
|
||||
format: asc/desc
|
||||
description: ordering manner
|
||||
responses:
|
||||
200:
|
||||
description: inventory
|
||||
@ -712,6 +763,19 @@ paths:
|
||||
tags:
|
||||
- project
|
||||
summary: Get environment
|
||||
parameters:
|
||||
- name: sort
|
||||
in: query
|
||||
required: true
|
||||
type: string
|
||||
format: name
|
||||
description: sorting name
|
||||
- name: order
|
||||
in: query
|
||||
required: true
|
||||
type: string
|
||||
format: asc/desc
|
||||
description: ordering manner
|
||||
responses:
|
||||
200:
|
||||
description: environment
|
||||
@ -765,6 +829,19 @@ paths:
|
||||
tags:
|
||||
- project
|
||||
summary: Get template
|
||||
parameters:
|
||||
- name: sort
|
||||
in: query
|
||||
required: true
|
||||
type: string
|
||||
format: alias/playbook/ssh_key/inventory/environment/repository
|
||||
description: sorting name
|
||||
- name: order
|
||||
in: query
|
||||
required: true
|
||||
type: string
|
||||
format: asc/desc
|
||||
description: ordering manner
|
||||
responses:
|
||||
200:
|
||||
description: template
|
||||
|
Loading…
Reference in New Issue
Block a user