Documentation

VDO Panel API

VDO  Panel API


Notes : 

  1. All data sent in POST method 

  2. All data sent in body form-data request

  3. Only Token is sent in the request header (?token=xyz)

  4. Success response message :

    1.  { "success": true, "data": { "message": "success-done" } }

  5. Error response message : 

    1. { "success": false, "errors": "not found" }


 

api

url

type

data 

Create broadcaster

domain/api/add-broadcaster?token=***

 

Response
 

{

    "success": true,

    "data": {

        "message": "success-done",

        "broadcaster_login_code": "NghJhjjAi0COX6c3jr1CD3peiybaSIq7Ej0TKlKIIBWBmUQ6zPUI66Tb2Jn5"

    }

}

 

Login By token for broadcaster :

 

Ex: 

 

http://49.12.105.189/broadcaster-login-by-token/NghJhjjAi0COX6c3jr1CD3peiybaSIq7Ej0TKlKIIBWBmUQ6zPUI66Tb2Jn5





 

post

  1. name

  2. email

  3. password

  4. password_confirmation

  5. channel_name

  6. Viewers_limit

  7. lang (
    Arabic - العربية
    English - English
    Español - Spanish
    Français - French
    Hebrew - עִברִית
    Italiano - Italian
    Persian - فارسی
    Polski - Polish
    Pусский - Russian
    Română - Romanian
    Türkçe - Turkish
    Ελληνικά - Greek
    汉语 - Chinese
    )

  8. bitrate(288
    448
    1152
    2048
    4096
    90000)

  9. btype(1
    2
    3) ** this is Broadcaster type
    1 = Live Streaming
    2 = Web TV
    3 = Hybrid (Live Streaming + Web TV)

     

  10. youtube_streaming (0/1)

  11. facebook_streaming(0/1)

  12. twitch_streaming(0/1)

  13. periscope_streaming(0/1)

  14. custom_streaming(0/1)

  15. tv_storage

  16. traffic

 

 

Update broadcaster

domain/api/update-broadcaster/broadcaster_name?token=***

For example :
Broadcaster_name = hossam

 

https://demo.vdopanel.com/api/update-broadcaster/hossam

post

  1. name

  2. email

  3. ftp

  4. password

  5. channel_name

  6. Viewers_limit

  7. lang (
    Arabic - العربية
    English - English
    Español - Spanish
    Français - French
    Hebrew - עִברִית
    Italiano - Italian
    Persian - فارسی
    Polski - Polish
    Pусский - Russian
    Română - Romanian
    Türkçe - Turkish
    Ελληνικά - Greek
    汉语 - Chinese
    )

  8. bitrate(288
    448
    1152
    2048
    4096
    90000)

 
  1. btype(1
    2
    3) ** this is Broadcaster type
    1 = Live Streaming
    2 = Web TV
    3 = Hybrid (Live Streaming + Web TV)

 
  1. youtube_streaming (0/1)

  2. facebook_streaming
    (0/1)

  3. twitch_streaming(0/1)

  4. periscope_streaming(0/1)

  5. custom_streaming(0/1)

  6. tv_storage

  7. traffic

Suspend broadcaster

domain/api/suspend-broadcaster?token=***

post

  1. broadcaster_name

Unsuspend broadcaster

domain/api/unsuspend-broadcaster?token=***

post

  1. broadcaster_name

Delete broadcaster

domain/api/delete-broadcaster?token=***

post

  1. broadcaster_name