action netboxdemo_circuits_circuits_read { label: "circuits_circuits_read" description: "Call to super to allow for caching" provider: netboxdemo method: GET path: "/circuits/circuits/{id}/" encoding: json output: { type: "object" required: ["cid", "provider", "type"] properties: { cid: { type: "string" } comments: { type: "string" } commit_rate: { type: "integer" } created: { type: "string" format: "date" } custom_fields: { type: "object" } description: { type: "string" } id: { type: "integer" } install_date: { type: "string" format: "date" } last_updated: { type: "string" format: "date-time" } provider: { type: "object" required: ["name", "slug"] properties: { circuit_count: { type: "integer" } id: { type: "integer" } name: { type: "string" } slug: { type: "string" format: "slug" } url: { type: "string" format: "uri" } } } status: { type: "object" required: ["label", "value"] properties: { label: { type: "string" enum: ["Planned", "Provisioning", "Active", "Offline", "Deprovisioning", "Decommissioned"] } value: { type: "string" enum: ["planned", "provisioning", "active", "offline", "deprovisioning", "decommissioned"] } } } tags: { type: "array" items: { type: "string" } } tenant: { type: "object" required: ["name", "slug"] properties: { id: { type: "integer" } name: { type: "string" } slug: { type: "string" format: "slug" } url: { type: "string" format: "uri" } } } termination_a: { type: "object" required: ["connected_endpoint", "port_speed", "site"] properties: { connected_endpoint: { type: "object" required: ["name"] properties: { cable: { type: "integer" } connection_status: { type: "object" required: ["label", "value"] properties: { label: { type: "string" enum: ["Not Connected", "Connected"] } value: { type: "boolean" enum: [false, true] } } } device: { type: "object" properties: { display_name: { type: "string" } id: { type: "integer" } name: { type: "string" } url: { type: "string" format: "uri" } } } id: { type: "integer" } name: { type: "string" } url: { type: "string" format: "uri" } } } id: { type: "integer" } port_speed: { type: "integer" } site: { type: "object" required: ["name", "slug"] properties: { id: { type: "integer" } name: { type: "string" } slug: { type: "string" format: "slug" } url: { type: "string" format: "uri" } } } upstream_speed: { type: "integer" description: "Upstream speed, if different from port speed" } url: { type: "string" format: "uri" } xconnect_id: { type: "string" } } } termination_z: { type: "object" additionalProperties: true } type: { type: "object" required: ["name", "slug"] properties: { circuit_count: { type: "integer" } id: { type: "integer" } name: { type: "string" } slug: { type: "string" format: "slug" } url: { type: "string" format: "uri" } } } } } }