Skip to content

Commit 8f75103

Browse files
smartinellibenedettifdevans
authored andcommitted
handle copilot comments
1 parent f31b1a6 commit 8f75103

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

docs/api/index.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3499,7 +3499,10 @@ Since: v46
34993499
Request parameters:
35003500

35013501
* `meta` - Comma-separated list of metadata item names to include, or "*" for all (default)
3502-
* `metaExclude` - (**API v58+**, ignored for lower API versions in the request URL) Optional comma-separated list of metadata component names to omit after resolving `meta`. If `meta` contains `*`, the effective set is all registered job metadata names minus these entries. If `meta` is an explicit list, each name in `metaExclude` is removed from that list. Omit the parameter to keep the previous behavior.
3502+
3503+
**Additional Parameters (API v58+):**
3504+
3505+
* `metaExclude` - Optional comma-separated list of metadata component names to omit after resolving `meta`. Requires API v58 or higher in the request URL; if the URL uses a lower API version, this parameter is ignored. If `meta` contains `*`, the server expands `*` to the union of all registered job metadata component names, then removes excluded names (the literal `*` is not treated as a component name). If `meta` is an explicit list, each name in `metaExclude` is removed from that list. Omit the parameter to keep the previous behavior.
35033506

35043507
**Response:**
35053508

@@ -5551,12 +5554,15 @@ Since: v46
55515554
Query Parameters:
55525555
* `path` - Group path root, or blank for the root
55535556
* `meta` - Comma-separated list of metadata items to include, or "*" for all
5554-
* `metaExclude` - (**API v58+**, ignored for lower API versions in the request URL) Optional comma-separated list of metadata component names to omit after resolving `meta`. If `meta` contains `*`, the server expands `*` to all names from registered job metadata components, then drops excluded names. If `meta` is an explicit list, excluded names are removed from that list. Omit the parameter to keep the previous behavior.
55555557
* `breakpoint` - Breakpoint, max number of jobs to load with metadata, if more results than the
55565558
breakpoint are available, no metadata will be loaded
55575559

55585560
* Additional query parameters, see [Listing Jobs](#listing-jobs).
55595561

5562+
**Additional Parameters (API v58+):**
5563+
5564+
* `metaExclude` - Optional comma-separated list of metadata component names to omit after resolving `meta`. Requires API v58 or higher in the request URL; if the URL uses a lower API version, this parameter is ignored. If `meta` contains `*`, the server expands `*` to the union of all registered job metadata component names, then removes excluded names (the literal `*` is not treated as a component name). If `meta` is an explicit list, excluded names are removed from that list. Omit the parameter to keep the previous behavior.
5565+
55605566
**Response**
55615567

55625568
```json

docs/api/rundeck-api-versions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ API versions below `{{$apiDepVersion}}` are *deprecated*. Clients using earlier
3838
### Version 58
3939

4040
* Updated Endpoints:
41-
* [`GET /api/V/project/[PROJECT]/jobs/browse`][/api/V/project/\[PROJECT\]/jobs/browse] - Optional query parameter `metaExclude`: comma-separated job metadata component names to omit after resolving `meta`. When `meta` includes `*`, the server expands `*` to the union of all names reported by registered `JobMetadataComponent` beans, then removes excluded names (the literal `*` is not passed to loaders). For an explicit comma-separated `meta` list, excluded names are removed from that list. The parameter is ignored if the request URL uses an API version below 58.
41+
* [`GET /api/V/project/[PROJECT]/jobs/browse`][/api/V/project/\[PROJECT\]/jobs/browse] - Optional query parameter `metaExclude`: comma-separated job metadata component names to omit after resolving `meta`. When `meta` includes `*`, the server expands `*` to the union of all registered job metadata component names, then removes excluded names (the literal `*` is not treated as a component name). For an explicit comma-separated `meta` list, excluded names are removed from that list. The parameter is ignored if the request URL uses an API version below 58.
4242
* [`GET /api/V/job/[ID]/meta`][/api/V/job/\[ID\]/meta] - Same optional `metaExclude` query parameter and resolution rules (API version 58+ only).
4343

4444
### Version 57

0 commit comments

Comments
 (0)