get_device_input_setup
The saved setup of one collector channel: the configuration in use, its files and steps. Returns the setup generated last for this channel — the one whose credential is accepted now — exactly as POST /api/ambientes/:id/inputs returned it, so the files can be copied or installed again without rotating the credential. It carries the credential: only the device owner gets it, one channel per request, never cached; list routes never include it. 404 setup_not_saved when the channel was generated before setups were saved, or was removed; 409 setup_unreadable when the input central can no longer open it. In both cases generate a new setup with POST /api/ambientes/:id/inputs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Device environment UUID v4; the report URL is a one-hour write capability. | |
| collector | Yes | alloy, telegraf, opentelemetry, ncpa, collectd or snmp. |