Skip to content

Commit 624078a

Browse files
committed
Update rundeck-api.yml
1 parent f9149c8 commit 624078a

1 file changed

Lines changed: 69 additions & 30 deletions

File tree

docs/.vuepress/public/files/rundeck-api.yml

Lines changed: 69 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ info:
2121
license:
2222
name: Apache 2.0
2323
url: https://www.apache.org/licenses/LICENSE-2.0.html
24-
version: "57"
24+
version: "58"
2525
externalDocs:
2626
description: Original Rundeck API Documentation
2727
url: https://docs.rundeck.com/docs/api/
@@ -43,7 +43,7 @@ servers:
4343
default: "4440"
4444
version:
4545
description: API version number
46-
default: '57'
46+
default: '58'
4747
security:
4848
- rundeckApiToken: []
4949
- rundeckPassword: []
@@ -2919,6 +2919,15 @@ paths:
29192919
required: true
29202920
schema:
29212921
type: string
2922+
- name: metaExclude
2923+
in: query
2924+
description: "Since API v58: Comma-separated metadata names to omit. Ignored\
2925+
\ when the request API version is below 58. When set, if meta includes \"\
2926+
*\", \nit is expanded to all names from registered JobMetadataComponent\
2927+
\ beans, then exclusions are applied."
2928+
required: true
2929+
schema:
2930+
type: string
29222931
responses:
29232932
"200":
29242933
description: Job results
@@ -6924,6 +6933,16 @@ paths:
69246933
required: true
69256934
schema:
69266935
type: string
6936+
- name: metaExclude
6937+
in: query
6938+
description: "Since API v58: Comma-separated metadata names to omit. Ignored\
6939+
\ when the request API version is below 58. When set, if meta includes \"\
6940+
*\", \nit is expanded to all names from registered JobMetadataComponent\
6941+
\ beans, then exclusions are applied (literal \"*\" is not passed to loaders).\
6942+
\ \nFor an explicit meta list, excluded names are removed from that list."
6943+
required: true
6944+
schema:
6945+
type: string
69276946
- name: breakpoint
69286947
in: query
69296948
description: "Breakpoint, max number of jobs to load with metadata, if more\
@@ -6944,10 +6963,19 @@ paths:
69446963
summary: Project Job Group browse
69456964
description: "Query the jobs at a specific group path. Response includes the\
69466965
\ list of immediate jobs matching the query in the exact path, \nand the names\
6947-
\ of job Groups starting at that path.\n\nAuthorization required: `read` or\
6948-
\ `view` for the Jobs.\n\nSince: v46"
6966+
\ of job Groups starting at that path.\n\nQuery parameters `meta`, `metaExclude`,\
6967+
\ `breakpoint`, and `max` are the same as for the GET jobs browse endpoint.\
6968+
\ Since API v58, optional `metaExclude` omits metadata keys after resolving\
6969+
\ `meta` (including expanding `*`).\n\nAuthorization required: `read` or `view`\
6970+
\ for the Jobs.\n\nSince: v46"
69496971
operationId: apiJobBrowse
69506972
parameters:
6973+
- name: metaExclude
6974+
in: query
6975+
description: "Since API v58: Same as GET /project/{project}/jobs/browse. Ignored\
6976+
\ when the request API version is below 58."
6977+
schema:
6978+
type: string
69516979
- name: project
69526980
in: path
69536981
description: Project name
@@ -12814,13 +12842,20 @@ components:
1281412842
properties:
1281512843
error:
1281612844
type: boolean
12845+
description: Always true to indicate an error response
1281712846
apiversion:
1281812847
type: integer
12848+
description: Rundeck / Runbook Automation API version number
1281912849
format: int32
12850+
example: 56
1282012851
errorCode:
1282112852
type: string
12853+
description: Error code (HTTP status or custom error code)
1282212854
message:
1282312855
type: string
12856+
description: Human-readable error message
12857+
errorMessage:
12858+
type: string
1282412859
description: Error Response
1282512860
ApiPluginListProvider:
1282612861
type: object
@@ -12850,7 +12885,8 @@ components:
1285012885
type: object
1285112886
additionalProperties:
1285212887
type: string
12853-
description: "Map of metadata about the plugin if present. Since: v40"
12888+
description: "Map of metadata about the plugin if present. Includes groupBy\
12889+
\ and groupIconUrl from v57+. Since: v40"
1285412890
isHighlighted:
1285512891
type: boolean
1285612892
description: "Indication of whether the plugin is marked as highlighted.\
@@ -13202,9 +13238,12 @@ components:
1320213238
errorCount:
1320313239
type: integer
1320413240
format: int32
13205-
globalErrorCount:
13206-
type: integer
13207-
format: int32
13241+
allErrors:
13242+
type: array
13243+
items:
13244+
$ref: "#/components/schemas/ObjectError"
13245+
fieldError:
13246+
$ref: "#/components/schemas/FieldError"
1320813247
globalErrors:
1320913248
type: array
1321013249
items:
@@ -13222,12 +13261,9 @@ components:
1322213261
type: string
1322313262
nestedPath:
1322413263
type: string
13225-
allErrors:
13226-
type: array
13227-
items:
13228-
$ref: "#/components/schemas/ObjectError"
13229-
fieldError:
13230-
$ref: "#/components/schemas/FieldError"
13264+
globalErrorCount:
13265+
type: integer
13266+
format: int32
1323113267
EventRoutingResult:
1323213268
type: object
1323313269
properties:
@@ -13275,19 +13311,16 @@ components:
1327513311
type: string
1327613312
description: "since: v42"
1327713313
FieldError:
13314+
required:
13315+
- field
1327813316
type: object
13279-
allOf:
13280-
- $ref: "#/components/schemas/ObjectError"
13281-
- $ref: "#/components/schemas/DefaultMessageSourceResolvable"
13282-
- required:
13283-
- field
13284-
properties:
13285-
bindingFailure:
13286-
type: boolean
13287-
rejectedValue:
13288-
type: object
13289-
field:
13290-
type: string
13317+
properties:
13318+
rejectedValue:
13319+
type: object
13320+
bindingFailure:
13321+
type: boolean
13322+
field:
13323+
type: string
1329113324
HomeSummary:
1329213325
required:
1329313326
- execCount
@@ -13595,13 +13628,13 @@ components:
1359513628
LoginRoleData:
1359613629
type: object
1359713630
properties:
13598-
description:
13599-
type: string
1360013631
id:
1360113632
type: integer
1360213633
format: int64
1360313634
authority:
1360413635
type: string
13636+
description:
13637+
type: string
1360513638
Manifest:
1360613639
type: object
1360713640
properties:
@@ -13673,6 +13706,9 @@ components:
1367313706
downloadTk:
1367413707
type: string
1367513708
description: Download token for retrieving Runner resources.
13709+
filename:
13710+
type: string
13711+
description: Filename for the downloadable runner JAR artifact
1367613712
NewRunnerResponse:
1367713713
type: object
1367813714
allOf:
@@ -13923,8 +13959,6 @@ components:
1392313959
- properties:
1392413960
errors:
1392513961
$ref: "#/components/schemas/Errors"
13926-
scheduleEnabledFilter:
13927-
type: boolean
1392813962
sortBy:
1392913963
type: string
1393013964
sortOrder:
@@ -13950,6 +13984,8 @@ components:
1395013984
type: string
1395113985
scheduledFilter:
1395213986
type: boolean
13987+
scheduleEnabledFilter:
13988+
type: boolean
1395313989
executionEnabledFilter:
1395413990
type: boolean
1395513991
serverNodeUUIDFilter:
@@ -13987,6 +14023,9 @@ components:
1398714023
downloadTk:
1398814024
type: string
1398914025
description: Runner package download token
14026+
filename:
14027+
type: string
14028+
description: Filename for the downloadable runner JAR artifact
1399014029
replicaId:
1399114030
type: string
1399214031
RemoveExpiredTokens:

0 commit comments

Comments
 (0)