action netboxdemo_dcim_power_ports_trace { label: "dcim_power-ports_trace" description: "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination)." provider: netboxdemo method: GET path: "/dcim/power-ports/{id}/trace/" encoding: json output: { type: "object" required: ["device", "name"] properties: { allocated_draw: { type: "integer" description: "Allocated power draw (watts)" } cable: { type: "object" properties: { id: { type: "integer" } label: { type: "string" } url: { type: "string" format: "uri" } } } connected_endpoint: { type: "object" description: "\nReturn the appropriate serializer for the type of connected object.\n" } connected_endpoint_type: { type: "string" } connection_status: { type: "object" required: ["label", "value"] properties: { label: { type: "string" enum: ["Not Connected", "Connected"] } value: { type: "boolean" enum: [false, true] } } } description: { type: "string" } device: { type: "object" properties: { display_name: { type: "string" } id: { type: "integer" } name: { type: "string" } url: { type: "string" format: "uri" } } } id: { type: "integer" } maximum_draw: { type: "integer" description: "Maximum power draw (watts)" } name: { type: "string" } tags: { type: "array" items: { type: "string" } } type: { type: "object" required: ["label", "value"] properties: { label: { type: "string" enum: ["C6", "C8", "C14", "C16", "C20", "P+N+E 4H", "P+N+E 6H", "P+N+E 9H", "2P+E 4H", "2P+E 6H", "2P+E 9H", "3P+E 4H", "3P+E 6H", "3P+E 9H", "3P+N+E 4H", "3P+N+E 6H", "3P+N+E 9H", "NEMA 1-15P", "NEMA 5-15P", "NEMA 5-20P", "NEMA 5-30P", "NEMA 5-50P", "NEMA 6-15P", "NEMA 6-20P", "NEMA 6-30P", "NEMA 6-50P", "NEMA 10-30P", "NEMA 10-50P", "NEMA 14-20P", "NEMA 14-30P", "NEMA 14-50P", "NEMA 14-60P", "NEMA L1-15P", "NEMA L5-15P", "NEMA L5-20P", "NEMA L5-30P", "NEMA L5-50P", "NEMA L6-15P", "NEMA L6-20P", "NEMA L6-30P", "NEMA L6-50P", "NEMA L10-30P", "NEMA L14-20P", "NEMA L14-30P", "NEMA L14-50P", "NEMA L14-60P", "NEMA L21-20P", "NEMA L21-30P", "CS6361C", "CS6365C", "CS8165C", "CS8265C", "CS8365C", "CS8465C", "ITA Type E (CEE 7/5)", "ITA Type F (CEE 7/4)", "ITA Type E/F (CEE 7/7)", "ITA Type G (BS 1363)", "ITA Type H", "ITA Type I", "ITA Type J", "ITA Type K", "ITA Type L (CEI 23-50)", "ITA Type M (BS 546)", "ITA Type N", "ITA Type O"] } value: { type: "string" enum: ["iec-60320-c6", "iec-60320-c8", "iec-60320-c14", "iec-60320-c16", "iec-60320-c20", "iec-60309-p-n-e-4h", "iec-60309-p-n-e-6h", "iec-60309-p-n-e-9h", "iec-60309-2p-e-4h", "iec-60309-2p-e-6h", "iec-60309-2p-e-9h", "iec-60309-3p-e-4h", "iec-60309-3p-e-6h", "iec-60309-3p-e-9h", "iec-60309-3p-n-e-4h", "iec-60309-3p-n-e-6h", "iec-60309-3p-n-e-9h", "nema-1-15p", "nema-5-15p", "nema-5-20p", "nema-5-30p", "nema-5-50p", "nema-6-15p", "nema-6-20p", "nema-6-30p", "nema-6-50p", "nema-10-30p", "nema-10-50p", "nema-14-20p", "nema-14-30p", "nema-14-50p", "nema-14-60p", "nema-l1-15p", "nema-l5-15p", "nema-l5-20p", "nema-l5-30p", "nema-l5-50p", "nema-l6-15p", "nema-l6-20p", "nema-l6-30p", "nema-l6-50p", "nema-l10-30p", "nema-l14-20p", "nema-l14-30p", "nema-l14-50p", "nema-l14-60p", "nema-l21-20p", "nema-l21-30p", "cs6361c", "cs6365c", "cs8165c", "cs8265c", "cs8365c", "cs8465c", "ita-e", "ita-f", "ita-ef", "ita-g", "ita-h", "ita-i", "ita-j", "ita-k", "ita-l", "ita-m", "ita-n", "ita-o"] } } } } } }