action netbox_dcim_racks_read { label: "dcim_racks_read" description: "" provider: netbox method: GET path: "/dcim/racks/{id}/" encoding: json output: { type: "object" required: ["name", "site"] properties: { asset_tag: { type: "string" description: "A unique tag used to identify this rack" } comments: { type: "string" } created: { type: "string" format: "date-time" } custom_fields: { type: "object" } desc_units: { type: "boolean" description: "Units are numbered top-to-bottom" } description: { type: "string" } device_count: { type: "integer" } display: { type: "string" } facility_id: { type: "string" } id: { type: "integer" } last_updated: { type: "string" format: "date-time" } location: { type: "object" required: ["name", "slug"] properties: { _depth: { type: "integer" } display: { type: "string" } id: { type: "integer" } name: { type: "string" } rack_count: { type: "integer" } slug: { type: "string" format: "slug" } url: { type: "string" format: "uri" } } } max_weight: { type: "integer" description: "Maximum load capacity for the rack" } mounting_depth: { type: "integer" description: "Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails." } name: { type: "string" } outer_depth: { type: "integer" description: "Outer dimension of rack (depth)" } outer_unit: { type: "object" required: ["label", "value"] properties: { label: { type: "string" enum: ["Millimeters", "Inches"] } value: { type: "string" enum: ["mm", "in"] } } } outer_width: { type: "integer" description: "Outer dimension of rack (width)" } powerfeed_count: { type: "integer" } role: { type: "object" required: ["name", "slug"] properties: { display: { type: "string" } id: { type: "integer" } name: { type: "string" } rack_count: { type: "integer" } slug: { type: "string" format: "slug" } url: { type: "string" format: "uri" } } } serial: { type: "string" } site: { type: "object" required: ["name", "slug"] properties: { display: { type: "string" } 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: ["Reserved", "Available", "Planned", "Active", "Deprecated"] } value: { type: "string" enum: ["reserved", "available", "planned", "active", "deprecated"] } } } tags: { type: "array" items: { type: "object" required: ["name", "slug"] properties: { color: { type: "string" } display: { type: "string" } id: { type: "integer" } name: { type: "string" } slug: { type: "string" format: "slug" } url: { type: "string" format: "uri" } } } } tenant: { type: "object" required: ["name", "slug"] properties: { display: { type: "string" } id: { type: "integer" } name: { type: "string" } slug: { type: "string" format: "slug" } url: { type: "string" format: "uri" } } } type: { type: "object" required: ["label", "value"] properties: { label: { type: "string" enum: ["2-post frame", "4-post frame", "4-post cabinet", "Wall-mounted frame", "Wall-mounted frame (vertical)", "Wall-mounted cabinet", "Wall-mounted cabinet (vertical)"] } value: { type: "string" enum: ["2-post-frame", "4-post-frame", "4-post-cabinet", "wall-frame", "wall-frame-vertical", "wall-cabinet", "wall-cabinet-vertical"] } } } u_height: { type: "integer" description: "Height in rack units" } url: { type: "string" format: "uri" } weight: { type: "number" format: "decimal" } weight_unit: { type: "object" required: ["label", "value"] properties: { label: { type: "string" enum: ["Kilograms", "Grams", "Pounds", "Ounces"] } value: { type: "string" enum: ["kg", "g", "lb", "oz"] } } } width: { type: "object" required: ["label", "value"] properties: { label: { type: "string" enum: ["10 inches", "19 inches", "21 inches", "23 inches"] } value: { type: "integer" enum: [10, 19, 21, 23] } } } } } }