api

command module
v0.0.0-...-75739c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

README

av-api

CircleCI Apache 2 License

Run in Postman View in Swagger

Setup

CONFIGURATION_DATABASE_MICROSERVICE_ADDRESS needs to be set to enable communication with the configuration-database-microservice. The EMS_API_USERNAME and EMS_API_PASSWORD environment variables need to be set in order to retrieve room availability data from the Event Management System.

Example Usage

Perform a PUT on http://localhost:8000/buildings/ITB/rooms/1001D with the following body:

{
	"currentVideoInput": "AppleTV",
	"displays": [{
		"name": "D1",
		"power": "on",
		"blanked": false
	}],
	"audioDevices": [{
		"volume": 10
	}]
}

Docker Development

For Docker development via docker-compose utilize the following commands depending on your use case:

Development Testing (Build Containers Locally)
docker-compose -f docker-compose-dev.yml up
Production Testing (Pull Containers)
docker-compose -f docker-compose-prod.yml up

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL