Home > ADDER > Extender > Adder RED PSU REST API User Manual

Adder RED PSU REST API User Manual

Here you can view all the pages of manual Adder RED PSU REST API User Manual. The ADDER manuals for Extender are available online for free. You can easily download all the documents as PDF.

Page 1

RED PSU REST API
Adder Technology RED PSU REST API. Copyright 2015 Adder Technology. All Rights Reserved.
Version 0.0.5
Paths
/system
GET /system
System
Summary
Get system level information
Responses
CodeDescriptionSchema
200OK.⇄
▼ {
data:▼ {
id:string
type:string
attributes:▼ {
firmwareVersion:▼
Currently running system
firmware version.
name:▼ string maxLength:20
Unit name
description:▼ string maxLength:30
Unit description
location:▼ string maxLength:20
Unit location
requirePassword:▼ boolean
True if a...

Page 2

required to access the
unit.
startupDelay:▼ number
Delay after reset before
outputs start to switch
on (ms).
channelInterval:▼ number
Interval between Outputs
switching on (ms).
}
}
}
401
Unauthorised. Invalid or no
credentials provided.
PUT /system
System
Summary
Update the system information
Parameters
NameLocated
inDescriptionRequiredSchema
▼ {
data:▼ {
id:string
type:string
attributes:▼ {
name:▼ string
maxLength:20
Unit name
description:▼ string
maxLength:30 

Page 3

resourcebody
System info object with
attributes to be updated.
Yes⇄
Unit
description
location:▼ string
maxLength:20
Unit
location
requirePassword:▼ boolean
True if a
password is
required to
access the
unit.
startupDelay:▼ number
Delay after
reset
before
outputs
start to
switch on
(ms).
channelInterval:▼ number
Interval
between
Outputs
switching
on (ms).
}
}
}
Responses
CodeDescription
204Successful Operation (No Content).
401Unauthorised. Invalid or no credentials provided.
409Conflict. Type and ID do...

Page 4

/system/reset
POST /system/reset
System
Summary
Perform a system reset
Parameters
NameLocated inDescriptionRequiredSchema
levelbodyReset levelYes⇄
▼ {
level:string
}
Responses
CodeDescription
204Successful Operation (No Content).
401Unauthorised. Invalid or no credentials provided.
/system/identify
POST /system/identify
System
Summary
Identify the unit by flashing LED's
Description 

Page 5

Flash the LEDs the required number of times to identify the unit. A negative value will flash them indefinitely. Setting to 0 will
stop the flashing.
Parameters
NameLocated inDescriptionRequiredSchema
repeatbodyNumber of repeats.Yes⇄
▼ {
repeat:number
}
Responses
CodeDescription
204Successful Operation (No Content).
401Unauthorised. Invalid or no credentials provided.
/system/updateFirmware
POST /system/updateFirmware
System
Summary
Update the system firmware
Parameters
NameLocated...

Page 6

204Successful Operation (No Content).
401Unauthorised. Invalid or no credentials provided.
/outputs
GET /outputs
Outputs
Summary
Get all Outputs
Responses
CodeDescriptionSchema
200
OK.⇄
▼ {
data:▼ [
▼ {
id:string
type:string
attributes:▼ {
outputNumber:▼ number
The output number
corresponding to the
physical output on the
unit.
current:▼ number (float)
Output current (amps).
status:▼ string
Current Output status.
Enum:
 Array [3]
0: "on"
1: "off"
2: "fault"►  

Page 7

name:▼ string maxLength:20
Human readable label
corresponding to the
output port.
}
}
]
}
401
Unauthorised. Invalid or no
credentials provided.
/outputs/{id}
GET /outputs/{id}
Outputs
Summary
Get a single Output.
Parameters
NameLocated inDescriptionRequiredSchema
idpathID of OutputYes⇄number
Responses
CodeDescriptionSchema
▼ {
data:▼ {
id:string
type:string
attributes:▼ {
outputNumber:▼ number 

Page 8

200OK.⇄
The output number
corresponding to the
physical output on the unit.
current:▼ number (float)
Output current (amps).
status:▼ string
Current Output status.
Enum:
 Array [3]
0: "on"
1: "off"
2: "fault"
name:▼ string maxLength:20
Human readable label
corresponding to the output
port.
}
}
}
401
Unauthorised. Invalid or no
credentials provided.
404Document not found.
PUT /outputs/{id}
Outputs
Summary
Update an Output.
Parameters
NameLocated
inDescriptionRequiredSchema...

Page 9

ID of Output
bodybody
Output object with attributes
to be updated.
Yes⇄
▼ {
data:▼ {
id:string
type:string
attributes:▼ {
status:▼ string
Set the requested
Output status.
Enum:
 Array [2]
0: "ON"
1: "OFF"
name:▼ string maxLength:20
Human readable label
corresponding to the
output port.
}
}
}
Responses
CodeDescription
204Successful Operation (No Content).
401Unauthorised. Invalid or no credentials provided.
404Not Found. Response to a request to modify a resource that does not exist....

Page 10

PSUs
Summary
Get all PSUs
Responses
CodeDescriptionSchema
200OK.⇄
▼ {
data:▼ [
▼ {
id:string
type:string
attributes:▼ {
psuNumber:▼ number
The PSU number
corresponding to
the physical psu on
the unit.
status:▼ string
Current state of
the PSU.
Enum:
 Array [4]
0: "active"
1: "present"
2: "not present"
3: "invalid"
internalTemperature:▼ number (float)
Internal
temperature
(degrees Celsius).
ambientTemperature:▼ number (float)
Ambient temperature
(degrees Celsius).
fanSpeed:▼...
Start reading Adder RED PSU REST API User Manual

Related Manuals for Adder RED PSU REST API User Manual

All ADDER manuals