targets

List targets

Retrieves targets based on query parameters

get/targets

Query parameters

querystring

Query string to filter targets (e.g., 'namespace:aws discoverable:true')

Response

OK: List of targets.

Configinteger[]
Discoverableboolean
Labelstring
Namespacestring
Reapinginteger[]

Reaping holds the target's reaping behaviour. It is stored as a raw JSON message (not the ReapingBehaviour interface) because Target is embedded in structs that round-trip through json.Marshal/Unmarshal for persistence, and encoding/json cannot unmarshal a present JSON object into a nil interface field. Use ParseReaping to decode it.

Versioninteger

Changes