summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2014-08-15 16:21:32 (GMT)
committerNirbheek Chauhan <nirbheek@centricular.com>2014-08-15 16:21:32 (GMT)
commit93e0724fffcd3d13134b0cd8f97d624e654b286b (patch)
tree3a8ce3535d4fa83a2a1bff3f6b4dd82fdcb7082f /src
parentd3a003078bfdd373fe75368f5e35389960850a20 (diff)
downloadsoup-transcoding-proxy-93e0724fffcd3d13134b0cd8f97d624e654b286b.zip
soup-transcoding-proxy-93e0724fffcd3d13134b0cd8f97d624e654b286b.tar.gz
server: Use the /api/ prefix for the REST API
Diffstat (limited to 'src')
-rw-r--r--src/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c
index 416e9cd..e3b4ad0 100644
--- a/src/main.c
+++ b/src/main.c
@@ -31,11 +31,11 @@
#include "debug/local-play.h"
#endif
-#define STP_REST_LIST_STREAMS "/list-streams"
-#define STP_REST_ABORT_STREAM "/abort-stream"
-#define STP_REST_ADD_TOKEN "/add-token"
-#define STP_REST_REVOKE_TOKEN "/revoke-token"
-#define STP_REST_LIST_TOKENS "/list-tokens"
+#define STP_REST_LIST_STREAMS "/api/list-streams"
+#define STP_REST_ABORT_STREAM "/api/abort-stream"
+#define STP_REST_ADD_TOKEN "/api/add-token"
+#define STP_REST_REVOKE_TOKEN "/api/revoke-token"
+#define STP_REST_LIST_TOKENS "/api/list-tokens"
typedef struct _STPHashTables STPHashTables;