Resource Collections
Create Resource Collection
Create a new resource collection
POST
Request Body
Optional client-provided ID. Format:
collection_{uuidv7}ID of the scope where collection is defined
ID of the resource type for this collection
Display name for the collection
Description of what this collection represents
Rules for matching resources to this collection
Match Definition
ThematchDefinition object supports the following properties:
| Property | Type | Description |
|---|---|---|
fields | object | Match by field values |
tags | object | Match by tag assignments |
patterns | object | Match by glob patterns |
time | object | Match by time-based rules |
condition | object | Match by JSON Logic condition |
any | array | Match if any definition matches (OR) |
all | array | Match if all definitions match (AND) |
none | array | Exclude matching definitions (NOT) |