action netboxdemo_dcim_power_feeds_read { label: "dcim_power-feeds_read" description: "Call to super to allow for caching" provider: netboxdemo method: GET path: "/dcim/power-feeds/{id}/" encoding: json output: { type: "object" required: ["name", "power_panel"] properties: { amperage: { type: "integer" } comments: { type: "string" } created: { type: "string" format: "date" } custom_fields: { type: "object" } id: { type: "integer" } last_updated: { type: "string" format: "date-time" } max_utilization: { type: "integer" description: "Maximum permissible draw (percentage)" } name: { type: "string" } phase: { type: "object" required: ["label", "value"] properties: { label: { type: "string" enum: ["Single phase", "Three-phase"] } value: { type: "string" enum: ["single-phase", "three-phase"] } } } power_panel: { type: "object" required: ["name"] properties: { id: { type: "integer" } name: { type: "string" } powerfeed_count: { type: "integer" } url: { type: "string" format: "uri" } } } rack: { type: "object" required: ["name"] properties: { device_count: { type: "integer" } display_name: { type: "string" } id: { type: "integer" } name: { type: "string" } url: { type: "string" format: "uri" } } } status: { type: "object" required: ["label", "value"] properties: { label: { type: "string" enum: ["Offline", "Active", "Planned", "Failed"] } value: { type: "string" enum: ["offline", "active", "planned", "failed"] } } } supply: { type: "object" required: ["label", "value"] properties: { label: { type: "string" enum: ["AC", "DC"] } value: { type: "string" enum: ["ac", "dc"] } } } tags: { type: "array" items: { type: "string" } } type: { type: "object" required: ["label", "value"] properties: { label: { type: "string" enum: ["Primary", "Redundant"] } value: { type: "string" enum: ["primary", "redundant"] } } } voltage: { type: "integer" } } } }