Files
tuliprox/test/rest-api.http
T

89 lines
2.4 KiB
HTTP

### playlist request
POST {{local}}/api/v1/playlist
Content-Type: application/json
{
"url": "iptv.m3u"
}
### config request
GET {{local}}/api/v1/config
Content-Type: application/json
### auth
POST {{local}}/auth/token
Content-Type: application/json
{"username": "test", "password": "test"}
### m3u playlist
GET {{local}}/m3u?username=xt&password=xt
### m3u playlist - form auth
POST {{local}}/m3u
Content-Type: application/x-www-form-urlencoded
username=xt&password=xt
### m3u playlist reverse
GET {{local}}/m3u?username=m3u&password=m3u
### m3u playlist
GET {{local}}/m3u?username=xt&password=xt
### m3u playlist
GET {{local}}/m3u?username=xt2&password=xt2
### xtream login
GET {{local}}/player_api.php?username=xt&password=xt
### xtream live_categories
GET {{local}}/player_api.php?username=xt&password=xt&action=get_live_categories
### xtream live_streams reverse
GET {{local}}/player_api.php?username=xtr&password=xtr&action=get_live_streams&category_id=102
### xtream live_streams redirect
GET {{local}}/player_api.php?username=xt&password=xt&action=get_live_streams&category_id=102
### xtream vod_categories
GET {{local}}/player_api.php?username=xt&password=xt&action=get_vod_categories
### xtream vod streams reverse
GET {{local}}/player_api.php?username=xtr&password=xtr&action=get_vod_streams&category_id=636
### xtream vod streams redirect
GET {{local}}/player_api.php?username=xt&password=xt&action=get_vod_streams&category_id=636
### xtream vod info reverse
GET {{local}}/player_api.php?username=xtr&password=xtr&action=get_vod_info&vod_id=7590
### xtream vod info redirect
GET {{local}}/player_api.php?username=xt&password=xt&action=get_vod_info&vod_id=7590
### xtream series_categories reverse
GET {{local}}/player_api.php?username=xtr&password=xtr&action=get_series_categories
### xtream series_categories redirect
GET {{local}}/player_api.php?username=xt&password=xt&action=get_series_categories
### xtream series reverse
GET {{local}}/player_api.php?username=xtr&password=xtr&action=get_series
### xtream series redirect
GET {{local}}/player_api.php?username=xt&password=xt&action=get_series
### xtream series for category
GET {{local}}/player_api.php?username=xt&password=xt&action=get_series&category_id=56
### xtream series info
GET {{local}}/player_api.php?username=xt&password=xt&action=get_series_info&series_id=13923
### xtream series stream
GET {{local}}/series/xt/xt/18137
### get stream
{{local}}/m3u-stream/live/xt/xt/667