diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2014-08-15 16:21:32 (GMT) |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2014-08-15 16:21:32 (GMT) |
commit | 93e0724fffcd3d13134b0cd8f97d624e654b286b (patch) | |
tree | 3a8ce3535d4fa83a2a1bff3f6b4dd82fdcb7082f /REST-API | |
parent | d3a003078bfdd373fe75368f5e35389960850a20 (diff) | |
download | soup-transcoding-proxy-93e0724fffcd3d13134b0cd8f97d624e654b286b.zip soup-transcoding-proxy-93e0724fffcd3d13134b0cd8f97d624e654b286b.tar.gz |
server: Use the /api/ prefix for the REST API
Diffstat (limited to 'REST-API')
-rw-r--r-- | REST-API | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -15,25 +15,25 @@ Adding Tokens: -------------- > Adding a token for an HTTP stream - POST http://[host]:8000/add-token?type=http&sessionid=[sessionid] + POST http://[host]:8000/api/add-token?type=http&sessionid=[sessionid] > Adding a token for an RTP-UDP stream on host:port - POST http://[host]:8000/add-token?type=rtp-udp&sessionid=[sessionid]&udp-clients=[host]:[port] + POST http://[host]:8000/api/add-token?type=rtp-udp&sessionid=[sessionid]&udp-clients=[host]:[port] > Adding a token for an HTTP stream and RTP-UDP streams on host1:port1,host2:port2 - POST http://[host]:8000/add-token?type=http,rtp-udp&sessionid=[sessionid]&udp-clients=[host1]:[port1],[host2]:[port2] + POST http://[host]:8000/api/add-token?type=http,rtp-udp&sessionid=[sessionid]&udp-clients=[host1]:[port1],[host2]:[port2] Revoking Tokens: ---------------- > Revoking a token - DELETE http://[host]:8000/revoke-token?sessionid=[sessionid] + DELETE http://[host]:8000/api/revoke-token?sessionid=[sessionid] Listing Tokens: ---------------- > Listing all tokens - GET http://[host]:8000/list-tokens + GET http://[host]:8000/api/list-tokens This will return a JSON array of dicts with the "sessionid", "host", and "port" for each token. @@ -43,7 +43,7 @@ Listing and Aborting Running Streams: ===================================== > Listing all streams - GET http://[host]:8000/list-streams + GET http://[host]:8000/api/list-streams > Aborting a running stream - DELETE http://[host]:8000/abort-stream?sessionid=[sessionid] + DELETE http://[host]:8000/api/abort-stream?sessionid=[sessionid] |