Device
All operations require authentication.
List the devices available for registrationProduction
List the devices available for registration. Returns the devices seen from the IP address of the call, with their ID, last seen date and whether each one is already activated.
Response
Whether or not this device is actived
The last time this device was seen on the provisionning servers
Reads your token from $OVH_TOKEN
$ curl https:/ / api.eu.ovhcloud.com/ 1.0/ overTheBox/ devices \
-H "authorization: Bearer $OVH_TOKEN"[ { "activated": true, "deviceId": "string", "lastSeen": "2024-01-01T12:00:00Z" }]
Get the device of an OverTheBox serviceProduction
Get the device of an OverTheBox service. Returns the device ID, version, system information, public IP, network interfaces, last seen date and whether an update is available.
Path parameters
The internal name of your overTheBox offer
Response
Whether or not this device is associated to a service
Whether or not an upate is available for this device
The id of the device
Last time the device has been seen on the provisionning servers
Network interfaces of the device
The public IP of the device
Device system information
System version of the device
Version of the device
Example uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ 1.0/ overTheBox/ {serviceName}/ device \
-H "authorization: Bearer $OVH_TOKEN"{ "activated": true, "availableUpdate": true, "deviceId": "string", "lastSeen": "2024-01-01T12:00:00Z", "networkInterfaces": [ { "device": "string", "dnsServers": [ "192.0.2.0" ], "gateway": "192.0.2.0", "ip": "192.0.2.0", "multipathStatus": "backup", "name": "string", "netmask": "192.0.2.0", "publicIp": "192.0.2.0" } ], "publicIp": "192.0.2.0", "system": { "cpu": "string", "hostname": "string", "kernel": "string", "mac": "string", "model": "string", "name": "string", "offerName": "string", "ovhName": "string" }, "systemVersion": "string", "version": "string"}
Unlink the device of an OverTheBox serviceProduction
Unlink the device of an OverTheBox service. Removes the association between the device and the service. Link another device with linkDevice.
Path parameters
The internal name of your overTheBox offer
Response
Example uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ 1.0/ overTheBox/ {serviceName}/ device \
-H "authorization: Bearer $OVH_TOKEN"Get an OverTheBox hardwareProduction
Get an OverTheBox hardware. Returns the name, model, serial and MAC address of a hardware, and whether it can be linked to a service without a device ID.
Path parameters
The internal name of your overTheBox offer
Response
True if hardware can be linked to a service without deviceID
Hardware MAC address
Hardware model
Hardware name
The hardware pretty model name
Hardware serial
Example uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ 1.0/ overTheBox/ {serviceName}/ device/ hardware \
-H "authorization: Bearer $OVH_TOKEN"{ "canBeLinkedToService": true, "mac": "00:00:5e:00:53:01", "model": "string", "name": "string", "prettyModelName": "string", "serial": "string"}
Generate a temporary URL for the device logsProduction
Generate a temporary URL for the device logs. Returns a temporary URL to download the logs of the OverTheBox device, with its expiration date.
Path parameters
The internal name of your overTheBox offer
Response
Temporary url expiration date
Temporary url
Example uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ 1.0/ overTheBox/ {serviceName}/ device/ logs \
-H "authorization: Bearer $OVH_TOKEN"{ "expirationDate": "2024-01-01T12:00:00Z", "url": "string"}