{"info":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"16215345","collectionId":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","publishedId":"UUxukAZM","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-09-22T11:45:04.000Z"},"item":[{"name":"Service","item":[{"name":"List Services","id":"d5a99c16-5cdc-4227-b9a2-e77ccc1f125b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/0/media-service/list?user_id=1&page=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","0","media-service","list"],"host":["{{hostname}}"],"query":[{"key":"user_id","value":"1"},{"key":"page","value":"1"}],"variable":[]}},"response":[],"_postman_id":"d5a99c16-5cdc-4227-b9a2-e77ccc1f125b"},{"name":"Service Details","id":"5ed5c771-6066-42ec-b378-810b3297faad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/237/media-service/show","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","237","media-service","show"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"f300283b-58f8-4eee-98ae-8b16c81c6f4c","name":"/api/{serverId}/media-service/show","originalRequest":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/show"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 14 Oct 2021 06:14:40 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 18,\n    \"system_id\": 1,\n    \"user_id\": 1,\n    \"unique_id\": \"aksɛnt\",\n    \"slug\": \"aksnt\",\n    \"plugin\": \"icecast\",\n    \"sourceplugin\": \"liquidsoap\",\n    \"mountpoints\": \"1\",\n    \"maxsources\": \"1\",\n    \"reseller\": \"none\",\n    \"owner\": \"admin\",\n    \"plan\": \"none\",\n    \"maxuser\": \"500\",\n    \"bitrate\": \"256\",\n    \"portbase\": 8000,\n    \"quota\": 10240,\n    \"suspended\": \"\",\n    \"abuse\": 0,\n    \"sitepublic\": 1,\n    \"publicname\": \"none\",\n    \"player\": null,\n    \"player_key\": null,\n    \"socialmedia_post\": \"disabled\",\n    \"socialmedia_config\": null,\n    \"played_mailing\": 8006,\n    \"streamauth\": \"disabled\",\n    \"geolock\": 0,\n    \"geolock_config\": 0,\n    \"reporting\": \"enabled\",\n    \"allow_custom_domain\": 1,\n    \"custom_domain\": \"\",\n    \"custom_domain_status\": 0,\n    \"public_page\": 1,\n    \"proxy\": 0,\n    \"stream_watermark\": 0,\n    \"preferred_connection\": \"default\",\n    \"stream_watermark_opacity\": 100,\n    \"stream_watermark_position\": \"right,bottom\",\n    \"bandwidth\": \"10240\",\n    \"expire\": \"0\",\n    \"cost_per_month\": \"plancost\",\n    \"protect_tracks_every\": 3,\n    \"protect_tracks_type\": \"minutes\",\n    \"protect_artist_every\": \"3\",\n    \"protect_artist_type\": \"minutes\",\n    \"notified\": 0,\n    \"monthly_report\": 0,\n    \"laststatuscheck\": 1634191801,\n    \"laststate\": \"online\",\n    \"laststream\": 1634191801,\n    \"last_log_rotate\": 0,\n    \"historic_recent_updated_at\": 1634190614,\n    \"historic_other_updated_at\": 1634190615,\n    \"last_bandwidth_upd\": 0,\n    \"commitchanges\": 0,\n    \"transpid\": 1,\n    \"pid\": \"9911\",\n    \"restarted_at\": \"2021-10-14 05:43:26\",\n    \"autodj_restarted_at\": \"2021-10-14 05:43:26\",\n    \"is_restarting\": 0,\n    \"is_suspending\": 0,\n    \"is_stopping\": 0,\n    \"is_removing\": 0,\n    \"is_source_restarting\": 0,\n    \"is_source_stopping\": 0,\n    \"server_id\": 18,\n    \"charset\": \"UTF-8\",\n    \"password\": \"3qbxq3C9T3jh\",\n    \"password_saved\": \"3qbxq3C9T3jh\",\n    \"source_password\": \"4ZbTvZGwDsbf\",\n    \"relay_password\": \"qCSzYjt2cZQq\",\n    \"rtmpenabled\": \"no\",\n    \"ssl\": 1,\n    \"nonsslport\": 18000,\n    \"sc_compat\": 1,\n    \"introfile\": \"\",\n    \"ic_backupfile\": \"disabled\",\n    \"destip\": \"ANY\",\n    \"relay_server\": \"\",\n    \"relay_port\": 0,\n    \"relay_mount\": \"/stream\",\n    \"relay_local_mount\": \"/stream\",\n    \"relay_ondemand\": \"enabled\",\n    \"burst_size\": 65535,\n    \"queue_size\": 524288,\n    \"yp_publish\": 1,\n    \"yp_url\": \"http://dir.xiph.org/cgi-bin/yp-cgi\",\n    \"redirect_index\": 0,\n    \"ic_mountname\": \"stream\",\n    \"ic_stream_auth\": \"disabled\",\n    \"ic_stream_auth_dupe\": \"no\",\n    \"autodj\": \"disabled\",\n    \"autodj_address\": \"default\",\n    \"autodj_password\": \"default\",\n    \"autodj_bitrate\": 64,\n    \"autodj_encoder\": \"aac\",\n    \"autodj_quality\": \"auto\",\n    \"autodj_samplerate\": \"auto\",\n    \"autodj_channels\": 1,\n    \"lastplaylist\": \"\",\n    \"autodj_xfade_duration\": 3,\n    \"autodj_xfade_in\": 2,\n    \"autodj_xfade_out\": 3,\n    \"autodj_smart_crossfade\": 0,\n    \"autodj_replaygain_metadata\": 0,\n    \"autodj_djport\": 6800,\n    \"trans_title\": null,\n    \"trans_url\": null,\n    \"trans_genre\": null,\n    \"trans_shuffle\": 0,\n    \"dj_id\": null\n}"}],"_postman_id":"5ed5c771-6066-42ec-b378-810b3297faad"},{"name":"Update Service Configuration","id":"d61ec595-ff94-4c84-b3aa-145d922604bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"maxuser","value":"500","type":"text","disabled":true},{"key":"unique_id","value":"aksɛnt","description":"<p>The services publish name can be updated, however will be processed and may not result in the desired value. Non-alphanumerical values are removed such as spaces, hashes and other charactors. UTF-8 charactors are supported however.</p>\n","type":"text","disabled":true},{"key":"user_id","value":"1","description":"<p>If changing the user_id, you must also update the owner</p>\n","type":"text","disabled":true},{"key":"owner","value":"admin","description":"<p>If changing the owner field, you must also update the user_id record</p>\n","type":"text","disabled":true},{"key":"sourceplugin","value":"liquidsoap","description":"<p>Source must be stopped to change the value, or problems may occur.</p>\n","type":"text","disabled":true},{"key":"bitrate","value":"2048","description":"<p>Provide bitrate limit in Kbps</p>\n","type":"text","disabled":true},{"key":"portbase","value":"8000","type":"text","disabled":true},{"key":"quota","value":"512","description":"<p>Provide disk usage limit in megabyets</p>\n","type":"text","disabled":true},{"key":"reporting","value":"enabled","description":"<p>enabled or disabled</p>\n","type":"text","disabled":true},{"key":"record","value":"1","type":"text","uuid":"ebaf0253-611d-4462-a40f-1ad19f875269","disabled":true},{"key":"record_service_id","value":"","description":"<p>(int)</p>\n","type":"text","uuid":"75957739-656a-45e3-bdc8-b79f824541b4","disabled":true},{"key":"record_autostart","value":"1","type":"text","uuid":"c2f36cde-f5ba-457d-b015-06cad511a723"},{"key":"relay_url","value":"https://mediacp.net/relay.m3u8","type":"text","uuid":"c7d4f438-e651-4f22-afe3-a1f4eb081ceb","disabled":true}]},"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/update","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media-service","update"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d61ec595-ff94-4c84-b3aa-145d922604bb"},{"name":"Update Song Title (Audio)","id":"bd69dfad-23b3-474c-a4ce-34e156533e11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"title","value":"New Song title","type":"text","description":"<p>Updates song title if supported by service</p>\n"}]},"url":"https://{{hostname}}:{{port}}/api/237/media-service/update-song-title","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","237","media-service","update-song-title"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"23bf6b9f-575b-4047-895e-6f9965977890","name":"/api/{serverId}/media-service/update","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"maxuser","value":"500","type":"text"}]},"url":"https://{{hostname}}:{{port}}/api/237/media-service/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 05:03:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"return\": {\n        \"query\": true,\n        \"RunQuery\": true,\n        \"PluginQuery\": true,\n        \"insertID\": \"\",\n        \"portbase\": \"8008\",\n        \"error\": null,\n        \"RunPluginQueryError\": null,\n        \"RunSourcePluginQueryError\": false,\n        \"restart\": false\n    }\n}"}],"_postman_id":"bd69dfad-23b3-474c-a4ce-34e156533e11"},{"name":"Create Service","id":"a69fea81-cad8-4c53-acb6-d0dc001f38ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"userid","value":"1","type":"text"},{"key":"plugin","value":"icecast_kh","type":"text","description":"<p>shoutcast198, shoutcast2, icecast, icecast_kh, WowzaMedia, Flussonic, NginxRtmp</p>\n"},{"key":"sourceplugin","value":"liquidsoap","type":"text","description":"<p>ices04, ices20, sctransv1, sctransv2</p>\n"},{"key":"servicetype","value":"Live Streaming","description":"<p>Options for Video Streaming Services: Live Streaming, Ondemand Streaming, TV Station, Shoutcast, Live Stream Relay</p>\n","type":"text","disabled":true},{"key":"unique_id","value":"My New Service","type":"text","description":"<p>The Publish Name to identify the service, for example myShoutcastServer1</p>\n"},{"key":"adminpassword","value":"test123","description":"<p>Admin password for Audio Serviecs &amp; Live Streaming and FTP Password for Video Services</p>\n","type":"text"},{"key":"password","value":"QfSo56HHs9hNLkCy","description":"<p>Source/Stream Password for Audio Services</p>\n","type":"text","disabled":true},{"key":"maxuser","value":"500","type":"text","description":"<p>Maximum connections to the service.</p>\n"},{"key":"bitrate","value":"256","type":"text","description":"<p>24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 400, 480, 560, 640, 720, 800, 920, 1024, 1280, 1536, 1792, 2048, 2560, 3072, 3584, 4096, 99999</p>\n"},{"key":"bandwidth","value":"10240","type":"text","description":"<p>Maximum Data Transfer per month in MB, specify 0 for no limit.</p>\n"},{"key":"quota","value":"1024","type":"text","description":"<p>Maximum disk space allocation for service (defaults to 30). Set to 0 for no limit.</p>\n"},{"key":"mountpoints","value":"1","type":"text","description":"<p>Number of audio mountpoints for a SHOUTcast or Icecast service</p>\n","disabled":true},{"key":"maxsources","value":"1","type":"text","description":"<p>Number of audio autodj allowed to be assigned</p>\n"},{"key":"proxy","value":"1","type":"text","description":"<p>Stream Proxy enabled or disabled (int 0 or 1)</p>\n","disabled":true},{"key":"geolock","value":"1","type":"text","description":"<p>GeoIP Country Locking (int 0 or 1)</p>\n","disabled":true},{"key":"allow_record_live","value":"1","type":"text","description":"<p>(Audio) Allow recording of live broadcasts (int 0 or 1)</p>\n","disabled":true},{"key":"streamauth","value":"enabled","description":"<p>(Audio) Enable or disable Stream Authentication (string enabled or disabled)</p>\n","type":"text","disabled":true},{"key":"custom_domain","value":"0","description":"<p>Permit configuration of custom domain name with compatible services (int 0 or 1)</p>\n","type":"text","disabled":true},{"key":"reporting","value":"enabled","description":"<p>Enable Historical Reporting (string enabled or disabled)</p>\n","type":"text","disabled":true},{"key":"relay_url","value":"rtmp://myhost.com:1935/static/stream","description":"<p>Relay URL for Video Service Live Stream Relay services</p>\n","type":"text","disabled":true},{"key":"streamtargets","value":"Facebook,Youtube,Twitch,RTMP,Icecast","type":"text","disabled":true},{"key":"stream_targets_limit","value":"0","description":"<p>Video Stream Targets limit</p>\n","type":"text","disabled":true},{"key":"transcoder_profiles","value":"160p,240p","description":"<p>Specify one or more values separated by a comma. Accepted values include: 160p, 240p, 360p, 480p, 576p, 720p, 1080p, 4k, passthru</p>\n","type":"text","disabled":true},{"key":"ndvr","value":"enabled","type":"text","disabled":true},{"key":"record","value":"1","description":"<p>Permit &amp; Enable Video Recording</p>\n","type":"text","uuid":"adaf4a6e-61b4-475f-aa98-fe94302ede78","disabled":true},{"key":"record_autostart","value":"1","description":"<p>Automatically start recording live broadcasts</p>\n","type":"text","uuid":"e57a2fc6-0869-4f56-a366-645a824be133","disabled":true},{"key":"record_service_id","value":"","description":"<p>Relative service id to store recording - use this service id as a default (int)</p>\n","type":"text","uuid":"44a47d51-14e5-4795-b8d5-4447adbd14e1","disabled":true}]},"url":"https://{{hostname}}:{{port}}/api/237/media-service/store","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","237","media-service","store"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"8b66137f-f9e9-4813-bbed-c27fc0470af6","name":"/api/{serverId}/media-service/store","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"userid","value":"1","type":"text"},{"key":"plugin","value":"icecast","type":"text","description":"shoutcast198, shoutcast2, icecast, wowzaMedia, Flussonic, NginxRtmp"},{"key":"sourceplugin","value":"liquidsoap","type":"text","description":"ices04, ices20, sctransv1, sctransv2","disabled":true},{"key":"servicetype","value":"Live Streaming","description":"Options for Video Streaming Services: Live Streaming, Ondemand Streaming, TV Station, Shoutcast, Live Stream Relay","type":"text","disabled":true},{"key":"unique_id","value":"My New Service","type":"text","description":"The Publish Name to identify the service, for example myShoutcastServer1"},{"key":"maxuser","value":"500","type":"text","description":"Maximum connections to the service."},{"key":"bitrate","value":"256","type":"text","description":"24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 400, 480, 560, 640, 720, 800, 920, 1024, 1280, 1536, 1792, 2048, 2560, 3072, 3584, 4096, 99999"},{"key":"bandwidth","value":"10240","type":"text","description":"Maximum Data Transfer per month in MB, specify 0 for no limit."},{"key":"quota","value":"1024","type":"text","description":"Maximum disk space allocation for service (defaults to 30). Set to 0 for no limit."},{"key":"mountpoints","value":"1","type":"text","description":"Number of audio mountpoints for a SHOUTcast or Icecast service","disabled":true},{"key":"maxsources","value":"1","type":"text","description":"Number of audio autodj allowed to be assigned","disabled":true},{"key":"proxy","value":"1","type":"text","description":"Stream Proxy enabled or disabled (int 0 or 1)","disabled":true},{"key":"geolock","value":"1","type":"text","description":"GeoIP Country Locking (int 0 or 1)","disabled":true},{"key":"allow_record_live","value":"1","type":"text","description":"(Audio) Allow recording of live broadcasts (int 0 or 1)","disabled":true},{"key":"streamauth","value":"enabled","description":"(Audio) Enable or disable Stream Authentication (string enabled or disabled)","type":"text","disabled":true},{"key":"custom_domain","value":"0","description":"Permit configuration of custom domain name with compatible services (int 0 or 1)","type":"text","disabled":true},{"key":"reporting","value":"enabled","description":"Enable Historical Reporting (string enabled or disabled)","type":"text","disabled":true},{"key":"relay_url","value":"rtmp://myhost.com:1935/static/stream","description":"Relay URL for Video Service Live Stream Relay services","type":"text","disabled":true},{"key":"streamtargets","value":"Facebook,Youtube,Twitch,RTMP,Icecast","type":"text","disabled":true},{"key":"stream_targets_limit","value":"0","description":"Video Stream Targets limit","type":"text","disabled":true},{"key":"transcoder_profiles","value":"160p,240p","description":"Specify one or more values separated by a comma. Accepted values include: 160p, 240p, 360p, 480p, 576p, 720p, 1080p, 4k, passthru","type":"text","disabled":true},{"key":"ndvr","value":"enabled","type":"text","disabled":true},{"key":"password","value":"QfSo56HHs9hNLkCy","description":"Source/Stream Password for Audio Services","type":"text"},{"key":"adminpassword","value":"RHtysS6kLtobXA5G","description":"Admin password for Audio Serviecs & Live Streaming and FTP Password for Video Services","type":"text"}]},"url":"https://{{hostname}}:{{port}}/api/237/media-service/store"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Tue, 25 Jun 2024 03:43:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"return\": {\n        \"query\": true,\n        \"RunQuery\": true,\n        \"PluginQuery\": true,\n        \"insertID\": 51,\n        \"portbase\": 8020,\n        \"error\": false,\n        \"RunPluginQueryError\": false,\n        \"RunSourcePluginQueryError\": false,\n        \"restart\": false\n    },\n    \"service_id\": 51\n}"},{"id":"8fd5a2d1-2e40-4d65-bf72-bd3a4cf3c19f","name":"/api/{serverId}/media-service/store","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"userid","value":"1","type":"text"},{"key":"plugin","value":"icecast","type":"text","description":"shoutcast198, shoutcast2, icecast, wowzaMedia, Flussonic, NginxRtmp"},{"key":"sourceplugin","value":"liquidsoap","type":"text","description":"ices04, ices20, sctransv1, sctransv2","disabled":true},{"key":"servicetype","value":"Live Streaming","description":"Options for Video Streaming Services: Live Streaming, Ondemand Streaming, TV Station, Shoutcast, Live Stream Relay","type":"text","disabled":true},{"key":"unique_id","value":"My New Service","type":"text","description":"The Publish Name to identify the service, for example myShoutcastServer1"},{"key":"maxuser","value":"500","type":"text","description":"Maximum connections to the service."},{"key":"bitrate","value":"256","type":"text","description":"24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 400, 480, 560, 640, 720, 800, 920, 1024, 1280, 1536, 1792, 2048, 2560, 3072, 3584, 4096, 99999"},{"key":"bandwidth","value":"10240","type":"text","description":"Maximum Data Transfer per month in MB, specify 0 for no limit."},{"key":"quota","value":"1024","type":"text","description":"Maximum disk space allocation for service (defaults to 30). Set to 0 for no limit."},{"key":"mountpoints","value":"1","type":"text","description":"Number of audio mountpoints for a SHOUTcast or Icecast service","disabled":true},{"key":"maxsources","value":"1","type":"text","description":"Number of audio autodj allowed to be assigned","disabled":true},{"key":"proxy","value":"1","type":"text","description":"Stream Proxy enabled or disabled (int 0 or 1)","disabled":true},{"key":"geolock","value":"1","type":"text","description":"GeoIP Country Locking (int 0 or 1)","disabled":true},{"key":"allow_record_live","value":"1","type":"text","description":"(Audio) Allow recording of live broadcasts (int 0 or 1)","disabled":true},{"key":"streamauth","value":"enabled","description":"(Audio) Enable or disable Stream Authentication (string enabled or disabled)","type":"text","disabled":true},{"key":"custom_domain","value":"0","description":"Permit configuration of custom domain name with compatible services (int 0 or 1)","type":"text","disabled":true},{"key":"reporting","value":"enabled","description":"Enable Historical Reporting (string enabled or disabled)","type":"text","disabled":true},{"key":"relay_url","value":"rtmp://myhost.com:1935/static/stream","description":"Relay URL for Video Service Live Stream Relay services","type":"text","disabled":true},{"key":"streamtargets","value":"Facebook,Youtube,Twitch,RTMP,Icecast","type":"text","disabled":true},{"key":"stream_targets_limit","value":"0","description":"Video Stream Targets limit","type":"text","disabled":true},{"key":"transcoder_profiles","value":"160p,240p","description":"Specify one or more values separated by a comma. Accepted values include: 160p, 240p, 360p, 480p, 576p, 720p, 1080p, 4k, passthru","type":"text","disabled":true},{"key":"ndvr","value":"enabled","type":"text","disabled":true},{"key":"password","value":"QfSo56HHs9hNLkCy","description":"Source/Stream Password for Audio Services","type":"text"},{"key":"adminpassword","value":"RHtysS6kLtobXA5G","description":"Admin password for Audio Serviecs & Live Streaming and FTP Password for Video Services","type":"text"}]},"url":"https://{{hostname}}:{{port}}/api/237/media-service/store"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Tue, 25 Jun 2024 03:43:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"return\": {\n        \"query\": true,\n        \"RunQuery\": true,\n        \"PluginQuery\": true,\n        \"insertID\": 51,\n        \"portbase\": 8020,\n        \"error\": false,\n        \"RunPluginQueryError\": false,\n        \"RunSourcePluginQueryError\": false,\n        \"restart\": false\n    },\n    \"service_id\": 51\n}"}],"_postman_id":"a69fea81-cad8-4c53-acb6-d0dc001f38ef"},{"name":"Delete Service","id":"4e96ca24-d771-401d-9599-1ec73f7d75ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://{{hostname}}:{{port}}/api/243/media-service/delete","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","243","media-service","delete"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"3d991aac-ebf3-41ff-91b4-d03a2985775e","name":"/api/{serverId}/media-service/delete","originalRequest":{"method":"DELETE","header":[],"url":"https://{{hostname}}:{{port}}/api/243/media-service/delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 05:05:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\"\n}"}],"_postman_id":"4e96ca24-d771-401d-9599-1ec73f7d75ae"},{"name":"Restart Service","id":"ee2a579a-0bcb-4055-a439-8be93b4aa1cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/237/media-service/restart-service","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","237","media-service","restart-service"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"07f37315-7a71-41bc-a242-bbdb39ab659c","name":"/api/{serverId}/media-service/restart-service","originalRequest":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/237/media-service/restart-service"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 03:54:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"method\": \"castcontrol\",\n    \"sourcePlugin\": null,\n    \"error\": \"\",\n    \"sourceRestart\": {\n        \"status\": \"success\",\n        \"method\": \"castcontrol\",\n        \"error\": \"\"\n    }\n}"}],"_postman_id":"ee2a579a-0bcb-4055-a439-8be93b4aa1cd"},{"name":"Stop Service","id":"41f49c2b-e24a-470a-9afb-7fdb3b2bc91d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/237/media-service/stop-service","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","237","media-service","stop-service"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"4b5bbbec-ada2-44b3-9fcc-a1c168c1315f","name":"/api/{serverId}/media-service/stop-service","originalRequest":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/237/media-service/stop-service"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 03:56:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"method\": \"castcontrol\",\n    \"error\": \"pid cleared\"\n}"}],"_postman_id":"41f49c2b-e24a-470a-9afb-7fdb3b2bc91d"},{"name":"Start Service","id":"8959c34a-5663-4676-9311-dad139a8bce1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/start-service","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media-service","start-service"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"dbbd1577-42fe-4534-8477-40fcb97353d6","name":"/api/{{serverid}}/media-service/start-service","originalRequest":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/start-service"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 03:57:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"method\": \"castcontrol\",\n    \"error\": \"\",\n    \"sourceStart\": {\n        \"status\": \"success\",\n        \"method\": \"castcontrol\",\n        \"error\": \"\"\n    }\n}"}],"_postman_id":"8959c34a-5663-4676-9311-dad139a8bce1"},{"name":"Suspend Service","id":"bfd97e57-1590-4046-84ba-325b46d450aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/suspend?reason=reason&days=0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media-service","suspend"],"host":["{{hostname}}"],"query":[{"description":{"content":"<p>Text reason for suspension, or leave blank.</p>\n","type":"text/plain"},"key":"reason","value":"reason"},{"description":{"content":"<p>Duration in days, defaults to 99999</p>\n","type":"text/plain"},"key":"days","value":"0"}],"variable":[]}},"response":[],"_postman_id":"bfd97e57-1590-4046-84ba-325b46d450aa"},{"name":"Unsuspend Service","id":"28f91156-f3d3-41b4-9e23-0b465d181128","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/unsuspend","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media-service","unsuspend"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"28f91156-f3d3-41b4-9e23-0b465d181128"},{"name":"Service Stats","id":"5a269787-1bcd-48c5-b605-d6ec90999e83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/serviceInfo?extra=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media-service","serviceInfo"],"host":["{{hostname}}"],"query":[{"key":"extra","value":"1"}],"variable":[]}},"response":[{"id":"da0f9bef-13a9-48b5-8282-ca96df0ba994","name":"/api/{{serverid}}/media-service/serviceInfo (Video)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/serviceInfo?extra=1","protocol":"https","host":["{{hostname}}"],"port":"{{port}}","path":["api","{{serverId}}","media-service","serviceInfo"],"query":[{"key":"extra","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 14 Oct 2021 05:39:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"connections\": 0,\n    \"connectionsPercentage\": 0,\n    \"bandwidth\": 0,\n    \"bandwidthLimit\": 10737418240,\n    \"bandwidthPercentage\": 0,\n    \"storage\": 58962505,\n    \"storageLimit\": 10737418240,\n    \"storagePercentage\": 1,\n    \"mapData\": []\n}"},{"id":"043922c2-fd2d-474a-ae2b-63c6023f1aaa","name":"/api/{{serverid}}/media-service/serviceInfo (Audio)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/serviceInfo?extra=1","protocol":"https","host":["{{hostname}}"],"port":"{{port}}","path":["api","{{serverId}}","media-service","serviceInfo"],"query":[{"key":"extra","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 14 Oct 2021 05:41:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"connections\": 0,\n    \"connectionsPercentage\": 0,\n    \"bandwidth\": 10709168,\n    \"bandwidthLimit\": 10737418240,\n    \"bandwidthPercentage\": 1,\n    \"storage\": \"434308731\",\n    \"storageLimit\": 21474836480,\n    \"storagePercentage\": 4,\n    \"mapData\": [],\n    \"sourceEnabled\": true,\n    \"sourceStatus\": false,\n    \"broadcasting\": {\n        \"status\": false,\n        \"readable\": \" \",\n        \"ip\": \"\",\n        \"dj\": \"Live DJ\"\n    },\n    \"nowPlaying\": {\n        \"track\": \"\",\n        \"artist\": \"\",\n        \"cover\": \"https://your-domain.com:2000/system/theme/Material/images/defaultCover/black-vinyl-record-playing-on-turntable-1389429.jpg\"\n    },\n    \"trackHistory\": [\n        {\n            \"text\": \"Hero - Mariah Carey\",\n            \"title\": \"Hero\",\n            \"artist\": \"Mariah Carey\",\n            \"track_id\": 516,\n            \"dj\": null,\n            \"start\": \"2021-10-14T15:11:08+11:00\",\n            \"when\": \"1 hour ago\",\n            \"cover\": \"https://your-domain.com:2000/system/theme/Material/images/defaultCover/black-vinyl-record-playing-on-turntable-1389429.jpg\"\n        },\n        {\n            \"text\": \"Killing Me Softly - Fugees\",\n            \"title\": \"Killing Me Softly\",\n            \"artist\": \"Fugees\",\n            \"track_id\": 515,\n            \"dj\": null,\n            \"start\": \"2021-10-14T15:06:11+11:00\",\n            \"when\": \"1 hour ago\",\n            \"cover\": \"https://is2-ssl.mzstatic.com/image/thumb/Music/v4/72/47/2d/72472d71-d61c-eab1-e978-4965067feb47/source/100x100bb.jpg\"\n        },\n        {\n            \"text\": \"I'll Be - Edwin McCain\",\n            \"title\": \"I'll Be\",\n            \"artist\": \"Edwin McCain\",\n            \"track_id\": 530,\n            \"dj\": null,\n            \"start\": \"2021-10-14T15:01:56+11:00\",\n            \"when\": \"1 hour ago\",\n            \"cover\": \"https://is4-ssl.mzstatic.com/image/thumb/Music124/v4/f9/27/8b/f9278b61-b9e5-6e35-8cad-24a7942ea395/source/100x100bb.jpg\"\n        },\n        {\n            \"text\": \"Thank You - Dido\",\n            \"title\": \"Thank You\",\n            \"artist\": \"Dido\",\n            \"track_id\": 520,\n            \"dj\": null,\n            \"start\": \"2021-10-14T14:58:45+11:00\",\n            \"when\": \"1 hour ago\",\n            \"cover\": \"https://is1-ssl.mzstatic.com/image/thumb/Music124/v4/ab/c0/41/abc0419e-9948-8480-1c9b-7c2109cdf5c7/source/100x100bb.jpg\"\n        },\n        {\n            \"text\": \"Because Of You - 98 Degrees\",\n            \"title\": \"Because Of You\",\n            \"artist\": \"98 Degrees\",\n            \"track_id\": 534,\n            \"dj\": null,\n            \"start\": \"2021-10-14T14:58:39+11:00\",\n            \"when\": \"1 hour ago\",\n            \"cover\": \"https://is3-ssl.mzstatic.com/image/thumb/Music125/v4/2a/d9/e3/2ad9e3d7-766a-4065-7671-8420b176166c/source/100x100bb.jpg\"\n        }\n    ]\n}"}],"_postman_id":"5a269787-1bcd-48c5-b605-d6ec90999e83"},{"name":"Connections List","id":"5aab27d0-5de2-415e-b646-d8e0aaee9892","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/connections?page=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media-service","connections"],"host":["{{hostname}}"],"query":[{"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"086fa19f-440f-4a8a-8894-6c8256ce8f55","name":"/api/{{serverid}}/media-service/connections","originalRequest":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/connections"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 14 Oct 2021 05:45:02 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"country_name\": \"\",\n            \"country_code\": \"none\",\n            \"hostname\": \"192.168.33.1\",\n            \"agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36 Edg/94.0.992.47\",\n            \"connecttime\": \"52 seconds ago\"\n        }\n    ],\n    \"page\": 1,\n    \"pages\": 1,\n    \"total\": 1\n}"}],"_postman_id":"5aab27d0-5de2-415e-b646-d8e0aaee9892"},{"name":"Connection History Data","id":"d347c3bb-a15a-480d-9335-dd5e5483a8ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/connectionHistory","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media-service","connectionHistory"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"81840b39-00ea-430b-b3a1-7c50880ef150","name":"/api/{{serverid}}/media-service/connectionHistory","originalRequest":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/connectionHistory"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 14 Oct 2021 05:58:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"labels\": [\n        \"05am\",\n        \"06am\",\n        \"07am\",\n        \"08am\",\n        \"09am\",\n        \"10am\",\n        \"11am\",\n        \"12pm\",\n        \"01pm\",\n        \"02pm\",\n        \"03pm\",\n        \"04pm\"\n    ],\n    \"data\": [\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0\n    ]\n}"}],"_postman_id":"d347c3bb-a15a-480d-9335-dd5e5483a8ed"},{"name":"Bandwidth History Data","id":"b204fb70-41ce-4b04-b57c-cc72f2ee7b8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/bandwidthHistory","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media-service","bandwidthHistory"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"d3e8bcc4-711a-4635-9570-123158b9d3c0","name":"/api/{{serverid}}/media-service/bandwidthHistory","originalRequest":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/bandwidthHistory"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 14 Oct 2021 05:58:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"year\": 2021,\n        \"month\": \"October\",\n        \"monthLabel\": \"October\",\n        \"bandwidth\": \"10.21 MB\",\n        \"isThisMonth\": true\n    }\n]"}],"_postman_id":"b204fb70-41ce-4b04-b57c-cc72f2ee7b8a"},{"name":"Track History","id":"965c79bd-0da6-4eed-9b8f-7e2e6796be30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/trackHistory?limit=50","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media-service","trackHistory"],"host":["{{hostname}}"],"query":[{"description":{"content":"<p>Number of tracks to return (max 50 if liquidsoap autodj enabled)</p>\n","type":"text/plain"},"key":"limit","value":"50"}],"variable":[]}},"response":[{"id":"5169ba54-4d21-488c-b75f-0e7c6bdbf345","name":"/api/{{serverid}}/media-service/trackHistory","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/trackHistory?limit=50","protocol":"https","host":["{{hostname}}"],"port":"{{port}}","path":["api","{{serverId}}","media-service","trackHistory"],"query":[{"key":"limit","value":"50","description":"Number of tracks to return (max 50 if liquidsoap autodj enabled)","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 14 Oct 2021 06:03:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"text\": \"Thank You - Dido\",\n        \"title\": \"Thank You\",\n        \"artist\": \"Dido\",\n        \"track_id\": 520,\n        \"dj\": null,\n        \"start\": \"2021-10-14T16:58:59+11:00\",\n        \"when\": \"4 minutes ago\",\n        \"cover\": \"https://is1-ssl.mzstatic.com/image/thumb/Music124/v4/ab/c0/41/abc0419e-9948-8480-1c9b-7c2109cdf5c7/source/100x100bb.jpg\"\n    },\n    {\n        \"text\": \"Constant Craving - K.D. Lang\",\n        \"title\": \"Constant Craving\",\n        \"artist\": \"K.D. Lang\",\n        \"track_id\": 521,\n        \"dj\": null,\n        \"start\": \"2021-10-14T16:54:23+11:00\",\n        \"when\": \"9 minutes ago\",\n        \"cover\": \"https://videocontrolpanel.com:2000/covers//616275f28a3cd.jpeg\"\n    },\n    {\n        \"text\": \"Foolish Games - Jewel\",\n        \"title\": \"Foolish Games\",\n        \"artist\": \"Jewel\",\n        \"track_id\": 493,\n        \"dj\": null,\n        \"start\": \"2021-10-14T16:50:26+11:00\",\n        \"when\": \"13 minutes ago\",\n        \"cover\": \"https://videocontrolpanel.com:2000/covers//616275f1dec62.jpeg\"\n    },\n    {\n        \"text\": \"Beautiful Soul - Jesse McCartney\",\n        \"title\": \"Beautiful Soul\",\n        \"artist\": \"Jesse McCartney\",\n        \"track_id\": 532,\n        \"dj\": null,\n        \"start\": \"2021-10-14T16:46:59+11:00\",\n        \"when\": \"16 minutes ago\",\n        \"cover\": \"https://is5-ssl.mzstatic.com/image/thumb/Music128/v4/dd/b7/dd/ddb7dd93-96ed-bc15-e4b9-619016215aa9/source/100x100bb.jpg\"\n    },\n    {\n        \"text\": \"Hand In My Pocket - Alanis Morissette\",\n        \"title\": \"Hand In My Pocket\",\n        \"artist\": \"Alanis Morissette\",\n        \"track_id\": 539,\n        \"dj\": null,\n        \"start\": \"2021-10-14T16:43:27+11:00\",\n        \"when\": \"20 minutes ago\",\n        \"cover\": \"https://is1-ssl.mzstatic.com/image/thumb/Music125/v4/69/a7/73/69a773d6-7fa6-7b37-0d3c-590d2e2e33cc/source/100x100bb.jpg\"\n    },\n    {\n        \"text\": \"Found Out About You - Gin Blossoms\",\n        \"title\": \"Found Out About You\",\n        \"artist\": \"Gin Blossoms\",\n        \"track_id\": 527,\n        \"dj\": null,\n        \"start\": \"2021-10-14T15:15:16+11:00\",\n        \"when\": \"1 hour ago\",\n        \"cover\": \"https://videocontrolpanel.com:2000/covers//616275f2b400d.jpeg\"\n    },\n    {\n        \"text\": \"Hero - Mariah Carey\",\n        \"title\": \"Hero\",\n        \"artist\": \"Mariah Carey\",\n        \"track_id\": 516,\n        \"dj\": null,\n        \"start\": \"2021-10-14T15:11:08+11:00\",\n        \"when\": \"1 hour ago\",\n        \"cover\": \"https://videocontrolpanel.com:2000/covers//616275f265c1a.jpeg\"\n    },\n    {\n        \"text\": \"Killing Me Softly - Fugees\",\n        \"title\": \"Killing Me Softly\",\n        \"artist\": \"Fugees\",\n        \"track_id\": 515,\n        \"dj\": null,\n        \"start\": \"2021-10-14T15:06:11+11:00\",\n        \"when\": \"1 hour ago\",\n        \"cover\": \"https://is2-ssl.mzstatic.com/image/thumb/Music/v4/72/47/2d/72472d71-d61c-eab1-e978-4965067feb47/source/100x100bb.jpg\"\n    },\n    {\n        \"text\": \"I'll Be - Edwin McCain\",\n        \"title\": \"I'll Be\",\n        \"artist\": \"Edwin McCain\",\n        \"track_id\": 530,\n        \"dj\": null,\n        \"start\": \"2021-10-14T15:01:56+11:00\",\n        \"when\": \"2 hours ago\",\n        \"cover\": \"https://is4-ssl.mzstatic.com/image/thumb/Music124/v4/f9/27/8b/f9278b61-b9e5-6e35-8cad-24a7942ea395/source/100x100bb.jpg\"\n    },\n    {\n        \"text\": \"Thank You - Dido\",\n        \"title\": \"Thank You\",\n        \"artist\": \"Dido\",\n        \"track_id\": 520,\n        \"dj\": null,\n        \"start\": \"2021-10-14T14:58:45+11:00\",\n        \"when\": \"2 hours ago\",\n        \"cover\": \"https://is1-ssl.mzstatic.com/image/thumb/Music124/v4/ab/c0/41/abc0419e-9948-8480-1c9b-7c2109cdf5c7/source/100x100bb.jpg\"\n    },\n    {\n        \"text\": \"Because Of You - 98 Degrees\",\n        \"title\": \"Because Of You\",\n        \"artist\": \"98 Degrees\",\n        \"track_id\": 534,\n        \"dj\": null,\n        \"start\": \"2021-10-14T14:58:39+11:00\",\n        \"when\": \"2 hours ago\",\n        \"cover\": \"https://is3-ssl.mzstatic.com/image/thumb/Music125/v4/2a/d9/e3/2ad9e3d7-766a-4065-7671-8420b176166c/source/100x100bb.jpg\"\n    }\n]"},{"id":"f5e054fb-8cf5-4c38-bfb6-9f7b78388b2f","name":"/api/{{serverid}}/media-service/trackHistory (unsupported)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/trackHistory?limit=50","protocol":"https","host":["{{hostname}}"],"port":"{{port}}","path":["api","{{serverId}}","media-service","trackHistory"],"query":[{"key":"limit","value":"50","description":"Number of tracks to return (max 50 if liquidsoap autodj enabled)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 14 Oct 2021 06:09:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Track history is not supported for this service\"\n}"}],"_postman_id":"965c79bd-0da6-4eed-9b8f-7e2e6796be30"}],"id":"1acdd46e-cab4-4370-b4b6-e5e09abe06d0","_postman_id":"1acdd46e-cab4-4370-b4b6-e5e09abe06d0","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}}},{"name":"AutoDJ","item":[{"name":"Source Control","item":[{"name":"Disconnect DJ","id":"9eba59f3-326c-48c8-af00-5bc2fd923513","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/disconnectDj","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media-service","disconnectDj"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9eba59f3-326c-48c8-af00-5bc2fd923513"},{"name":"Stop Source","id":"e40a79b7-f7d9-46b9-b71f-dad2e98b6456","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/stopSource","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media-service","stopSource"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e40a79b7-f7d9-46b9-b71f-dad2e98b6456"},{"name":"Restart Source","id":"8a9ca119-e9c3-4d7b-9ed0-beaa9dcf0148","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/restartSource","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media-service","restartSource"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a9ca119-e9c3-4d7b-9ed0-beaa9dcf0148"},{"name":"Start Source","id":"0afee913-8856-4bd8-b4ba-99235d4909a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/startSource","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media-service","startSource"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0afee913-8856-4bd8-b4ba-99235d4909a4"}],"id":"b11511e9-aef1-4318-925c-7c6f3a1ac02f","_postman_id":"b11511e9-aef1-4318-925c-7c6f3a1ac02f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}}},{"name":"Playlist Tracks","item":[{"name":"List Tracks","id":"907873df-882d-44a5-9dc7-38d88ea10274","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/237/playlist-track/list/87?type=general","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","237","playlist-track","list","87"],"host":["{{hostname}}"],"query":[{"key":"type","value":"general"}],"variable":[]}},"response":[{"id":"d1b173a6-05a8-46b1-964d-f666f698f9ef","name":"/api/{serverId}/playlist-track/list/{id}","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{hostname}}:{{port}}/api/237/playlist-track/list/87?type=general","protocol":"https","host":["{{hostname}}"],"port":"{{port}}","path":["api","237","playlist-track","list","87"],"query":[{"key":"type","value":"general"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 02:16:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"tracks\": [\n        {\n            \"id\": 3428,\n            \"sort_order\": 0,\n            \"type\": \"track\",\n            \"path\": null,\n            \"artist\": \"Dan O'Connor (DanoSongs.com)\",\n            \"album\": \"Sample Music 1\",\n            \"track_id\": 719,\n            \"title\": \"En la Brisa\",\n            \"album_year\": \"2012\",\n            \"cover\": \"/covers/1/614989bad1ea2.jpeg\",\n            \"duration\": 71,\n            \"duration_human\": \"00:01:11\",\n            \"filename\": \"Sample.mp3\",\n            \"isrc\": null,\n            \"media_path\": \"/covers/1/614989bad1ea2.jpeg\"\n        }\n    ]\n}"}],"_postman_id":"907873df-882d-44a5-9dc7-38d88ea10274"},{"name":"Update Tracks","id":"562b2352-5533-47b8-8e5f-4ae8c70289a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist","value":"{\n  \"0\": {\n    \"type\": \"track\",\n    \"id\": 4\n  },\n  \"1\": {\n    \"type\": \"track\",\n    \"id\": 4\n  },\n  \"2\": {\n    \"type\": \"folder\",\n    \"path\": \"/90s\"\n  },\n  \"3\": {\n    \"type\": \"artist\",\n    \"artist\": \"Ed Sheeran\"\n  },\n  \"4\": {\n    \"type\": \"album\",\n    \"album\": \"÷\"\n  }\n}\n","type":"text"}]},"url":"https://{{hostname}}:{{port}}/api/237/playlist-track/update/15?type=jingle","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","237","playlist-track","update","15"],"host":["{{hostname}}"],"query":[{"description":{"content":"<p>general or jingle</p>\n","type":"text/plain"},"key":"type","value":"jingle"}],"variable":[]}},"response":[{"id":"bfac42c6-1c1b-45ef-a6a7-805e5edcd191","name":"/api/{serverId}/playlist-track/update/{id}","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[0][type]","value":"track","type":"text"},{"key":"playlist[0][id]","value":"719","type":"text"},{"key":"playlist[1][type]","value":"track","type":"text"},{"key":"playlist[1][id]","value":"720","type":"text"},{"key":"playlist[2][type]","value":"folder","type":"text"},{"key":"playlist[2][path]","value":"/90s","type":"text"},{"key":"playlist[3][type]","value":"artist","type":"text"},{"key":"playlist[3][artist]","value":"Ed Sheeran","type":"text"},{"key":"playlist[4][type]","value":"album","type":"text"},{"key":"playlist[4][album]","value":"÷","type":"text"}]},"url":{"raw":"https://{{hostname}}:{{port}}/api/237/playlist-track/update/15?type=jingle","protocol":"https","host":["{{hostname}}"],"port":"{{port}}","path":["api","237","playlist-track","update","15"],"query":[{"key":"type","value":"jingle","description":"general or jingle"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 03:43:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"[\n    \"ok\"\n]"}],"_postman_id":"562b2352-5533-47b8-8e5f-4ae8c70289a7"}],"id":"c7dfe21a-fb9c-44f3-80cb-0db548f285bb","_postman_id":"c7dfe21a-fb9c-44f3-80cb-0db548f285bb","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}}},{"name":"Media","item":[{"name":"List Media","id":"e1fa8939-cee0-4d72-9323-16f3489e146e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://videocontrolpanel.com:2020/api/13/media/list?path=/&page=1&sort=title&direction=asc","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","13","media","list"],"host":["videocontrolpanel","com"],"query":[{"key":"path","value":"/"},{"key":"page","value":"1"},{"key":"sort","value":"title"},{"key":"direction","value":"asc"},{"disabled":true,"description":{"content":"<p>Use title:, artist:, album:, duration: to refine search to specific meta data</p>\n","type":"text/plain"},"key":"search","value":"title:Ed Sheeran"},{"disabled":true,"description":{"content":"<p>Search all meta fields</p>\n","type":"text/plain"},"key":"search","value":"Ed Sheeran"}],"variable":[]}},"response":[{"id":"d4b9edae-b08a-4d8e-8c49-e6fc8e1acc40","name":"/api/{serverId}/media/list","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://videocontrolpanel.com:2020/api/237/media/list?path=/&page=1&sort=title&direction=asc","protocol":"https","host":["videocontrolpanel","com"],"port":"2020","path":["api","237","media","list"],"query":[{"key":"path","value":"/"},{"key":"page","value":"1"},{"key":"sort","value":"title"},{"key":"direction","value":"asc"},{"key":"search","value":"title:Ed Sheeran","description":"Use title:, artist:, album:, duration: to refine search to specific meta data","type":"text","disabled":true},{"key":"search","value":"Ed Sheeran","description":"Search all meta fields","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 02:16:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"folders\": [\n        {\n            \"id\": \"90s\",\n            \"title\": \"90s\",\n            \"path\": \"/90s\",\n            \"duration\": \"03:08:44\"\n        },\n        {\n            \"id\": \"Ads\",\n            \"title\": \"Ads\",\n            \"path\": \"/Ads\",\n            \"duration\": \"00:05:35\"\n        },\n        {\n            \"id\": \"Ed Sheeran\",\n            \"title\": \"Ed Sheeran\",\n            \"path\": \"/Ed Sheeran\",\n            \"duration\": \"00:55:06\"\n        },\n        {\n            \"id\": \"Hilltop Hoods\",\n            \"title\": \"Hilltop Hoods\",\n            \"path\": \"/Hilltop Hoods\",\n            \"duration\": \"00:42:54\"\n        },\n        {\n            \"id\": \"intro\",\n            \"title\": \"intro\",\n            \"path\": \"/intro\",\n            \"duration\": \"00:00:00\"\n        },\n        {\n            \"id\": \"ondemand\",\n            \"title\": \"ondemand\",\n            \"path\": \"/ondemand\",\n            \"duration\": \"00:00:00\"\n        },\n        {\n            \"id\": \"short\",\n            \"title\": \"short\",\n            \"path\": \"/short\",\n            \"duration\": \"00:02:22\"\n        }\n    ],\n    \"tracks\": {\n        \"current_page\": 1,\n        \"data\": [\n            {\n                \"id\": 811,\n                \"title\": \"En la Brisa\",\n                \"filename\": \"Sample Music 1.mp3\",\n                \"artist\": \"Dan O'Connor (DanoSongs.com)\",\n                \"album\": \"Sample Music 1\",\n                \"album_year\": \"2012\",\n                \"duration_human\": \"00:01:11\",\n                \"duration\": 71,\n                \"cover\": \"/covers/1/614989c03632a.jpeg\",\n                \"isrc\": null,\n                \"media_path\": \"/Sample Music 1.mp3\"\n            },\n            {\n                \"id\": 719,\n                \"title\": \"En la Brisa\",\n                \"filename\": \"Sample.mp3\",\n                \"artist\": \"Dan O'Connor (DanoSongs.com)\",\n                \"album\": \"Sample Music 1\",\n                \"album_year\": \"2012\",\n                \"duration_human\": \"00:01:11\",\n                \"duration\": 71,\n                \"cover\": \"/covers/1/614989bad1ea2.jpeg\",\n                \"isrc\": null,\n                \"media_path\": \"/Sample.mp3\"\n            },\n            {\n                \"id\": 812,\n                \"title\": \"I'm Gonna Go Instrumental\",\n                \"filename\": \"Sample Music 2.mp3\",\n                \"artist\": \"Dan O'Connor (DanoSongs.com)\",\n                \"album\": \"Sample Music 2\",\n                \"album_year\": \"2012\",\n                \"duration_human\": \"00:00:51\",\n                \"duration\": 51,\n                \"cover\": \"/covers/1/614989c03e6f3.jpeg\",\n                \"isrc\": null,\n                \"media_path\": \"/Sample Music 2.mp3\"\n            }\n        ],\n        \"first_page_url\": \"/?page=1\",\n        \"from\": 1,\n        \"last_page\": 1,\n        \"last_page_url\": \"/?page=1\",\n        \"next_page_url\": null,\n        \"path\": \"/\",\n        \"per_page\": 15,\n        \"prev_page_url\": null,\n        \"to\": 3,\n        \"total\": 3\n    }\n}"}],"_postman_id":"e1fa8939-cee0-4d72-9323-16f3489e146e"},{"name":"Upload Media","id":"17b4359d-8b58-48af-a158-6492ecb684a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"track","description":"<p>Base64 encoded file</p>\n","type":"file","uuid":"55325946-a97f-4dcd-bd09-077ab9510520","value":null},{"key":"path","value":"/","description":"<p>Path relative to users media directory</p>\n","type":"text","uuid":"4a30d21e-1fec-4281-8b93-0a40d8b1c1f7"}]},"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media/upload","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media","upload"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"17b4359d-8b58-48af-a158-6492ecb684a8"},{"name":"Update Media","id":"c4b16dd4-a758-49df-8633-d26557bb6f9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"1","description":"<p>Track ID</p>\n","type":"text","uuid":"6e921f99-6387-4c69-bf7b-9d8adca74025"},{"key":"title","value":"","type":"text","uuid":"6291e730-7eb5-4bae-b448-dd2cbdd63d3e","disabled":true},{"key":"artist","value":"","type":"text","uuid":"4076d708-8faa-4361-a113-9c31727f0726","disabled":true},{"key":"featuring","value":"","type":"text","uuid":"b6b8be1a-c535-47ed-a79c-98431f20e581","disabled":true},{"key":"album","value":"","type":"text","uuid":"fe88c2a0-e386-4604-a455-2476ed79c681","disabled":true},{"key":"album_year","value":"2006","type":"text","uuid":"93ee526f-17ac-4572-a891-f17017fe36cd","disabled":true},{"key":"isrc","value":"","type":"text","uuid":"95546ed6-e445-440f-a382-d324ff76e644","disabled":true},{"key":"url","value":"","description":"<p>Additional Meta Data</p>\n","type":"text","uuid":"e4588b3a-65a7-4772-82d7-0a385da6424f","disabled":true},{"key":"cover_url","value":"","description":"<p>URL to Cover</p>\n","type":"text","uuid":"0651d31c-62fa-4329-ad49-900d08a7ebc6","disabled":true}]},"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media/updateTrack","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media","updateTrack"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c4b16dd4-a758-49df-8633-d26557bb6f9e"},{"name":"Create Folder","id":"a2dfe341-bb40-4263-8585-bad9e4e7f69f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media/createFolder?title=Folder Name&path=/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media","createFolder"],"host":["{{hostname}}"],"query":[{"description":{"content":"<p>The folder name</p>\n","type":"text/plain"},"key":"title","value":"Folder Name"},{"description":{"content":"<p>Local path to create the new folder</p>\n","type":"text/plain"},"key":"path","value":"/"}],"variable":[]}},"response":[],"_postman_id":"a2dfe341-bb40-4263-8585-bad9e4e7f69f"},{"name":"Rename Folder","id":"80b94bb6-d733-4332-816f-88390f7b25be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media/renameFolder?path=/Ads&title=/Advertisements","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media","renameFolder"],"host":["{{hostname}}"],"query":[{"description":{"content":"<p>Full path to original file</p>\n","type":"text/plain"},"key":"path","value":"/Ads"},{"description":{"content":"<p>Full path to new file location</p>\n","type":"text/plain"},"key":"title","value":"/Advertisements"}],"variable":[]}},"response":[],"_postman_id":"80b94bb6-d733-4332-816f-88390f7b25be"},{"name":"Move Media","id":"75945e37-e678-42b9-a25b-e040f5729b2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media/renameFolder?tracks[0]=1&moveToPath=/Advertisements","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media","renameFolder"],"host":["{{hostname}}"],"query":[{"disabled":true,"description":{"content":"<p>(Folders Only) Move folders within this path</p>\n","type":"text/plain"},"key":"path","value":"/"},{"disabled":true,"key":"folders[0]","value":"Ads"},{"disabled":true,"key":"folders[1]","value":"Test"},{"description":{"content":"<p>Track ID in array</p>\n","type":"text/plain"},"key":"tracks[0]","value":"1"},{"description":{"content":"<p>Full path to new file location</p>\n","type":"text/plain"},"key":"moveToPath","value":"/Advertisements"}],"variable":[]}},"response":[],"_postman_id":"75945e37-e678-42b9-a25b-e040f5729b2c"},{"name":"Delete Media","id":"4c1d2d4c-efa0-4400-b818-9252b569c26b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media/delete?tracks[0]=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media","delete"],"host":["{{hostname}}"],"query":[{"disabled":true,"description":{"content":"<p>Array of folder paths</p>\n","type":"text/plain"},"key":"folders[0]","value":"/Ads"},{"disabled":true,"description":{"content":"<p>Array of folder paths</p>\n","type":"text/plain"},"key":"folders[1]","value":"/New"},{"description":{"content":"<p>Array of Track IDs</p>\n","type":"text/plain"},"key":"tracks[0]","value":"1"},{"disabled":true,"description":{"content":"<p>Array of track ids</p>\n","type":"text/plain"},"key":"tracks[1]","value":"2"}],"variable":[]}},"response":[],"_postman_id":"4c1d2d4c-efa0-4400-b818-9252b569c26b"}],"id":"defd8483-2abd-487d-92fe-d6de52acb8a8","description":"<p>API methods that provide access to Audio related Media tracks and folders</p>\n","_postman_id":"defd8483-2abd-487d-92fe-d6de52acb8a8","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}}},{"name":"Playlist","item":[{"name":"List Playlists","id":"d7b0d593-8f6a-4082-a98d-332bbecc3604","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/audio-playlist/list?page=1&sort=title&direction=asc","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","audio-playlist","list"],"host":["{{hostname}}"],"query":[{"key":"page","value":"1"},{"key":"sort","value":"title"},{"key":"direction","value":"asc"},{"disabled":true,"key":"search","value":"My Playlist"}],"variable":[]}},"response":[{"id":"186a4666-5f84-40a1-b497-6e5aef0b3123","name":"/api/{serverid}/audio-playlist/list","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://videocontrolpanel.com:2020/api/237/audio-playlist/list?page=1&sort=title&direction=asc","protocol":"https","host":["videocontrolpanel","com"],"port":"2020","path":["api","237","audio-playlist","list"],"query":[{"key":"page","value":"1"},{"key":"sort","value":"title"},{"key":"direction","value":"asc"},{"key":"search","value":"My Playlist","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 02:16:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"playlists\": {\n        \"data\": [\n            {\n                \"id\": 89,\n                \"server_id\": 237,\n                \"title\": \"New Playlist\",\n                \"status\": 1,\n                \"general_rotation\": 1,\n                \"weight\": 5,\n                \"shuffle\": 1,\n                \"items_count\": 0,\n                \"duration\": 0,\n                \"duration_human\": \"00:00:00\",\n                \"created_at\": {\n                    \"date\": \"2021-09-22 02:16:35.000000\",\n                    \"timezone_type\": 3,\n                    \"timezone\": \"UTC\"\n                },\n                \"updated_at\": {\n                    \"date\": \"2021-09-22 02:16:35.000000\",\n                    \"timezone_type\": 3,\n                    \"timezone\": \"UTC\"\n                }\n            },\n            {\n                \"id\": 88,\n                \"server_id\": 237,\n                \"title\": \"New Playlist\",\n                \"status\": 1,\n                \"general_rotation\": 1,\n                \"weight\": 5,\n                \"shuffle\": 1,\n                \"items_count\": 0,\n                \"duration\": 0,\n                \"duration_human\": \"00:00:00\",\n                \"created_at\": {\n                    \"date\": \"2021-09-22 02:16:04.000000\",\n                    \"timezone_type\": 3,\n                    \"timezone\": \"UTC\"\n                },\n                \"updated_at\": {\n                    \"date\": \"2021-09-22 02:16:04.000000\",\n                    \"timezone_type\": 3,\n                    \"timezone\": \"UTC\"\n                }\n            },\n            {\n                \"id\": 87,\n                \"server_id\": 237,\n                \"title\": \"test\",\n                \"status\": 1,\n                \"general_rotation\": 1,\n                \"weight\": 5,\n                \"shuffle\": 0,\n                \"items_count\": 1,\n                \"duration\": 71,\n                \"duration_human\": \"00:01:11\",\n                \"created_at\": {\n                    \"date\": \"2021-09-21 07:24:43.000000\",\n                    \"timezone_type\": 3,\n                    \"timezone\": \"UTC\"\n                },\n                \"updated_at\": {\n                    \"date\": \"2021-09-21 07:24:43.000000\",\n                    \"timezone_type\": 3,\n                    \"timezone\": \"UTC\"\n                }\n            }\n        ],\n        \"current_page\": 1,\n        \"last_page\": 1\n    }\n}"}],"_postman_id":"d7b0d593-8f6a-4082-a98d-332bbecc3604"},{"name":"Create Playlist","id":"0b5001ed-1744-4312-9918-026202dc91fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist","description":"<p>Playlist Name</p>\n","type":"text"},{"key":"playlist[status]","value":"true","description":"<p>Enabled or Disabled</p>\n","type":"text"},{"key":"playlist[general_rotation]","value":"true","description":"<p>Use in general rotations?</p>\n","type":"text"},{"key":"playlist[weight]","value":"5","description":"<p>Weight value 0 to 10</p>\n","type":"text"},{"key":"playlist[shuffle]","value":"true","description":"<p>Shuffle playback?</p>\n","type":"text"}]},"url":"https://{{hostname}}:{{port}}/api/237/audio-playlist/create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","237","audio-playlist","create"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"005cf124-8525-4439-b5b0-608dd5486c1d","name":"/api/{serverid}/audio-playlist/create","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist","description":"Playlist Name","type":"text"},{"key":"playlist[status]","value":"1","description":"Enabled or Disabled","type":"text"},{"key":"playlist[general_rotation]","value":"1","description":"Use in general rotations?","type":"text"},{"key":"playlist[weight]","value":"5","description":"Weight value 0 to 10","type":"text"},{"key":"playlist[shuffle]","value":"1","description":"Shuffle playback?","type":"text"}]},"url":"https://videocontrolpanel.com:2020/api/237/audio-playlist/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 02:16:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"playlist\": {\n        \"id\": 88,\n        \"server_id\": 237,\n        \"title\": \"New Playlist\",\n        \"status\": 1,\n        \"general_rotation\": 1,\n        \"weight\": 5,\n        \"shuffle\": 1,\n        \"created_at\": \"2021-09-22 02:16:04\",\n        \"updated_at\": \"2021-09-22 02:16:04\",\n        \"items_count\": 0,\n        \"duration\": 0,\n        \"duration_human\": \"00:00:00\",\n        \"tracks\": []\n    }\n}"}],"_postman_id":"0b5001ed-1744-4312-9918-026202dc91fd"},{"name":"Duplicate Playlist","id":"1c9849fb-ef1d-4975-a0b2-26be72199788","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist 2","description":"<p>Playlist Name</p>\n","type":"text","disabled":true}]},"url":"https://{{hostname}}:{{port}}/api/237/audio-playlist/copy/87","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","237","audio-playlist","copy","87"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"110262e5-4444-4cf2-b676-13ba33d66999","name":"/api/{serverid}/audio-playlist/copy/{id}","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist 2","description":"Playlist Name","type":"text","disabled":true}]},"url":"https://videocontrolpanel.com:2020/api/237/audio-playlist/copy/87"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 02:19:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"playlist\": {\n        \"id\": 92,\n        \"server_id\": 237,\n        \"title\": \"test - Copy\",\n        \"status\": 1,\n        \"general_rotation\": 1,\n        \"weight\": 5,\n        \"shuffle\": 0,\n        \"created_at\": \"2021-09-22 02:19:57\",\n        \"updated_at\": \"2021-09-22 02:19:57\",\n        \"items_count\": 1,\n        \"duration\": 71,\n        \"duration_human\": \"00:01:11\",\n        \"tracks\": [\n            {\n                \"id\": 3431,\n                \"user_id\": 1,\n                \"type\": \"track\",\n                \"track_id\": 719,\n                \"created_at\": \"2021-09-22 02:19:57\",\n                \"path\": null,\n                \"artist\": \"Dan O'Connor (DanoSongs.com)\",\n                \"album\": \"Sample Music 1\",\n                \"sort_order\": 0,\n                \"playlistable_id\": 92,\n                \"playlistable_type\": \"Models\\\\Audio\\\\PlaylistGeneral\",\n                \"updated_at\": \"2021-09-22 02:19:57\",\n                \"album_artist\": \"Dan O'Connor (DanoSongs.com)\",\n                \"album_year\": \"2012\",\n                \"cover\": \"/covers/1/614989bad1ea2.jpeg\",\n                \"title\": \"En la Brisa\",\n                \"duration\": 71,\n                \"duration_human\": \"00:01:11\",\n                \"track\": {\n                    \"id\": 719,\n                    \"user_id\": 1,\n                    \"filename\": \"Sample.mp3\",\n                    \"path\": \"/\",\n                    \"title\": \"En la Brisa\",\n                    \"artist\": \"Dan O'Connor (DanoSongs.com)\",\n                    \"featuring\": null,\n                    \"album\": \"Sample Music 1\",\n                    \"album_year\": \"2012\",\n                    \"cover_url\": \"/covers/1/614989bad1ea2.jpeg\",\n                    \"isrc\": null,\n                    \"bitrate\": 128,\n                    \"duration\": 71,\n                    \"filesize\": 1193775,\n                    \"filemtime\": 1609388735,\n                    \"filehash\": \"01ef74da5a0f0876b5a3107ef590dea0\"\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"1c9849fb-ef1d-4975-a0b2-26be72199788"},{"name":"Show Playlist","id":"c72144aa-d377-4845-a346-21b9b56bc5d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist 2","description":"<p>Playlist Name</p>\n","type":"text","disabled":true}]},"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/audio-playlist/show/12","description":"<p>Available since MediaCP 2.15.2</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","audio-playlist","show","12"],"host":["{{hostname}}"],"query":[{"disabled":true,"description":{"content":"<p>general or jingle</p>\n","type":"text/plain"},"key":"type","value":"general"}],"variable":[]}},"response":[{"id":"60b5abe9-641a-43e7-a3d2-04b03d651dee","name":"/api/{serverid}/audio-playlist/show/{id}","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist 2","description":"Playlist Name","type":"text","disabled":true}]},"url":{"raw":"https://{{hostname}}:{{port}}/api/{{serverId}}/audio-playlist/show/9","protocol":"https","host":["{{hostname}}"],"port":"{{port}}","path":["api","{{serverId}}","audio-playlist","show","9"],"query":[{"key":"type","value":"general","description":"general or jingle","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Sun, 28 Dec 2025 10:16:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.20"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"playlist\": {\n        \"id\": 9,\n        \"title\": \"playlist1\",\n        \"status\": 1,\n        \"general_rotation\": 1,\n        \"weight\": 5,\n        \"shuffle\": 0,\n        \"start_time\": \"00:00:00\",\n        \"end_time\": \"00:00:00\",\n        \"protect_tracks_every\": 10,\n        \"protect_tracks_type\": \"minutes\",\n        \"protect_albums_every\": 10,\n        \"protect_albums_type\": \"minutes\",\n        \"protect_artists_every\": 10,\n        \"protect_artists_type\": \"minutes\",\n        \"created_at\": \"2025-12-28T07:09:26.000000Z\",\n        \"updated_at\": \"2025-12-28T07:09:26.000000Z\"\n    }\n}"}],"_postman_id":"c72144aa-d377-4845-a346-21b9b56bc5d2"},{"name":"Delete Playlist","id":"6b6af276-a34d-43e6-9aa2-252f5e43de1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist 2","description":"<p>Playlist Name</p>\n","type":"text","disabled":true}]},"url":"https://{{hostname}}:{{port}}/api/237/audio-playlist/delete/93","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","237","audio-playlist","delete","93"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"a47f94d8-2f63-4ba6-8657-937761de5a37","name":"/api/{serverid}/audio-playlist/delete/{id}","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist 2","description":"Playlist Name","type":"text","disabled":true}]},"url":"https://videocontrolpanel.com:2020/api/237/audio-playlist/delete/93"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 02:27:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"messages\": []\n}"}],"_postman_id":"6b6af276-a34d-43e6-9aa2-252f5e43de1f"}],"id":"dccdbf37-024e-45f4-b62e-1e1a7a49ae0e","_postman_id":"dccdbf37-024e-45f4-b62e-1e1a7a49ae0e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}}},{"name":"Jingle","item":[{"name":"List Jingle Playlists","id":"7e83f6b4-6ae1-420c-9dc8-ae2e726c041a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://videocontrolpanel.com:2020/api/237/audio-playlist/list?page=1&sort=title&direction=asc","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","237","audio-playlist","list"],"host":["videocontrolpanel","com"],"query":[{"key":"page","value":"1"},{"key":"sort","value":"title"},{"key":"direction","value":"asc"},{"disabled":true,"key":"search","value":"My Playlist"}],"variable":[]}},"response":[],"_postman_id":"7e83f6b4-6ae1-420c-9dc8-ae2e726c041a"},{"name":"Create Jingle Playlist","id":"db40907a-ecaf-49e4-8bb2-cba7e13579f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist","description":"<p>Playlist Name</p>\n","type":"text"},{"key":"playlist[status]","value":"1","description":"<p>Enabled or Disabled</p>\n","type":"text"},{"key":"playlist[weight]","value":"5","description":"<p>Weight value 0 to 10</p>\n","type":"text"},{"key":"playlist[shuffle]","value":"1","description":"<p>Shuffle playback?</p>\n","type":"text"},{"key":"playlist[interrupt]","value":"0","type":"text"},{"key":"playlist[type]","value":"tracks","description":"<p>tracks, minutes or hourly</p>\n","type":"text"},{"key":"playlist[play_every]","value":"10","description":"<p>Play every x tracks/minutes</p>\n","type":"text"},{"key":"playlist[play_tracks]","value":"2","description":"<p>Play x tracks from the playlist every [play_every] [type]</p>\n","type":"text"},{"key":"playlist[play_time]","value":"0","description":"<p>If type = hourly, set the minute to play (0-59)</p>\n","type":"text","disabled":true},{"key":"playlist[day_monday]","value":"1","type":"text"},{"key":"playlist[day_tuesday]","value":"1","type":"text"},{"key":"playlist[day_wednesday]","value":"1","type":"text"},{"key":"playlist[day_thursday]","value":"1","type":"text"},{"key":"playlist[day_friday]","value":"1","type":"text"},{"key":"playlist[day_saturday]","value":"1","type":"text"},{"key":"playlist[day_sunday]","value":"1","type":"text"},{"key":"start_date","value":"2021-01-01","type":"text"},{"key":"end_date","value":"2021-01-30","type":"text"},{"key":"start_time","value":"16:00:00","type":"text","disabled":true},{"key":"end_time","value":"18:00:00","type":"text","disabled":true}]},"url":"https://videocontrolpanel.com:2020/api/237/jingle/create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","237","jingle","create"],"host":["videocontrolpanel","com"],"query":[],"variable":[]}},"response":[{"id":"0edd8fce-81fc-433a-8b77-94535b596f35","name":"/api/{serverid}/jingle/create","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist","description":"Playlist Name","type":"text"},{"key":"playlist[status]","value":"1","description":"Enabled or Disabled","type":"text"},{"key":"playlist[weight]","value":"5","description":"Weight value 0 to 10","type":"text"},{"key":"playlist[shuffle]","value":"1","description":"Shuffle playback?","type":"text"},{"key":"playlist[interrupt]","value":"0","type":"text"},{"key":"playlist[type]","value":"tracks","description":"tracks, minutes or hourly","type":"text"},{"key":"playlist[play_every]","value":"10","description":"Play every x tracks/minutes","type":"text"},{"key":"playlist[play_tracks]","value":"2","description":"Play x tracks from the playlist every [play_every] [type]","type":"text"},{"key":"playlist[play_time]","value":"0","description":"If type = hourly, set the minute to play (0-59)","type":"text","disabled":true},{"key":"playlist[day_monday]","value":"1","type":"text"},{"key":"playlist[day_tuesday]","value":"1","type":"text"},{"key":"playlist[day_wednesday]","value":"1","type":"text"},{"key":"playlist[day_thursday]","value":"1","type":"text"},{"key":"playlist[day_friday]","value":"1","type":"text"},{"key":"playlist[day_saturday]","value":"1","type":"text"},{"key":"playlist[day_sunday]","value":"1","type":"text"},{"key":"start_date","value":"2021-01-01","type":"text"},{"key":"end_date","value":"2021-01-30","type":"text"},{"key":"start_time","value":"16:00:00","type":"text","disabled":true},{"key":"end_time","value":"18:00:00","type":"text","disabled":true}]},"url":"https://videocontrolpanel.com:2020/api/237/jingle/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 02:44:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"playlist\": {\n        \"id\": 14,\n        \"server_id\": 237,\n        \"title\": \"New Playlist\",\n        \"status\": 1,\n        \"type\": \"tracks\",\n        \"play_every\": 10,\n        \"play_tracks\": 2,\n        \"play_time\": null,\n        \"interrupt\": 0,\n        \"shuffle\": 1,\n        \"day_monday\": 1,\n        \"day_tuesday\": 1,\n        \"day_wednesday\": 1,\n        \"day_thursday\": 1,\n        \"day_friday\": 1,\n        \"day_saturday\": 1,\n        \"day_sunday\": 1,\n        \"start_date\": null,\n        \"start_time\": null,\n        \"end_date\": null,\n        \"end_time\": null,\n        \"created_at\": \"2021-09-22 02:44:08\",\n        \"updated_at\": \"2021-09-22 02:44:08\",\n        \"items_count\": 0,\n        \"duration\": 0,\n        \"duration_human\": \"00:00:00\",\n        \"tracks\": []\n    }\n}"}],"_postman_id":"db40907a-ecaf-49e4-8bb2-cba7e13579f7"},{"name":"Duplicate Jingle Playlist","id":"85942b3d-1316-4ed4-8aa2-7a94a2ad5519","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist 2","description":"<p>Playlist Name</p>\n","type":"text","disabled":true}]},"url":"https://videocontrolpanel.com:2020/api/237/jingle/copy/14","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","237","jingle","copy","14"],"host":["videocontrolpanel","com"],"query":[],"variable":[]}},"response":[{"id":"a385bfe4-3b65-4f40-983e-4d4d0a605ce3","name":"/api/{serverid}/jingle/copy/{id}","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist 2","description":"Playlist Name","type":"text","disabled":true}]},"url":"https://videocontrolpanel.com:2020/api/237/jingle/copy/14"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 02:49:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"playlist\": {\n        \"id\": 16,\n        \"server_id\": 237,\n        \"title\": \"New Playlist - Copy\",\n        \"status\": 1,\n        \"type\": \"tracks\",\n        \"play_every\": 10,\n        \"play_tracks\": 2,\n        \"play_time\": null,\n        \"interrupt\": 0,\n        \"shuffle\": 1,\n        \"day_monday\": 1,\n        \"day_tuesday\": 1,\n        \"day_wednesday\": 1,\n        \"day_thursday\": 1,\n        \"day_friday\": 1,\n        \"day_saturday\": 1,\n        \"day_sunday\": 1,\n        \"start_date\": null,\n        \"start_time\": null,\n        \"end_date\": null,\n        \"end_time\": null,\n        \"created_at\": \"2021-09-22 02:49:22\",\n        \"updated_at\": \"2021-09-22 02:49:22\",\n        \"items_count\": 0,\n        \"duration\": 0,\n        \"duration_human\": \"00:00:00\",\n        \"tracks\": []\n    }\n}"}],"_postman_id":"85942b3d-1316-4ed4-8aa2-7a94a2ad5519"},{"name":"Delete Jingle Playlist","id":"15e88741-d1e9-4d10-8121-b2ea4298b3c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://videocontrolpanel.com:2020/api/237/jingle/delete/16","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","237","jingle","delete","16"],"host":["videocontrolpanel","com"],"query":[],"variable":[]}},"response":[{"id":"fe19b1a4-c7b5-4b7b-b3e3-075d4c4e966b","name":"/api/{serverid}/jingle/delete/{id}","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist 2","description":"Playlist Name","type":"text","disabled":true}]},"url":"https://videocontrolpanel.com:2020/api/237/jingle/delete/16"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 02:49:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true\n}"}],"_postman_id":"15e88741-d1e9-4d10-8121-b2ea4298b3c3"}],"id":"54e4db36-1d11-43bb-946f-208193a553d8","_postman_id":"54e4db36-1d11-43bb-946f-208193a553d8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}}},{"name":"Event / Schedule","item":[{"name":"List Events","id":"3aabd8e2-f7a9-4922-bd95-0b7c3f818745","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/event/list?start=2026-02-01 00:00:00&end=2026-02-28 23:59:59","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","event","list"],"host":["{{hostname}}"],"query":[{"disabled":true,"description":{"content":"<p>Available since MediaCP 2.15.2</p>\n","type":"text/plain"},"key":"parent_only","value":"1"},{"key":"start","value":"2026-02-01 00:00:00"},{"key":"end","value":"2026-02-28 23:59:59"}],"variable":[]}},"response":[{"id":"8a2eabb4-c1ef-4b69-8704-e1004bffe042","name":"/api/{serverid}/event/list","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{hostname}}:{{port}}/api/237/event/list?start=2021-09-01 00:00:00&end=2021-09-30 23:59:59","protocol":"https","host":["{{hostname}}"],"port":"{{port}}","path":["api","237","event","list"],"query":[{"key":"start","value":"2021-09-01 00:00:00","description":"UTC start datetime range"},{"key":"end","value":"2021-09-30 23:59:59","description":"UTC end datetime range (must be within 31 days from start date)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 03:14:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 43,\n        \"title\": \"test\",\n        \"start\": \"2021-09-22T02:30:00+10:00\",\n        \"end\": \"2021-09-22T09:00:00+10:00\",\n        \"draggable\": true\n    },\n    {\n        \"id\": 44,\n        \"title\": \"test\",\n        \"start\": \"2021-09-22T03:00:00+10:00\",\n        \"end\": \"2021-09-22T05:00:00+10:00\",\n        \"draggable\": true\n    }\n]"}],"_postman_id":"3aabd8e2-f7a9-4922-bd95-0b7c3f818745"},{"name":"Create Event","id":"f4430758-37f6-4f20-9833-6538d7b0c52c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist","description":"<p>Playlist Name</p>\n","type":"text"},{"key":"playlist[type]","value":"playlist","description":"<p>playlist or dj</p>\n","type":"text"},{"key":"playlist[dj_id]","value":"1","description":"<p>Where type is \"dj\", specify the dj_id of the relevant dj account</p>\n","type":"text","uuid":"c9eaabe5-4fa1-4751-a9b0-14e780d4ede9","disabled":true},{"key":"playlist[playlist_id]","value":"237","description":"<p>Where type is \"playlist\", specify the relevant playlist_id</p>\n","type":"text"},{"key":"playlist[shuffle]","value":"1","description":"<p>Shuffle playback?</p>\n","type":"text"},{"key":"playlist[interrupt]","value":"0","type":"text"},{"key":"playlist[play_every]","value":"10","description":"<p>Play every x tracks/minutes</p>\n","type":"text"},{"key":"playlist[play_tracks]","value":"2","description":"<p>Play x tracks from the playlist every [play_every] [type]</p>\n","type":"text"},{"key":"playlist[play_time]","value":"0","description":"<p>If type = hourly, set the minute to play (0-59)</p>\n","type":"text","disabled":true},{"key":"playlist[day_monday]","value":"1","type":"text"},{"key":"playlist[day_tuesday]","value":"1","type":"text"},{"key":"playlist[day_wednesday]","value":"1","type":"text"},{"key":"playlist[day_thursday]","value":"1","type":"text"},{"key":"playlist[day_friday]","value":"1","type":"text"},{"key":"playlist[day_saturday]","value":"1","type":"text"},{"key":"playlist[day_sunday]","value":"1","type":"text"},{"key":"playlist[start_date]","value":"2021-01-01","type":"text"},{"key":"playlist[end_date]","value":"2021-01-30","type":"text"},{"key":"playlist[start_time]","value":"16:00:00","type":"text"},{"key":"playlist[end_time]","value":"18:00:00","type":"text"},{"key":"playlist[recurrence]","value":"daily","description":"<p>once,daily,dayofmonth,dayofweek</p>\n","type":"text"},{"key":"start_dayofweek","value":"","description":"<p>If recurrence = dayofweek then set day of min: 0 max 6</p>\n","type":"text","disabled":true},{"key":"start_dayofmonth","value":"","description":"<p>If recurrence = dayofmonth then set day of min: 1 max:31</p>\n","type":"text","disabled":true},{"key":"playlist[repeat_weeks]","value":"1","description":"<p>If recurrence = daily then repeat every 1,2,3 or 4 weeks</p>\n","type":"text"},{"key":"playlist[loop]","value":"1","type":"text"}]},"url":"https://{{hostname}}:{{port}}/api/237/event/create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","237","event","create"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"ecfefe34-c292-4496-984b-3d49fd459b14","name":"/api/{serverid}/event/create","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist","description":"Playlist Name","type":"text"},{"key":"playlist[type]","value":"playlist","description":"playlist is currently only valid option","type":"text"},{"key":"playlist[playlist_id]","value":"237","type":"text"},{"key":"playlist[shuffle]","value":"1","description":"Shuffle playback?","type":"text"},{"key":"playlist[interrupt]","value":"0","type":"text"},{"key":"playlist[play_every]","value":"10","description":"Play every x tracks/minutes","type":"text"},{"key":"playlist[play_tracks]","value":"2","description":"Play x tracks from the playlist every [play_every] [type]","type":"text"},{"key":"playlist[play_time]","value":"0","description":"If type = hourly, set the minute to play (0-59)","type":"text","disabled":true},{"key":"playlist[day_monday]","value":"1","type":"text"},{"key":"playlist[day_tuesday]","value":"1","type":"text"},{"key":"playlist[day_wednesday]","value":"1","type":"text"},{"key":"playlist[day_thursday]","value":"1","type":"text"},{"key":"playlist[day_friday]","value":"1","type":"text"},{"key":"playlist[day_saturday]","value":"1","type":"text"},{"key":"playlist[day_sunday]","value":"1","type":"text"},{"key":"playlist[start_date]","value":"2021-01-01","type":"text"},{"key":"playlist[end_date]","value":"2021-01-30","type":"text"},{"key":"playlist[start_time]","value":"16:00:00","type":"text"},{"key":"playlist[end_time]","value":"18:00:00","type":"text"},{"key":"playlist[recurrence]","value":"daily","description":"once,daily,dayofmonth,dayofweek","type":"text"},{"key":"start_dayofweek","value":"","description":"If recurrence = dayofweek then set day of min: 0 max 6","type":"text","disabled":true},{"key":"start_dayofmonth","value":"","description":"If recurrence = dayofmonth then set day of min: 1 max:31","type":"text","disabled":true},{"key":"playlist[repeat_weeks]","value":"1","description":"If recurrence = daily then repeat every 1,2,3 or 4 weeks","type":"text"}]},"url":"https://{{hostname}}:{{port}}/api/237/event/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 03:14:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"playlist\": {\n        \"id\": 45,\n        \"server_id\": 237,\n        \"title\": \"New Playlist\",\n        \"type\": \"playlist\",\n        \"playlist_id\": 237,\n        \"dj_id\": null,\n        \"relay_url\": null,\n        \"interrupt\": 0,\n        \"shuffle\": 1,\n        \"recurrence\": \"daily\",\n        \"start_dayofweek\": null,\n        \"start_dayofmonth\": null,\n        \"start_date\": \"2021-01-01T16:00:00+11:00\",\n        \"start_time\": \"16:00:00\",\n        \"end_date\": \"2021-01-30T18:00:00+11:00\",\n        \"end_time\": \"18:00:00\",\n        \"day_monday\": 1,\n        \"day_tuesday\": 1,\n        \"day_wednesday\": 1,\n        \"day_thursday\": 1,\n        \"day_friday\": 1,\n        \"day_saturday\": 1,\n        \"day_sunday\": 1,\n        \"repeat_weeks\": 1,\n        \"repeat_until\": null,\n        \"created_at\": \"2021-09-22 03:14:17\",\n        \"updated_at\": \"2021-09-22 03:14:17\",\n        \"items_count\": 0,\n        \"duration\": 0,\n        \"duration_human\": \"00:00:00\",\n        \"tracks\": []\n    }\n}"}],"_postman_id":"f4430758-37f6-4f20-9833-6538d7b0c52c"},{"name":"Duplicate Event","id":"83d241d3-6365-410b-8675-8ad0cce20ddd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist 2","description":"<p>Playlist Name</p>\n","type":"text","disabled":true}]},"url":"https://videocontrolpanel.com:2020/api/237/event/copy/44","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","237","event","copy","44"],"host":["videocontrolpanel","com"],"query":[],"variable":[]}},"response":[{"id":"5e90c8d2-e14a-4025-9b03-fb0ea7d940d6","name":"/api/{serverid}/event/copy/{id}","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist 2","description":"Playlist Name","type":"text","disabled":true}]},"url":"https://videocontrolpanel.com:2020/api/237/event/copy/44"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 03:17:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"playlist\": {\n        \"id\": 46,\n        \"server_id\": 237,\n        \"title\": \"test - Copy\",\n        \"type\": \"playlist\",\n        \"playlist_id\": 88,\n        \"dj_id\": 0,\n        \"relay_url\": \"\",\n        \"interrupt\": 0,\n        \"shuffle\": 0,\n        \"recurrence\": \"once\",\n        \"start_dayofweek\": 0,\n        \"start_dayofmonth\": 1,\n        \"start_date\": \"2021-09-22T03:00:00+10:00\",\n        \"start_time\": \"03:00:00\",\n        \"end_date\": \"2021-09-22T05:00:00+10:00\",\n        \"end_time\": \"05:00:00\",\n        \"day_monday\": 1,\n        \"day_tuesday\": 1,\n        \"day_wednesday\": 1,\n        \"day_thursday\": 1,\n        \"day_friday\": 1,\n        \"day_saturday\": 1,\n        \"day_sunday\": 1,\n        \"repeat_weeks\": 1,\n        \"repeat_until\": \"0000-00-00\",\n        \"created_at\": \"2021-09-22 03:17:21\",\n        \"updated_at\": \"2021-09-22 03:17:21\",\n        \"items_count\": 0,\n        \"duration\": 0,\n        \"duration_human\": \"00:00:00\",\n        \"tracks\": []\n    }\n}"}],"_postman_id":"83d241d3-6365-410b-8675-8ad0cce20ddd"},{"name":"Show Event","id":"010f8d5a-43e2-4995-b781-e7f1a32ce539","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist 2","description":"<p>Playlist Name</p>\n","type":"text","disabled":true}]},"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/event/show/210","description":"<p>Available since MediaCP 2.15.2</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","event","show","210"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"7be8bd3b-5d9b-4958-9c6b-f539650bd9c3","name":"/api/{serverid}/event/show/{id}","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist 2","description":"Playlist Name","type":"text","disabled":true}]},"url":"https://videocontrolpanel.com:2020/api/38/event/show/5"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Sun, 28 Dec 2025 09:59:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.20"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5,\n    \"server_id\": 38,\n    \"parent_id\": null,\n    \"title\": \"Recurring Daily\",\n    \"type\": \"playlist\",\n    \"playlist_id\": 9,\n    \"dj_id\": 0,\n    \"dj_disconnect\": 1,\n    \"relay_url\": \"\",\n    \"interrupt\": 0,\n    \"shuffle\": 0,\n    \"loop\": 1,\n    \"recurrence\": \"daily\",\n    \"start_dayofweek\": 0,\n    \"start_dayofmonth\": 1,\n    \"start_date\": \"2025-12-28T19:00:00+11:00\",\n    \"start_time\": \"19:00:00\",\n    \"end_date\": \"2026-01-28T21:00:00+11:00\",\n    \"end_time\": \"21:00:00\",\n    \"day_monday\": 1,\n    \"day_tuesday\": 1,\n    \"day_wednesday\": 1,\n    \"day_thursday\": 1,\n    \"day_friday\": 1,\n    \"day_saturday\": 1,\n    \"day_sunday\": 1,\n    \"repeat_weeks\": 1,\n    \"repeat_until\": \"0000-00-00\",\n    \"protect_tracks_every\": 10,\n    \"protect_tracks_type\": \"minutes\",\n    \"protect_artists_every\": 10,\n    \"protect_artists_type\": \"minutes\",\n    \"protect_albums_every\": 10,\n    \"protect_albums_type\": \"minutes\",\n    \"created_at\": \"2025-12-28 07:09:41\",\n    \"updated_at\": \"2025-12-28 07:09:41\",\n    \"items_count\": 0,\n    \"duration\": 0,\n    \"duration_human\": \"00:00:00\",\n    \"server\": {\n        \"id\": 38,\n        \"system_id\": 1,\n        \"user_id\": 1,\n        \"unique_id\": \"icecastkh\",\n        \"slug\": \"icecastkh\",\n        \"plugin\": \"icecast_kh\",\n        \"sourceplugin\": \"liquidsoap\",\n        \"mountpoints\": \"1\",\n        \"stream_targets_limit\": 5,\n        \"maxsources\": \"1\",\n        \"reseller\": \"none\",\n        \"owner\": \"admin\",\n        \"plan\": \"none\",\n        \"maxuser\": \"100\",\n        \"bitrate\": \"256\",\n        \"portbase\": 8000,\n        \"quota\": 10240,\n        \"suspended\": \"\",\n        \"abuse\": 0,\n        \"sitepublic\": 1,\n        \"publicname\": \"none\",\n        \"player\": null,\n        \"player_key\": null,\n        \"socialmedia_post\": \"disabled\",\n        \"socialmedia_config\": null,\n        \"played_mailing\": 0,\n        \"streamauth\": \"disabled\",\n        \"geolock\": 0,\n        \"geolock_config\": 0,\n        \"reporting\": \"enabled\",\n        \"allow_custom_domain\": 1,\n        \"custom_domain\": \"\",\n        \"custom_domain_status\": 0,\n        \"public_page\": 1,\n        \"proxy\": 1,\n        \"stream_watermark\": 0,\n        \"playlist_ui\": 1,\n        \"preferred_connection\": \"default\",\n        \"stream_watermark_opacity\": 100,\n        \"stream_watermark_position\": \"right,bottom\",\n        \"vast_ads\": 0,\n        \"vast_ads_url\": \"\",\n        \"offline_image_url\": \"\",\n        \"bandwidth\": \"10240\",\n        \"expire\": \"0\",\n        \"cost_per_month\": \"plancost\",\n        \"notified\": 0,\n        \"monthly_report\": 0,\n        \"laststatuscheck\": 1766915941,\n        \"laststate\": \"online\",\n        \"laststream\": 0,\n        \"last_log_rotate\": 0,\n        \"historic_recent_updated_at\": 0,\n        \"historic_other_updated_at\": 0,\n        \"last_bandwidth_upd\": 0,\n        \"commitchanges\": 0,\n        \"transpid\": null,\n        \"pid\": \"5303\",\n        \"restarted_at\": \"2025-10-09 03:24:19\",\n        \"autodj_restarted_at\": null,\n        \"is_restarting\": 0,\n        \"is_suspending\": 0,\n        \"is_stopping\": 0,\n        \"is_removing\": 0,\n        \"is_source_restarting\": 0,\n        \"is_source_stopping\": 0,\n        \"created_at\": \"2025-10-09 03:24:18\",\n        \"created_by\": 1,\n        \"updated_at\": \"2025-10-09 03:24:19\",\n        \"user\": {\n            \"id\": 1,\n            \"username\": \"admin\",\n            \"user_level\": 2,\n            \"user_email\": \"admin@mediacp.net\",\n            \"contact_number\": \"N/A\",\n            \"account_notes\": \"N/A\",\n            \"name\": \"Administrator\",\n            \"country\": \"\",\n            \"timezone\": \"Australia/Sydney\",\n            \"theme\": \"none\",\n            \"language\": \"default\",\n            \"accessibility\": 0,\n            \"lastvisit\": 1766915928,\n            \"currentip\": \"127.0.0.1\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\",\n            \"lastip\": \"127.0.0.1\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\",\n            \"last_forget\": 0,\n            \"activated\": \"1\",\n            \"reseller_plan\": null,\n            \"reseller_plan_expire\": 0,\n            \"reseller\": \"none\",\n            \"preferredservice\": \"NginxRtmp\",\n            \"api_access\": 1,\n            \"webhook_url\": \"\",\n            \"created_at\": \"2025-07-02 13:49:16\",\n            \"updated_at\": \"2025-08-14 03:46:10\"\n        }\n    },\n    \"tracks\": []\n}"}],"_postman_id":"010f8d5a-43e2-4995-b781-e7f1a32ce539"},{"name":"Delete Event","id":"5192442c-dc1b-49e9-8c1d-216d85160b91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://videocontrolpanel.com:2020/api/237/event/delete/45","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","237","event","delete","45"],"host":["videocontrolpanel","com"],"query":[],"variable":[]}},"response":[{"id":"993ce019-2099-440f-94ea-28bc53cf17c0","name":"/api/{serverid}/event/delete/{id}","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://videocontrolpanel.com:2020/api/237/event/delete/45"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Wed, 22 Sep 2021 03:20:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"messages\": []\n}"}],"_postman_id":"5192442c-dc1b-49e9-8c1d-216d85160b91"}],"id":"68a371b8-b390-4e87-9da7-326d5c362e2a","_postman_id":"68a371b8-b390-4e87-9da7-326d5c362e2a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}}},{"name":"Skip Track","id":"e45a0de9-f251-46cc-8ea6-aeacb4014dca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/media-service/skip-track","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","media-service","skip-track"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e45a0de9-f251-46cc-8ea6-aeacb4014dca"}],"id":"4d041ff9-e6e1-4cfb-919c-9b7ad703ae17","_postman_id":"4d041ff9-e6e1-4cfb-919c-9b7ad703ae17","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}}},{"name":"VOD","item":[{"name":"Playlist","item":[{"name":"List Playlists","id":"76967d74-ade5-4475-84c8-405ad2d24142","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/ondemand-playlist/index","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","ondemand-playlist","index"],"host":["{{hostname}}"],"query":[{"disabled":true,"description":{"content":"<p>Optionally search by playlist name</p>\n","type":"text/plain"},"key":"search","value":"Default"}],"variable":[]}},"response":[{"id":"9a1d2188-1b67-40b7-aeec-6ed862a6fd30","name":"List Playlists","originalRequest":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":{"raw":"https://{{hostname}}:{{port}}/api/{{serverId}}/ondemand-playlist/index","protocol":"https","host":["{{hostname}}"],"port":"{{port}}","path":["api","{{serverId}}","ondemand-playlist","index"],"query":[{"key":"search","value":"Default","description":"Optionally search by playlist name","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Sun, 12 Oct 2025 20:01:44 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.20"},{"key":"Set-Cookie","value":"PHPSESSID=65e9m2g89qb323ejrav9s0p6mn; path=/"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"playlist_id\": 2,\n        \"server_id\": 4,\n        \"name\": \"Default Playlist\",\n        \"start_time\": \"0000-00-00 00:00:00\",\n        \"end_time\": null,\n        \"repeat\": \"yes\",\n        \"active\": \"yes\",\n        \"default\": 1,\n        \"calendar_color\": \"428bca\"\n    }\n]"}],"_postman_id":"76967d74-ade5-4475-84c8-405ad2d24142"},{"name":"Show Playlist","id":"222021f0-a277-4af6-b27d-d89ccb7cfe2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/ondemand-playlist/show/2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","ondemand-playlist","show","2"],"host":["{{hostname}}"],"query":[{"disabled":true,"description":{"content":"<p>Optionally search by playlist name</p>\n","type":"text/plain"},"key":"search","value":"Default"}],"variable":[]}},"response":[{"id":"c9a91944-5908-45ec-9afc-727bebf8ab86","name":"Show Playlist","originalRequest":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":{"raw":"https://{{hostname}}:{{port}}/api/{{serverId}}/ondemand-playlist/show/2","protocol":"https","host":["{{hostname}}"],"port":"{{port}}","path":["api","{{serverId}}","ondemand-playlist","show","2"],"query":[{"key":"search","value":"Default","description":"Optionally search by playlist name","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Sun, 12 Oct 2025 20:04:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.20"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"playlist_id\": 2,\n    \"server_id\": 4,\n    \"name\": \"Default Playlist\",\n    \"start_time\": \"0000-00-00 00:00:00\",\n    \"end_time\": null,\n    \"repeat\": \"yes\",\n    \"active\": \"yes\",\n    \"default\": 1,\n    \"calendar_color\": \"428bca\",\n    \"tracks\": [\n        {\n            \"filename\": \"sample.mp4\",\n            \"sortorder\": 0,\n            \"title\": \"sample.mp4\",\n            \"thumbnail\": \"a56d7b31de56f8885f006a25506f7e3d.jpg\",\n            \"seconds\": 635,\n            \"length\": \"00:10:35\",\n            \"format\": \"h264 288p\",\n            \"bitrate\": 625,\n            \"extension\": \"mp4\"\n        }\n    ]\n}"}],"_postman_id":"222021f0-a277-4af6-b27d-d89ccb7cfe2e"},{"name":"Show Available Tracks","id":"db539404-b1de-4904-af01-df7012a44fe4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/ondemand-playlist/availableTracks/2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","ondemand-playlist","availableTracks","2"],"host":["{{hostname}}"],"query":[{"disabled":true,"description":{"content":"<p>Optionally search by playlist name</p>\n","type":"text/plain"},"key":"search","value":"Default"}],"variable":[]}},"response":[{"id":"bbd8d12c-4104-4437-9f2a-87c5d342cb12","name":"Show Available Tracks","originalRequest":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":{"raw":"https://{{hostname}}:{{port}}/api/{{serverId}}/ondemand-playlist/availableTracks/2","protocol":"https","host":["{{hostname}}"],"port":"{{port}}","path":["api","{{serverId}}","ondemand-playlist","availableTracks","2"],"query":[{"key":"search","value":"Default","description":"Optionally search by playlist name","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Sun, 12 Oct 2025 20:03:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.20"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 2,\n        \"server_id\": 4,\n        \"filename\": \"sample.mp4\",\n        \"filemtime\": 1760299217,\n        \"thumbnail\": \"/temp/wowza/thumbnails/3e8e02fc506fa535eecfe0965e1a2024.jpg\",\n        \"md5\": \"3e8e02fc506fa535eecfe0965e1a2024\",\n        \"duration\": \"00:10:35\",\n        \"seconds\": 635,\n        \"bitrate\": 625,\n        \"video\": \"h264 288p\",\n        \"audio\": \"aac 48000Hz\",\n        \"force_refresh\": 0,\n        \"title\": \"Sample\",\n        \"format\": \"h264 288p\",\n        \"source\": \"mp4:sample.mp4\",\n        \"extension\": \"mp4\",\n        \"tags\": []\n    }\n]"}],"_postman_id":"db539404-b1de-4904-af01-df7012a44fe4"},{"name":"Create Playlist","id":"b42d9f2e-083a-4678-87f8-afe4e1dd8e13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"My Playlist","description":"<p>Playlist Name</p>\n","type":"text","uuid":"3294f385-71a8-45ef-8ad2-307ccc7c3ba7"}]},"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/ondemand-playlist/store","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","ondemand-playlist","store"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"643bfe72-178a-4f13-b84f-00057ccb5f2f","name":"Create Playlist","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"My Playlist","description":"Playlist Name","type":"text","uuid":"3294f385-71a8-45ef-8ad2-307ccc7c3ba7"}]},"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/ondemand-playlist/store"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Sun, 12 Oct 2025 20:05:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.20"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"server_id\": 4,\n    \"name\": \"My Playlist\",\n    \"playlist_id\": 3\n}"}],"_postman_id":"b42d9f2e-083a-4678-87f8-afe4e1dd8e13"},{"name":"Update Playlist","id":"52d6a324-3bdb-4e8b-8f3f-36a90ff99bc0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"My Playlist","type":"text","uuid":"a806682b-4da2-4fc3-8abd-9a394ce97ca7"},{"key":"default","value":"1","description":"<p>Is default Playlist on service overview?</p>\n","type":"text","uuid":"b684bf14-1cea-4ec3-8b9e-00c70cb88be9"},{"key":"PlaylistFieldData","value":"[\"sample.mp4\",\"sample.mp4\",\"sample.mp4\"]","description":"<p>JSON array of filenames</p>\n","type":"text","uuid":"42b4f781-6f67-40b0-8cec-d60139af3e5e"}]},"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/ondemand-playlist/update/3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","ondemand-playlist","update","3"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"b5369222-f420-4e5e-8a6f-584bd30adf17","name":"Update Playlist","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"My Playlist","type":"text","uuid":"a806682b-4da2-4fc3-8abd-9a394ce97ca7"},{"key":"default","value":"1","description":"Is default Playlist on service overview?","type":"text","uuid":"b684bf14-1cea-4ec3-8b9e-00c70cb88be9"},{"key":"PlaylistFieldData","value":"[\"sample.mp4\",\"sample.mp4\",\"sample.mp4\"]","description":"JSON array of filenames","type":"text","uuid":"42b4f781-6f67-40b0-8cec-d60139af3e5e"}]},"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/ondemand-playlist/update/3"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Sun, 12 Oct 2025 20:13:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.20"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"[\n    \"ok\"\n]"}],"_postman_id":"52d6a324-3bdb-4e8b-8f3f-36a90ff99bc0"},{"name":"Delete Playlist","id":"90b22c66-ac51-4b48-8cd6-917100c39783","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist 2","description":"<p>Playlist Name</p>\n","type":"text","disabled":true}]},"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/ondemand-playlist/delete/3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","ondemand-playlist","delete","3"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"f890b09b-f246-4455-b491-da7c3f3390a0","name":"Delete Playlist","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"playlist[title]","value":"New Playlist 2","description":"Playlist Name","type":"text","disabled":true}]},"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/ondemand-playlist/delete/3"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Sun, 12 Oct 2025 20:14:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.20"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"[\n    \"ok\"\n]"}],"_postman_id":"90b22c66-ac51-4b48-8cd6-917100c39783"}],"id":"e75d1be5-e05d-458d-b7c8-bc2bb1b2c690","_postman_id":"e75d1be5-e05d-458d-b7c8-bc2bb1b2c690","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}}}],"id":"5f0c27df-0e67-4d55-aa56-cba9619270f7","_postman_id":"5f0c27df-0e67-4d55-aa56-cba9619270f7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}}},{"name":"Admin","item":[{"name":"Announcement","item":[],"id":"93624257-5a4f-42b2-95b1-2ffa5a3b4efc","_postman_id":"93624257-5a4f-42b2-95b1-2ffa5a3b4efc","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}}},{"name":"Statistics","item":[{"name":"Summary","id":"cb2565f5-82c4-4897-b2d1-623a252aa42b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/0/Statistics","description":"<p>Provides recent summary of</p>\n<ul>\n<li>Current CPU, Memory &amp; Disk Usage</li>\n<li>Connections over last 6 hours</li>\n<li>Traffic over last 6 hours</li>\n<li>Services Summary</li>\n<li>Top Media Services</li>\n<li>Recent Logins</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","0","Statistics"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"6f66afbf-3945-497b-9ddc-e723fa4dfbbe","name":"Summary example","originalRequest":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/0/Statistics"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Tue, 26 Dec 2023 22:24:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"system\": {\n        \"cpu_percent\": 36,\n        \"memory_percent\": 50,\n        \"disk_percent\": {\n            \"mediacp\": {\n                \"path\": \"/usr/local/mediacp\",\n                \"disk\": \"/dev/sda1\",\n                \"used\": 12.08,\n                \"free\": 28.06,\n                \"total\": 40.14,\n                \"percent\": 31\n            },\n            \"content\": null\n        }\n    },\n    \"connections\": {\n        \"labels\": [\n            \"27th 3am\",\n            \"27th 4am\",\n            \"27th 5am\",\n            \"27th 6am\",\n            \"27th 7am\",\n            \"27th 8am\",\n            \"27th 9am\"\n        ],\n        \"data\": {\n            \"avg\": [\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0\n            ],\n            \"peak\": [\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0\n            ]\n        }\n    },\n    \"traffic\": {\n        \"labels\": [\n            \"27th 3am\",\n            \"27th 4am\",\n            \"27th 5am\",\n            \"27th 6am\",\n            \"27th 7am\",\n            \"27th 8am\",\n            \"27th 9am\"\n        ],\n        \"data\": {\n            \"avg\": [\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0\n            ],\n            \"peak\": [\n                0,\n                0,\n                0,\n                0,\n                0,\n                0,\n                0\n            ]\n        }\n    },\n    \"services\": {\n        \"totalservers\": 10,\n        \"onlineservers\": 8,\n        \"offlineservers\": 1,\n        \"activecustomers\": 5,\n        \"activeresellers\": 1,\n        \"currentmbps\": \"0.00\",\n        \"currentconnections\": \"0\"\n    },\n    \"topMediaServices\": [\n        {\n            \"id\": 1,\n            \"unique_id\": \"flussonictv\",\n            \"plugin\": \"Flussonic\",\n            \"connections\": 0,\n            \"status\": 1,\n            \"bitrate\": 2097,\n            \"nowplaying\": \"-\",\n            \"image\": \"Flussonic\"\n        },\n        {\n            \"id\": 2,\n            \"unique_id\": \"icecast\",\n            \"plugin\": \"icecast_kh\",\n            \"connections\": 0,\n            \"status\": 1,\n            \"bitrate\": 128,\n            \"nowplaying\": \"Dan O'Connor (DanoSongs.com) - En la Brisa\",\n            \"image\": \"icecast_kh\"\n        },\n        {\n            \"id\": 6,\n            \"unique_id\": \"nginxtv\",\n            \"plugin\": \"NginxRtmp\",\n            \"connections\": 0,\n            \"status\": 1,\n            \"bitrate\": 697,\n            \"nowplaying\": \"\",\n            \"image\": \"NginxRtmp\"\n        },\n        {\n            \"id\": 7,\n            \"unique_id\": \"audiotest\",\n            \"plugin\": \"icecast\",\n            \"connections\": 0,\n            \"status\": 1,\n            \"bitrate\": 64,\n            \"nowplaying\": \"Hilltop Hoods - The Great Expanse\",\n            \"image\": \"icecast\"\n        },\n        {\n            \"id\": 19,\n            \"unique_id\": \"IcecastKHTest\",\n            \"plugin\": \"icecast_kh\",\n            \"connections\": 0,\n            \"status\": 1,\n            \"bitrate\": 128,\n            \"nowplaying\": \"Dan O'Connor (DanoSongs.com) - En la Brisa\",\n            \"image\": \"icecast_kh\"\n        }\n    ],\n    \"recentLogins\": []\n}"}],"_postman_id":"cb2565f5-82c4-4897-b2d1-623a252aa42b"}],"id":"367986ac-ed4a-48cd-a8f4-74638ea94adf","_postman_id":"367986ac-ed4a-48cd-a8f4-74638ea94adf","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}}}],"id":"ac6e1b50-1501-4e7f-a34f-b7eb46c7fe53","_postman_id":"ac6e1b50-1501-4e7f-a34f-b7eb46c7fe53","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}}},{"name":"Stream Targets","item":[{"name":"List Stream Targets","id":"68c33579-483f-45dc-b146-4f0a1114278a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://videocontrolpanel.com:2020/api/20/stream-targets/list","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","20","stream-targets","list"],"host":["videocontrolpanel","com"],"query":[{"disabled":true,"key":"search","value":"My Playlist"}],"variable":[]}},"response":[{"id":"af12a7e1-b1f0-4aa6-ae14-039fc2ed0268","name":"/api/{serverid}/stream-targets/list","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://videocontrolpanel.com:2020/api/20/stream-targets/list","protocol":"https","host":["videocontrolpanel","com"],"port":"2020","path":["api","20","stream-targets","list"],"query":[{"key":"search","value":"My Playlist","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 14 Oct 2021 05:09:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"type\": \"Facebook\",\n        \"name\": \"face\",\n        \"enabled\": 0,\n        \"created_at\": \"2021-10-13 21:55:33\",\n        \"updated_at\": \"2021-10-13 23:37:40\"\n    },\n    {\n        \"id\": 2,\n        \"type\": \"Twitch\",\n        \"name\": \"twitych\",\n        \"enabled\": 1,\n        \"created_at\": \"2021-10-13 23:26:40\",\n        \"updated_at\": \"2021-10-13 23:27:46\"\n    }\n]"}],"_postman_id":"68c33579-483f-45dc-b146-4f0a1114278a"},{"name":"Stream Target Details","id":"5f97f0cf-7fcc-4332-a50c-8ec9c2081d7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://videocontrolpanel.com:2020/api/20/stream-targets/show/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","20","stream-targets","show","1"],"host":["videocontrolpanel","com"],"query":[{"disabled":true,"key":"search","value":"My Playlist"}],"variable":[]}},"response":[{"id":"92550282-b1e4-44eb-8b81-49c2d32a04b6","name":"/api/{serverid}/stream-targets/show/{stream-target-id}","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://videocontrolpanel.com:2020/api/20/stream-targets/show/1","protocol":"https","host":["videocontrolpanel","com"],"port":"2020","path":["api","20","stream-targets","show","1"],"query":[{"key":"search","value":"My Playlist","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 14 Oct 2021 05:16:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"type\": \"Facebook\",\n    \"name\": \"face\",\n    \"enabled\": 0,\n    \"status\": 0,\n    \"created_at\": [],\n    \"updated_at\": []\n}"}],"_postman_id":"5f97f0cf-7fcc-4332-a50c-8ec9c2081d7c"},{"name":"Stream Target Status","id":"be47b891-22df-40ed-b306-2e3f05f24f6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://videocontrolpanel.com:2020/api/20/stream-targets/status/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","20","stream-targets","status","1"],"host":["videocontrolpanel","com"],"query":[{"disabled":true,"key":"search","value":"My Playlist"}],"variable":[]}},"response":[{"id":"b36aece2-f7eb-4b7a-9749-89ba160f8d80","name":"/api/{serverid}/stream-targets/show/{stream-target-id}","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://videocontrolpanel.com:2020/api/20/stream-targets/show/1","protocol":"https","host":["videocontrolpanel","com"],"port":"2020","path":["api","20","stream-targets","show","1"],"query":[{"key":"search","value":"My Playlist","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 14 Oct 2021 05:16:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"type\": \"Facebook\",\n    \"name\": \"face\",\n    \"enabled\": 0,\n    \"status\": 0,\n    \"created_at\": [],\n    \"updated_at\": []\n}"}],"_postman_id":"be47b891-22df-40ed-b306-2e3f05f24f6d"},{"name":"Delete Stream Target","id":"40155fa3-f309-4606-a4a3-b0eeda9afa02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://videocontrolpanel.com:2020/api/20/stream-targets/delete/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","20","stream-targets","delete","1"],"host":["videocontrolpanel","com"],"query":[{"disabled":true,"key":"search","value":"My Playlist"}],"variable":[]}},"response":[{"id":"9aa85aa4-6cc0-4da6-80c5-618e240c4864","name":"/api/{serverid}/stream-targets/delete/{stream-target-id}","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://videocontrolpanel.com:2020/api/20/stream-targets/delete/1","protocol":"https","host":["videocontrolpanel","com"],"port":"2020","path":["api","20","stream-targets","delete","1"],"query":[{"key":"search","value":"My Playlist","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 14 Oct 2021 05:28:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true\n}"}],"_postman_id":"40155fa3-f309-4606-a4a3-b0eeda9afa02"},{"name":"Connect Stream Target","id":"c7356564-a23f-41f4-aa60-6a94349d94a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"https://videocontrolpanel.com:2020/api/20/stream-targets/connect/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","20","stream-targets","connect","1"],"host":["videocontrolpanel","com"],"query":[{"disabled":true,"key":"search","value":"My Playlist"}],"variable":[]}},"response":[{"id":"42638720-b578-40bc-9c8f-493dd5c8e1ed","name":"/api/{serverid}/stream-targets/connect/{stream-target-id}","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"https://videocontrolpanel.com:2020/api/20/stream-targets/connect/1","protocol":"https","host":["videocontrolpanel","com"],"port":"2020","path":["api","20","stream-targets","connect","1"],"query":[{"key":"search","value":"My Playlist","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 14 Oct 2021 05:25:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true\n}"}],"_postman_id":"c7356564-a23f-41f4-aa60-6a94349d94a5"},{"name":"Disconnect Stream Target","id":"e3e8acd0-624b-49a7-a938-d8a341aa9e5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"https://videocontrolpanel.com:2020/api/20/stream-targets/disconnect/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","20","stream-targets","disconnect","1"],"host":["videocontrolpanel","com"],"query":[{"disabled":true,"key":"search","value":"My Playlist"}],"variable":[]}},"response":[{"id":"a67462a3-44ff-4b71-b262-ccc40eb5fc61","name":"/api/{serverid}/stream-targets/disconnect/{stream-target-id}","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"https://videocontrolpanel.com:2020/api/20/stream-targets/disconnect/1","protocol":"https","host":["videocontrolpanel","com"],"port":"2020","path":["api","20","stream-targets","disconnect","1"],"query":[{"key":"search","value":"My Playlist","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 14 Oct 2021 05:27:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true\n}"}],"_postman_id":"e3e8acd0-624b-49a7-a938-d8a341aa9e5d"}],"id":"81e05a2e-197c-490d-9fc2-76ecf59e348e","_postman_id":"81e05a2e-197c-490d-9fc2-76ecf59e348e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}}},{"name":"Djs","item":[{"name":"List DJs","id":"68b1becf-d4f8-4be0-9b8a-2674b9ae3689","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://videocontrolpanel.com:2020/api/{{serverId}}/dj/list","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","{{serverId}}","dj","list"],"host":["videocontrolpanel","com"],"query":[],"variable":[]}},"response":[{"id":"2d7293da-82af-4429-be86-7a62bce1de9a","name":"/api/{serverid}/dj/list","originalRequest":{"method":"GET","header":[],"url":"https://videocontrolpanel.com:2020/api/23/dj/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 10 Mar 2022 04:51:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"server_id\": 23,\n        \"username\": \"dj12\",\n        \"real_name\": \"dj12\",\n        \"priority\": 10,\n        \"restricted\": 1,\n        \"mountpoint\": \"dj12\"\n    },\n    {\n        \"id\": 3,\n        \"server_id\": 23,\n        \"username\": \"test\",\n        \"real_name\": \"test\",\n        \"priority\": 1,\n        \"restricted\": 0,\n        \"mountpoint\": \"test\"\n    }\n]"}],"_postman_id":"68b1becf-d4f8-4be0-9b8a-2674b9ae3689"},{"name":"/api/{serverid}/dj/show/{dj-id}","id":"cb54e3a3-0b3a-4dd1-9d89-66da710a3069","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://videocontrolpanel.com:2020/api/{{serverId}}/dj/show/3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","{{serverId}}","dj","show","3"],"host":["videocontrolpanel","com"],"query":[],"variable":[]}},"response":[{"id":"4fe6f9fc-d90f-49c8-a4aa-80086c7b06bf","name":"/api/{serverid}/dj/show/{dj-id}","originalRequest":{"method":"GET","header":[],"url":"https://videocontrolpanel.com:2020/api/23/dj/show/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 10 Mar 2022 04:56:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3,\n    \"server_id\": 23,\n    \"username\": \"test\",\n    \"real_name\": \"test\",\n    \"priority\": 1,\n    \"restricted\": 0\n}"}],"_postman_id":"cb54e3a3-0b3a-4dd1-9d89-66da710a3069"},{"name":"/api/{serverid}/dj/enable/{dj-id}","id":"488245bb-273c-48a6-a3ea-2ca07c6d6443","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"https://videocontrolpanel.com:2020/api/23/dj/enable/3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","23","dj","enable","3"],"host":["videocontrolpanel","com"],"query":[{"disabled":true,"key":"search","value":"My Playlist"}],"variable":[]}},"response":[{"id":"1b54388a-dbdc-4fde-b6f7-25548898c933","name":"/api/{serverid}/dj/enable/{dj-id}","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"https://videocontrolpanel.com:2020/api/23/dj/enable/3","protocol":"https","host":["videocontrolpanel","com"],"port":"2020","path":["api","23","dj","enable","3"],"query":[{"key":"search","value":"My Playlist","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 10 Mar 2022 04:57:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    \"ok\"\n]"}],"_postman_id":"488245bb-273c-48a6-a3ea-2ca07c6d6443"},{"name":"/api/{serverid}/dj/disable/{dj-id}","id":"66139469-a40d-43ac-872b-f9194572da36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"https://videocontrolpanel.com:2020/api/{{serverId}}/dj/disable/3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","{{serverId}}","dj","disable","3"],"host":["videocontrolpanel","com"],"query":[],"variable":[]}},"response":[{"id":"7e8b1d81-06c4-491c-b255-b4cfc5c5dd04","name":"/api/{serverid}/dj/disable/{dj-id}","originalRequest":{"method":"PATCH","header":[],"url":"https://videocontrolpanel.com:2020/api/23/dj/disable/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 10 Mar 2022 04:58:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"[\n    \"ok\"\n]"}],"_postman_id":"66139469-a40d-43ac-872b-f9194572da36"},{"name":"/api/{serverid}/dj/store","id":"d648590f-8f73-49d1-91a9-117befadbc55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"real_name","value":"Matthew","type":"text","description":"<p>Display name</p>\n"},{"key":"username","value":"matt","type":"text"},{"key":"password","value":"mypassword","type":"text"},{"key":"status","value":"enabled","type":"text","description":"<p>enabled or disabled</p>\n"},{"key":"priority","value":"1","type":"text","description":"<p>Djs with higher priority will take precendence</p>\n"},{"key":"restricted","value":"1","type":"text","description":"<p>Restrict login to scheduled events only (liquidsoap only)</p>\n"}]},"url":"https://videocontrolpanel.com:2020/api/{{serverId}}/dj/store","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","{{serverId}}","dj","store"],"host":["videocontrolpanel","com"],"query":[],"variable":[]}},"response":[{"id":"99b78f8d-e3c5-400f-82d3-d12b94bbe896","name":"/api/{serverid}/dj/store","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"real_name","value":"Matthew","type":"text","description":"Display name"},{"key":"username","value":"matt","type":"text"},{"key":"password","value":"mypassword","type":"text"},{"key":"status","value":"enabled","type":"text","description":"enabled or disabled"},{"key":"priority","value":"1","type":"text","description":"Djs with higher priority will take precendence"},{"key":"restricted","value":"1","type":"text","description":"Restrict login to scheduled events only (liquidsoap only)"}]},"url":"https://videocontrolpanel.com:2020/api/23/dj/store"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 10 Mar 2022 05:18:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\",\n    \"dj\": {\n        \"id\": 12,\n        \"server_id\": 23,\n        \"username\": \"matt\",\n        \"real_name\": \"Matthew\",\n        \"priority\": 1,\n        \"restricted\": 1\n    }\n}"}],"_postman_id":"d648590f-8f73-49d1-91a9-117befadbc55"},{"name":"/api/{serverid}/dj/update/{dj-id}","id":"ae753606-6b0b-42de-82d8-b4a48ae6c618","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"real_name","value":"Matthew","type":"text","description":"<p>Display name</p>\n"},{"key":"username","value":"matt","type":"text"},{"key":"password","value":"mypassword","type":"text"},{"key":"status","value":"enabled","type":"text","description":"<p>enabled or disabled</p>\n"},{"key":"priority","value":"1","type":"text","description":"<p>Djs with higher priority will take precendence</p>\n"},{"key":"restricted","value":"1","type":"text","description":"<p>Restrict login to scheduled events only (liquidsoap only)</p>\n"}]},"url":"https://videocontrolpanel.com:2020/api/{{serverId}}/dj/update/3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","{{serverId}}","dj","update","3"],"host":["videocontrolpanel","com"],"query":[],"variable":[]}},"response":[{"id":"bb3516c8-1124-4eb7-9655-caeab59803e8","name":"/api/{serverid}/dj/update/{dj-id}","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"real_name","value":"Matthew","type":"text","description":"Display name"},{"key":"username","value":"matt","type":"text"},{"key":"password","value":"mypassworda","type":"text"},{"key":"status","value":"enabled","type":"text","description":"enabled or disabled"},{"key":"priority","value":"1","type":"text","description":"Djs with higher priority will take precendence"},{"key":"restricted","value":"1","type":"text","description":"Restrict login to scheduled events only (liquidsoap only)","disabled":true}]},"url":"https://videocontrolpanel.com:2020/api/23/dj/update/8"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 10 Mar 2022 05:16:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"status\": \"ok\",\n    \"dj\": {\n        \"id\": 8,\n        \"server_id\": 23,\n        \"username\": \"matt\",\n        \"real_name\": \"Matthew\",\n        \"priority\": 1,\n        \"restricted\": 1\n    }\n}"}],"_postman_id":"ae753606-6b0b-42de-82d8-b4a48ae6c618"},{"name":"/api/{serverid}/dj/delete/{dj-id}","id":"931a8d25-a3ac-45e4-a5d7-5f1dcc532a3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://videocontrolpanel.com:2020/api/{{serverId}}/dj/delete/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"2020","path":["api","{{serverId}}","dj","delete","1"],"host":["videocontrolpanel","com"],"query":[{"disabled":true,"key":"search","value":"My Playlist"}],"variable":[]}},"response":[{"id":"c54a9dfd-957f-4eff-af2b-b206bb137c82","name":"/api/{serverid}/dj/delete/{dj-id}","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://videocontrolpanel.com:2020/api/23/dj/delete/1","protocol":"https","host":["videocontrolpanel","com"],"port":"2020","path":["api","23","dj","delete","1"],"query":[{"key":"search","value":"My Playlist","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.16.0"},{"key":"Date","value":"Thu, 10 Mar 2022 04:56:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.24"},{"key":"Set-Cookie","value":"PHPSESSID=8lsbuqkkuqrs0841l22ud2jo82; path=/"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"[\n    \"ok\"\n]"}],"_postman_id":"931a8d25-a3ac-45e4-a5d7-5f1dcc532a3e"}],"id":"e6d65c43-0288-4f2e-a96f-c5acc592088e","description":"<p>Djs API interface available to Audio Services where either AutoDJ with Liquidsoap or sc_transv2 is utilized.</p>\n","_postman_id":"e6d65c43-0288-4f2e-a96f-c5acc592088e","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}}},{"name":"Users","item":[{"name":"List Users","id":"89cec896-74c6-412a-8963-513df94711fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://{{hostname}}:{{port}}/api/0/user/list?page=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","0","user","list"],"host":["{{hostname}}"],"query":[{"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"5845fe96-b379-4d03-a5ed-d00fcee2e4bc","name":"List Users","originalRequest":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/0/user/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Thu, 02 Mar 2023 10:20:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Set-Cookie","value":"PHPSESSID=602mbgnglv1ti10udkrbgbg00o; path=/"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"username\": \"admin\",\n            \"user_level\": 2,\n            \"user_email\": \"admin@test.com\",\n            \"contact_number\": \"N/A\",\n            \"account_notes\": \"N/A\",\n            \"name\": \"Administrator\",\n            \"country\": \"\",\n            \"timezone\": \"Australia/Sydney\",\n            \"theme\": \"none\",\n            \"language\": \"default\",\n            \"accessibility\": 0,\n            \"lastvisit\": 1677751093,\n            \"currentip\": \"192.168.33.1\\u0000\\u0000\\u0000\\u0000\",\n            \"lastip\": \"192.168.33.1\\u0000\\u0000\\u0000\\u0000\",\n            \"last_forget\": 0,\n            \"activated\": \"1\",\n            \"reseller_plan\": null,\n            \"reseller_plan_expire\": 0,\n            \"reseller\": \"none\",\n            \"preferredservice\": \"NginxRtmp\",\n            \"api_access\": 1,\n            \"created_at\": \"2022-09-27 01:12:57\",\n            \"updated_at\": \"2023-03-02 10:09:10\"\n        },\n        {\n            \"id\": 2,\n            \"username\": \"Customer\",\n            \"user_level\": 0,\n            \"user_email\": \"Customer@test.com\",\n            \"contact_number\": \"Customer\",\n            \"account_notes\": \"\",\n            \"name\": \"Customer\",\n            \"country\": \"\",\n            \"timezone\": \"Australia/Sydney\",\n            \"theme\": \"none\",\n            \"language\": \"default\",\n            \"accessibility\": 0,\n            \"lastvisit\": 0,\n            \"currentip\": \"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\",\n            \"lastip\": \"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\",\n            \"last_forget\": 0,\n            \"activated\": \"1\",\n            \"reseller_plan\": null,\n            \"reseller_plan_expire\": 0,\n            \"reseller\": \"none\",\n            \"preferredservice\": \"\",\n            \"api_access\": 0,\n            \"created_at\": \"2022-09-27 05:50:07\",\n            \"updated_at\": \"2022-09-27 05:50:07\"\n        },\n        {\n            \"id\": 3,\n            \"username\": \"reseller\",\n            \"user_level\": 0,\n            \"user_email\": \"resell@mediacp.net\",\n            \"contact_number\": \"123123\",\n            \"account_notes\": \"\",\n            \"name\": \"resell\",\n            \"country\": \"\",\n            \"timezone\": \"Australia/Sydney\",\n            \"theme\": \"none\",\n            \"language\": \"default\",\n            \"accessibility\": 0,\n            \"lastvisit\": 0,\n            \"currentip\": \"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\",\n            \"lastip\": \"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\",\n            \"last_forget\": 0,\n            \"activated\": \"1\",\n            \"reseller_plan\": 1,\n            \"reseller_plan_expire\": 0,\n            \"reseller\": \"none\",\n            \"preferredservice\": \"\",\n            \"api_access\": 0,\n            \"created_at\": \"2022-10-30 11:32:45\",\n            \"updated_at\": \"2022-10-30 11:33:23\"\n        },\n        {\n            \"id\": 4,\n            \"username\": \"test123\",\n            \"user_level\": 0,\n            \"user_email\": \"test@test.com\",\n            \"contact_number\": \"test\",\n            \"account_notes\": \"\",\n            \"name\": \"test\",\n            \"country\": \"\",\n            \"timezone\": \"Australia/Sydney\",\n            \"theme\": \"none\",\n            \"language\": \"default\",\n            \"accessibility\": 0,\n            \"lastvisit\": 0,\n            \"currentip\": \"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\",\n            \"lastip\": \"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\",\n            \"last_forget\": 0,\n            \"activated\": \"1\",\n            \"reseller_plan\": null,\n            \"reseller_plan_expire\": 0,\n            \"reseller\": \"3\",\n            \"preferredservice\": \"\",\n            \"api_access\": 0,\n            \"created_at\": \"2022-11-23 01:10:27\",\n            \"updated_at\": \"2022-11-23 01:10:27\"\n        },\n        {\n            \"id\": 10,\n            \"username\": \"123matt123@gmail.com\",\n            \"user_level\": 0,\n            \"user_email\": \"123matt123@gmail.com\",\n            \"contact_number\": \"123456778\",\n            \"account_notes\": \"\",\n            \"name\": \"Matt Lear\",\n            \"country\": \"\",\n            \"timezone\": \"Australia/Sydney\",\n            \"theme\": \"default\",\n            \"language\": \"default\",\n            \"accessibility\": 0,\n            \"lastvisit\": 0,\n            \"currentip\": \"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\",\n            \"lastip\": \"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\",\n            \"last_forget\": 0,\n            \"activated\": \"1\",\n            \"reseller_plan\": null,\n            \"reseller_plan_expire\": 0,\n            \"reseller\": \"none\",\n            \"preferredservice\": \"\",\n            \"api_access\": 0,\n            \"created_at\": \"2022-12-21 05:32:45\",\n            \"updated_at\": \"2022-12-21 05:32:45\"\n        }\n    ],\n    \"first_page_url\": \"/?page=1\",\n    \"from\": 1,\n    \"last_page\": 1,\n    \"last_page_url\": \"/?page=1\",\n    \"next_page_url\": null,\n    \"path\": \"/\",\n    \"per_page\": 15,\n    \"prev_page_url\": null,\n    \"to\": 5,\n    \"total\": 5\n}"}],"_postman_id":"89cec896-74c6-412a-8963-513df94711fa"},{"name":"Show User","id":"c5b5f62d-2b9b-4584-b467-0d10b147e6e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/0/user/show/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","0","user","show","1"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"0a01e356-fb1b-40b9-aa91-2dc4236527b7","name":"Show User","originalRequest":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/0/user/show/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Thu, 02 Mar 2023 10:47:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"username\": \"admin\",\n    \"user_level\": 2,\n    \"user_email\": \"admin@test.com\",\n    \"contact_number\": \"N/A\",\n    \"account_notes\": \"N/A\",\n    \"name\": \"Administrator\",\n    \"country\": \"\",\n    \"timezone\": \"Australia/Sydney\",\n    \"theme\": \"none\",\n    \"language\": \"default\",\n    \"accessibility\": 0,\n    \"lastvisit\": 1677751093,\n    \"currentip\": \"192.168.33.1\\u0000\\u0000\\u0000\\u0000\",\n    \"lastip\": \"192.168.33.1\\u0000\\u0000\\u0000\\u0000\",\n    \"last_forget\": 0,\n    \"activated\": \"1\",\n    \"reseller_plan\": null,\n    \"reseller_plan_expire\": 0,\n    \"reseller\": \"none\",\n    \"preferredservice\": \"NginxRtmp\",\n    \"api_access\": 1,\n    \"created_at\": \"2022-09-27 01:12:57\",\n    \"updated_at\": \"2023-03-02 10:09:10\"\n}"},{"id":"a75a2f82-b3d0-42b5-82f7-a6e08c7b74cd","name":"Show User","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{hostname}}:{{port}}/api/0/user/show?username=user@domain.com","protocol":"https","host":["{{hostname}}"],"port":"{{port}}","path":["api","0","user","show"],"query":[{"key":"username","value":"user@domain.com"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Thu, 02 Mar 2023 10:53:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 12,\n    \"username\": \"user@domain.com\",\n    \"user_level\": 0,\n    \"user_email\": \"user@domain.com\",\n    \"contact_number\": \"0242000000\",\n    \"account_notes\": \"\",\n    \"name\": \"Matt\",\n    \"country\": \"Australia\",\n    \"timezone\": \"Australia/Sydney\",\n    \"theme\": \"none\",\n    \"language\": \"english\",\n    \"accessibility\": 1,\n    \"lastvisit\": 0,\n    \"currentip\": \"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\",\n    \"lastip\": \"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\",\n    \"last_forget\": 0,\n    \"activated\": \"1\",\n    \"reseller_plan\": null,\n    \"reseller_plan_expire\": 0,\n    \"reseller\": \"none\",\n    \"preferredservice\": \"\",\n    \"api_access\": 0,\n    \"created_at\": \"2023-03-02 10:21:51\",\n    \"updated_at\": \"2023-03-02 10:21:51\"\n}"}],"_postman_id":"c5b5f62d-2b9b-4584-b467-0d10b147e6e7"},{"name":"Create User","id":"08676d0a-854e-43ce-a2fb-69681067a44b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Matt","type":"text"},{"key":"username","value":"user1@domain.com","type":"text"},{"key":"user_email","value":"user1@domain.com","type":"text"},{"key":"password","value":"password","type":"text"},{"key":"user_level","value":"2","type":"text","description":"<p>0 = User, 2 = Super Admin</p>\n"},{"key":"contact_number","value":"0242000000","type":"text"},{"key":"accessibility","value":"1","type":"text"},{"key":"country","value":"Australia","type":"text","description":"<p>MB</p>\n"},{"key":"timezone","value":"Australia/Sydney","type":"text","description":"<p>MB</p>\n"},{"key":"language","value":"english","type":"text"},{"key":"activated","value":"1","type":"text"},{"key":"reseller_plan","value":"","type":"text","disabled":true},{"key":"reseller","value":"","type":"text","disabled":true}]},"url":"https://{{hostname}}:{{port}}/api/0/user/store","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","0","user","store"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"56c3b013-01aa-44c8-aed5-2166c8c394be","name":"Create User","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Matt","type":"text"},{"key":"username","value":"user1@domain.com","type":"text"},{"key":"user_email","value":"user1@domain.com","type":"text"},{"key":"password","value":"password","type":"text"},{"key":"user_level","value":"2","type":"text","description":"0 = User, 2 = Super Admin"},{"key":"contact_number","value":"0242000000","type":"text"},{"key":"accessibility","value":"1","type":"text"},{"key":"country","value":"Australia","type":"text","description":"MB"},{"key":"timezone","value":"Australia/Sydney","type":"text","description":"MB"},{"key":"language","value":"english","type":"text"},{"key":"activated","value":"1","type":"text"},{"key":"reseller_plan","value":"","type":"text","disabled":true},{"key":"reseller","value":"","type":"text","disabled":true}]},"url":"https://{{hostname}}:{{port}}/api/0/user/store"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Thu, 02 Mar 2023 10:48:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\",\n    \"user\": {\n        \"id\": 17,\n        \"username\": \"user1@domain.com\",\n        \"user_level\": 2,\n        \"user_email\": \"user1@domain.com\",\n        \"contact_number\": \"0242000000\",\n        \"account_notes\": \"\",\n        \"name\": \"Matt\",\n        \"country\": \"Australia\",\n        \"timezone\": \"Australia/Sydney\",\n        \"theme\": \"none\",\n        \"language\": \"english\",\n        \"accessibility\": 1,\n        \"lastvisit\": 0,\n        \"currentip\": \"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\",\n        \"lastip\": \"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\",\n        \"last_forget\": 0,\n        \"activated\": \"1\",\n        \"reseller_plan\": null,\n        \"reseller_plan_expire\": 0,\n        \"reseller\": \"none\",\n        \"preferredservice\": \"\",\n        \"api_access\": 0,\n        \"created_at\": \"2023-03-02 10:48:11\",\n        \"updated_at\": \"2023-03-02 10:48:11\"\n    }\n}"}],"_postman_id":"08676d0a-854e-43ce-a2fb-69681067a44b"},{"name":"Delete User","id":"f55932d9-208e-45a3-be4a-3608bda28519","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://{{hostname}}:{{port}}/api/0/user/delete/17","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","0","user","delete","17"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"67ff520c-68b6-476f-8a2c-d6dd8f8f757a","name":"Delete User","originalRequest":{"method":"DELETE","header":[],"url":"https://{{hostname}}:{{port}}/api/0/user/delete/17"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Thu, 02 Mar 2023 10:48:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\"\n}"}],"_postman_id":"f55932d9-208e-45a3-be4a-3608bda28519"}],"id":"1885e37a-2b76-4b66-8424-dec34d592938","_postman_id":"1885e37a-2b76-4b66-8424-dec34d592938","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}}},{"name":"Video Media","item":[{"name":"List Media Tracks","id":"fdfab159-535f-43da-8ff4-6940015e1c21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/video-media/list?page=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","video-media","list"],"host":["{{hostname}}"],"query":[{"key":"page","value":"1"},{"disabled":true,"key":"search","value":"Eraser"},{"disabled":true,"key":"path","value":"Ads"}],"variable":[]}},"response":[{"id":"cbec6733-fa99-41f2-a6f3-fed5623a6f99","name":"List Media Tracks","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{hostname}}:{{port}}/api/{{serverId}}/filemanager/listTracks?page=1","protocol":"https","host":["{{hostname}}"],"port":"{{port}}","path":["api","{{serverId}}","filemanager","listTracks"],"query":[{"key":"page","value":"1"},{"key":"search","value":"Eraser","type":"text","disabled":true},{"key":"path","value":"Ads","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Sun, 21 Sep 2025 06:05:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.20"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": [\n        {\n            \"id\": 3,\n            \"filename\": \"01 - Eraser.mp3\",\n            \"title\": \"Eraser\",\n            \"artist\": \"Ed Sheeran\",\n            \"featuring\": null,\n            \"album\": \"÷\",\n            \"album_year\": \"2017\",\n            \"duration\": 227,\n            \"duration_human\": \"00:03:47\",\n            \"path\": \"/\",\n            \"cover_url\": \"/covers//68b04f108ae96.jpeg\",\n            \"cover\": \"/covers//68b04f108ae96.jpeg\",\n            \"isrc\": null,\n            \"url\": null,\n            \"type\": \"track\"\n        },\n        {\n            \"id\": 4,\n            \"filename\": \"Burger King - LOUD.mp3\",\n            \"title\": \"LOUD\",\n            \"artist\": \"Burger King\",\n            \"featuring\": null,\n            \"album\": null,\n            \"album_year\": null,\n            \"duration\": 53,\n            \"duration_human\": \"00:00:53\",\n            \"path\": \"/Ads\",\n            \"cover_url\": \"https://is1-ssl.mzstatic.com/image/thumb/Music/77/42/3f/mzi.wvpprggt.tif/100x100bb.jpg\",\n            \"cover\": \"https://is1-ssl.mzstatic.com/image/thumb/Music/77/42/3f/mzi.wvpprggt.tif/100x100bb.jpg\",\n            \"isrc\": null,\n            \"url\": \"http://test.com\",\n            \"type\": \"track\"\n        },\n        {\n            \"id\": 5,\n            \"filename\": \"Burger King Radio 2 voice over by DC Douglas.mp3\",\n            \"title\": \"Burger King Radio 2 voice over by DC Douglas\",\n            \"artist\": \"\",\n            \"featuring\": null,\n            \"album\": null,\n            \"album_year\": null,\n            \"duration\": 53,\n            \"duration_human\": \"00:00:53\",\n            \"path\": \"/Ads\",\n            \"cover_url\": \"0\",\n            \"cover\": \"/system/theme/Material/images/defaultCover/black-vinyl-record-playing-on-turntable-1389429.jpg\",\n            \"isrc\": null,\n            \"url\": null,\n            \"type\": \"track\"\n        },\n        {\n            \"id\": 6,\n            \"filename\": \"IKEA Morning Face Radio Spot.mp3\",\n            \"title\": \"IKEA Morning Face Radio Spot\",\n            \"artist\": \"\",\n            \"featuring\": null,\n            \"album\": null,\n            \"album_year\": null,\n            \"duration\": 32,\n            \"duration_human\": \"00:00:32\",\n            \"path\": \"/Ads\",\n            \"cover_url\": \"0\",\n            \"cover\": \"/system/theme/Material/images/defaultCover/black-vinyl-record-playing-on-turntable-1389429.jpg\",\n            \"isrc\": null,\n            \"url\": null,\n            \"type\": \"track\"\n        },\n        {\n            \"id\": 7,\n            \"filename\": \"McDonalds radio ad for FiletOfish.mp3\",\n            \"title\": \"McDonalds radio ad for FiletOfish\",\n            \"artist\": \"\",\n            \"featuring\": null,\n            \"album\": null,\n            \"album_year\": null,\n            \"duration\": 30,\n            \"duration_human\": \"00:00:30\",\n            \"path\": \"/Ads\",\n            \"cover_url\": \"0\",\n            \"cover\": \"/system/theme/Material/images/defaultCover/black-vinyl-record-playing-on-turntable-1389429.jpg\",\n            \"isrc\": null,\n            \"url\": null,\n            \"type\": \"track\"\n        },\n        {\n            \"id\": 8,\n            \"filename\": \"Milo Ad.mp3\",\n            \"title\": \"Milo Ad\",\n            \"artist\": \"\",\n            \"featuring\": null,\n            \"album\": null,\n            \"album_year\": null,\n            \"duration\": 30,\n            \"duration_human\": \"00:00:30\",\n            \"path\": \"/Ads\",\n            \"cover_url\": \"https://is1-ssl.mzstatic.com/image/thumb/Music122/v4/fb/b6/d6/fbb6d6e7-72da-2398-2664-5cc053bdec53/cover_4099885109256.jpg/100x100bb.jpg\",\n            \"cover\": \"https://is1-ssl.mzstatic.com/image/thumb/Music122/v4/fb/b6/d6/fbb6d6e7-72da-2398-2664-5cc053bdec53/cover_4099885109256.jpg/100x100bb.jpg\",\n            \"isrc\": null,\n            \"url\": null,\n            \"type\": \"track\"\n        },\n        {\n            \"id\": 9,\n            \"filename\": \"Pizza Hut  Radio VO Demo Upbeat promo.mp3\",\n            \"title\": \"Pizza Hut  Radio VO Demo Upbeat promo\",\n            \"artist\": \"\",\n            \"featuring\": null,\n            \"album\": null,\n            \"album_year\": null,\n            \"duration\": 30,\n            \"duration_human\": \"00:00:30\",\n            \"path\": \"/Ads\",\n            \"cover_url\": \"0\",\n            \"cover\": \"/system/theme/Material/images/defaultCover/black-vinyl-record-playing-on-turntable-1389429.jpg\",\n            \"isrc\": null,\n            \"url\": null,\n            \"type\": \"track\"\n        },\n        {\n            \"id\": 10,\n            \"filename\": \"Pizza Hut Radio  World Cup English.mp3\",\n            \"title\": \"Pizza Hut Radio  World Cup English\",\n            \"artist\": \"\",\n            \"featuring\": null,\n            \"album\": null,\n            \"album_year\": null,\n            \"duration\": 28,\n            \"duration_human\": \"00:00:28\",\n            \"path\": \"/Ads\",\n            \"cover_url\": \"0\",\n            \"cover\": \"/system/theme/Material/images/defaultCover/black-vinyl-record-playing-on-turntable-1389429.jpg\",\n            \"isrc\": null,\n            \"url\": null,\n            \"type\": \"track\"\n        },\n        {\n            \"id\": 11,\n            \"filename\": \"radio advert.mp3\",\n            \"title\": \"radio advert\",\n            \"artist\": \"\",\n            \"featuring\": null,\n            \"album\": null,\n            \"album_year\": null,\n            \"duration\": 25,\n            \"duration_human\": \"00:00:25\",\n            \"path\": \"/Ads\",\n            \"cover_url\": \"https://is1-ssl.mzstatic.com/image/thumb/Music122/v4/cd/f3/21/cdf321bf-2c03-f8b9-8845-b81cea4841ba/artwork.jpg/100x100bb.jpg\",\n            \"cover\": \"https://is1-ssl.mzstatic.com/image/thumb/Music122/v4/cd/f3/21/cdf321bf-2c03-f8b9-8845-b81cea4841ba/artwork.jpg/100x100bb.jpg\",\n            \"isrc\": null,\n            \"url\": null,\n            \"type\": \"track\"\n        },\n        {\n            \"id\": 2,\n            \"filename\": \"Sample Music 1.mp3\",\n            \"title\": \"En la Brisa\",\n            \"artist\": \"Dan O'Connor (DanoSongs.com)\",\n            \"featuring\": null,\n            \"album\": \"Sample Music 1\",\n            \"album_year\": \"2012\",\n            \"duration\": 71,\n            \"duration_human\": \"00:01:11\",\n            \"path\": \"/\",\n            \"cover_url\": \"/covers//68a863acd15bc.jpeg\",\n            \"cover\": \"/covers//68a863acd15bc.jpeg\",\n            \"isrc\": null,\n            \"url\": null,\n            \"type\": \"track\"\n        },\n        {\n            \"id\": 12,\n            \"filename\": \"sample.mp3\",\n            \"title\": \"Blizzard (PON I)\",\n            \"artist\": \"Kai Engel\",\n            \"featuring\": null,\n            \"album\": \"Chapter One / Cold\",\n            \"album_year\": \"2015\",\n            \"duration\": 182,\n            \"duration_human\": \"00:03:02\",\n            \"path\": \"/\",\n            \"cover_url\": \"https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/9c/d7/1b/9cd71b1a-5ccf-bad3-9e18-e0df0f1d48d6/5054316171102.png/100x100bb.jpg\",\n            \"cover\": \"https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/9c/d7/1b/9cd71b1a-5ccf-bad3-9e18-e0df0f1d48d6/5054316171102.png/100x100bb.jpg\",\n            \"isrc\": null,\n            \"url\": null,\n            \"type\": \"track\"\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 20,\n        \"total\": 11,\n        \"total_pages\": 1,\n        \"has_next_page\": false,\n        \"has_prev_page\": false\n    },\n    \"filters\": {\n        \"search\": null,\n        \"path\": null,\n        \"sort_by\": \"filename\",\n        \"sort_order\": \"asc\"\n    }\n}"}],"_postman_id":"fdfab159-535f-43da-8ff4-6940015e1c21"},{"name":"Upload Media File","id":"ca9444cf-efe7-4d79-ab8c-84fed3e3e2e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"url","value":"http://mirror.mediacp.net/download/common/sample.mp4","description":"<p>Video File</p>\n","type":"text","uuid":"6e921f99-6387-4c69-bf7b-9d8adca74025"},{"key":"path","value":"/Test","description":"<p>Path to upload file relative to media directory (Audio Only)</p>\n","type":"text","uuid":"6291e730-7eb5-4bae-b448-dd2cbdd63d3e"}]},"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/video-media/upload","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","video-media","upload"],"host":["{{hostname}}"],"query":[],"variable":[]}},"response":[{"id":"f1be5a1f-6965-40e9-8a2c-5830e3e39bc4","name":"Upload Media File","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"url","value":"http://mirror.mediacp.net/download/common/sample.mp4","description":"Video File","type":"text","uuid":"6e921f99-6387-4c69-bf7b-9d8adca74025"},{"key":"path","value":"/Test","description":"Path to upload file relative to media directory (Audio Only)","type":"text","uuid":"6291e730-7eb5-4bae-b448-dd2cbdd63d3e"}]},"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/video-media/upload"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Sun, 21 Sep 2025 08:11:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.20"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"filename\": \"sample.mp4\",\n    \"size\": 58958409,\n    \"source\": \"url\"\n}"}],"_postman_id":"ca9444cf-efe7-4d79-ab8c-84fed3e3e2e9"},{"name":"Delete Media File","id":"2f94510a-54c2-429e-bb76-8c80cab60092","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://{{hostname}}:{{port}}/api/{{serverId}}/video-media/delete?filename=sample.mp4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","{{serverId}}","video-media","delete"],"host":["{{hostname}}"],"query":[{"key":"filename","value":"sample.mp4"}],"variable":[]}},"response":[{"id":"22913eae-6c4d-4e6f-9ce0-0b5ce72ffd20","name":"Delete Media File","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://{{hostname}}:{{port}}/api/{{serverId}}/filemanager/deleteTrack?track_id=6","protocol":"https","host":["{{hostname}}"],"port":"{{port}}","path":["api","{{serverId}}","filemanager","deleteTrack"],"query":[{"key":"track_id","value":"6"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Sun, 21 Sep 2025 07:07:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.20"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Track deleted successfully\"\n}"}],"_postman_id":"2f94510a-54c2-429e-bb76-8c80cab60092"}],"id":"a140fb95-4a18-4f6f-90b6-43d6f8bfde1b","_postman_id":"a140fb95-4a18-4f6f-90b6-43d6f8bfde1b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}}},{"name":"Stream Events","item":[{"name":"List Events","id":"e2081096-f05e-4194-9cc9-283bffb1d758","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{hostname}}:{{port}}/api/0/event-log/index?startDate=01/01/2026 00:00:00&endDate=12/01/2026 00:00:00","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}},"urlObject":{"protocol":"https","port":"{{port}}","path":["api","0","event-log","index"],"host":["{{hostname}}"],"query":[{"disabled":true,"description":{"content":"<p>page number</p>\n","type":"text/plain"},"key":"p","value":"1"},{"disabled":true,"description":{"content":"<p>all, service, mount, dj, autodj</p>\n","type":"text/plain"},"key":"type","value":"all"},{"description":{"content":"<p>MM/DD/YYYY HH:MM:SS</p>\n","type":"text/plain"},"key":"startDate","value":"01/01/2026 00:00:00"},{"description":{"content":"<p>MM/DD/YYYY HH:MM:SS</p>\n","type":"text/plain"},"key":"endDate","value":"12/01/2026 00:00:00"}],"variable":[]}},"response":[],"_postman_id":"e2081096-f05e-4194-9cc9-283bffb1d758"}],"id":"a7334dc4-bdc3-4027-86bb-845ccad2eeda","description":"<p>Stream Events Log added with MediaCP 2.15.3+</p>\n","_postman_id":"a7334dc4-bdc3-4027-86bb-845ccad2eeda","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","id":"ffbe83bb-aa03-44c7-a73c-d7753676ddd8","name":"MediaCP","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api_key}}"}]}},"event":[{"listen":"prerequest","script":{"id":"53f06987-916f-4781-82de-49f64f1fb8be","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ef11633b-2534-4472-a428-b07838590665","type":"text/javascript","exec":[""]}}]}