From OpenDCIM Wiki
Contents
Data Center
{
"error": false,
"errorcode": 200,
"datacenter": [
{
"DataCenterID": "1",
"Name": "Main DC",
"SquareFootage": "2000",
"DeliveryAddress": "1 Main Street",
"Administrator": "Bobby Tables",
"MaxkW": "1250",
"DrawingFileName": "maindc.png",
"EntryLogging": "0",
"dcconfig": null,
"ContainerID": "1",
"MapX": "318",
"MapY": "628",
"U1Position": "Default"
}
]
}
Query
- /datacenter
- Method GET
- Parameters none
- Specific Permission Required none
This URI will return a collection of all data centers defined within openDCIM. There is a corresponding Entity URL for retrieving a single entity.
- /datacenter/:id
- Method GET
- Parameters DataCenterID
- Specific Permission Required none
This URI will return a collection of zero or one rows that match the specified data center.
Create
There are currently no API routes for creating a new data center entry.
Update
There are currently no API routes for updating an existing data center entry.