You can programmatically set up a system (Site), apply system settings, and connect it to the Cloud using the REST API. This approach automates system provisioning and cloud onboarding across single or multiple Media Servers without using the Desktop Client UI.
To access complete, ready-to-use Python scripts, exact endpoint specifications, configuration templates, and multi-server merging workflows, visit the applicable Repository on GitHub.
How it works
Automating system setup and cloud connectivity follows a straightforward process:
Authenticate with the Cloud: Obtain an OAuth bearer token using your cloud credentials.
Initiate the cloud bind request: Request cloud binding credentials for either a personal account or an organization.
Establish a local admin session: Log in to the target server locally to obtain an active session token.
Complete the system setup or binding: Apply the cloud credentials to bind the system to your cloud account.
Configure system settings: Apply site preferences such as auto-discovery, camera optimization, and anonymous usage statistics reporting.
Key considerations for API integrations
API versioning: Ensure your request payloads match the version of the REST API running on your server. Newer API versions update key naming conventions (for example, replacing legacy system fields with site fields).
Multi-server deployments: When setting up multiple servers as a unified site, configure each server individually before running a merge procedure from a primary seed server.
Network requirements: Ensure the automation script or system has network access to the target server port (default:
7001) and standard outbound HTTPS access to cloud services.
For full step-by-step code samples, parameter descriptions, and troubleshooting logs, see the complete guide in the applicable GitHub Repository.
Comments
0 comments
Article is closed for comments.