Manual

Page 48
APPENDIX B: API Documentation
Introduction
This appendix discusses ways to use the Application Program Interface (API) to
allow third party equipment to remotely access options and settings of the iVAM1-1.
It includes specific code examples for commonly used requests. The API uses
JavaScript Object Notation (JSON) as its communication language.
Follow the instructions in the First Time IP Assignments section of Chapter 4 to
achieve the required network connection.
API
Method: POST
URL: /api/op/sourceselect
URL parameters:
data Data in JSON format.
Body Content for SDI/SMPTE-2022-6/ SMPTE-2110
{
"SourceType": <String: SDI Input Source>
}
Note: Allowed SDI input sources are:
1. "Sfp-1.Sdi"
2. "Sfp-1.Smpte2022"
3. "Sfp-1.Smpte2110"
4. "Bnc-1.Sdi"
5. "Bnc-2.Sdi"
Body Content for MADI
{
"SourceType": <String: MADI Input Source>,
"ChannelGroup": <Int: 1-4>
}
Note: Allowed MADI input sources are:
"Madi.Coax" and
"Madi.Optical"
ChannelGroup 1 => Channels 1-16 and
ChannelGroup 2 => Channels 17-32 and so on.
Body Content for Analog
{
"SourceType": "Analog"
}