https://github.com/grnet/webconf-manager
Webconf Manager repo
https://github.com/grnet/webconf-manager
Last synced: 5 months ago
JSON representation
Webconf Manager repo
- Host: GitHub
- URL: https://github.com/grnet/webconf-manager
- Owner: grnet
- License: agpl-3.0
- Created: 2015-10-26T12:47:44.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-22T09:18:49.000Z (over 10 years ago)
- Last Synced: 2024-06-20T16:46:51.787Z (about 2 years ago)
- Language: Go
- Size: 20.5 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webconf-manager
`webconf-manager` has been written as a small utility addressing specific needs for GRNET's teleconferencing service. It is a fairly lightweight API that can be used to add BigBlueButton and Transcoding types of hosts into Ansible's dynamic inventory and to deploy upon them the necessary Ansible roles.
In general three methods are implemented:
Name | Verb | Body | Description
---- | ---- | ---- | -----------
/list | GET | - | List all BigBlueButton and Transcoding servers
/add | POST | application/json | Add a new pair of BigBlueButton and Transcoding servers into Ansible's dynamic inventory
/deploy | POST | - | Deploy via Ansible the whole conferencing instrastructure
Examples:
```bash
curl –X GET 'http://{{ host_or_ip }}:{{ port }}/list'
```
```bash
curl -X POST -H "Content-Type: application/json" \
-d '[{
"name": "webconf-bbb5.grnet.gr",
"type": "bigbluebutton",
"internal_ip": "172.16.0.52",
"storage_path": 5
},
{
"name": "webconf-trans5.grnet.gr",
"type": "transcoding",
"internal_ip": "172.16.0.51",
"storage_path": 5
}]' 'http://{{ host_or_ip }}:{{ port }}/list'
```
```bash
curl –X POST 'http://{{ host_or_ip }}:{{ port }}/deploy'
```