Skip to content

Commit 935dac7

Browse files
authored
feat: document latest plugin runs endpoint (#335)
1 parent 26b713d commit 935dac7

File tree

4 files changed

+362
-0
lines changed

4 files changed

+362
-0
lines changed

go/plumbing/operations/get_latest_plugin_runs_parameters.go

Lines changed: 183 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/plumbing/operations/get_latest_plugin_runs_responses.go

Lines changed: 115 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/plumbing/operations/operations_client.go

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

swagger.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,6 +1014,34 @@ paths:
10141014
$ref: '#/definitions/plugin'
10151015
default:
10161016
$ref: '#/responses/error'
1017+
/sites/{site_id}/plugin_runs/latest:
1018+
get:
1019+
operationId: getLatestPluginRuns
1020+
tags: [x-internal]
1021+
description: 'This is an internal-only endpoint.'
1022+
parameters:
1023+
- name: site_id
1024+
in: path
1025+
type: string
1026+
required: true
1027+
- name: packages
1028+
in: query
1029+
type: array
1030+
items:
1031+
type: string
1032+
required: true
1033+
- name: state
1034+
in: query
1035+
type: string
1036+
responses:
1037+
'200':
1038+
description: OK
1039+
schema:
1040+
type: array
1041+
items:
1042+
$ref: '#/definitions/pluginRun'
1043+
default:
1044+
$ref: '#/responses/error'
10171045
/deploys/{deploy_id}/plugin_runs:
10181046
post:
10191047
operationId: createPluginRun

0 commit comments

Comments
 (0)