Skip to content

Commit

Permalink
Merge pull request #155 from qase-tms/EXEC-734
Browse files Browse the repository at this point in the history
Create runs using environment slug
  • Loading branch information
nipisarev authored Jul 3, 2024
2 parents 9321821 + 27d85fe commit 6591d3d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions testops-api/v1/paths/environments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ get:
This method allows to retrieve all environments stored in selected project.
parameters:
- $ref: '../parameters/Code.yaml'
- in: query
name: search
description: |
A search string.
Will return all environments with titles containing provided string.
schema:
type: string
- in: query
name: slug
schema:
type: string
description: |
A search string.
Will return all environments with slugs equal to provided string.
- $ref: '../parameters/pagination/Limit.yaml'
- $ref: '../parameters/pagination/Offset.yaml'
responses:
Expand Down
3 changes: 3 additions & 0 deletions testops-api/v1/schemas/Run.create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ properties:
type: integer
format: int64
minimum: 1
environment_slug:
type: string
maxLength: 255
milestone_id:
type: integer
format: int64
Expand Down

0 comments on commit 6591d3d

Please sign in to comment.