This is a sample web service for use with OpenTok. See the OpenTok learning-opentok-php repo on GitHub.

Resources are defined at the following endpoints:

GET /session Return an OpenTok API key, session ID, and token.
GET /room/:name Return an OpenTok API key, session ID, and token associated with a room name.
POST /archive/start Start an archive for the specified OpenTok session.
POST /archive/:archiveId/stop Stop the specified archive.
GET /archive/:archiveId/view View the specified archive.
GET /archive/:archiveId Return metadata for the specified archive.
GET /archive Return a list of archives. More Information Pagination is enabled by applying either count or offset parameteres.