package com.sandu.ximon.admin.config;
|
|
public class VnnoxUrl {
|
|
private static String url = "https://openapi.vnnox.com";
|
// 获取授权信息
|
public static final String GET_TOKEN = "/v1/oauth/token";
|
// 获取LED列表
|
public static String GET_PLAYER_LIST = "/v1/player/getPlayerList";
|
// 获取当前状态
|
public static String SYNC_CURRENT_INFO = "/v1/player/get/syncCurrentInfo";
|
// 修改屏幕状态
|
public static String SCREEN_STATUS = "/v1/player/immediateControl/screenStatus";
|
// 修改音量
|
public static String CHANGE_VOL = "/v1/player/immediateControl/volume";
|
// 修改亮度
|
public static String CHANGE_BRIGHTNESS = "/v1/player/immediateControl/brightness";
|
// 普通节目
|
public static String NORMAL_PROGRAM = "/v1/player/program/normal";
|
// 截图
|
public static String SCREEN_SHOT = "/v1/player/control/screenshot";
|
// 重启
|
public static String REBOOT = "/v1/player/immediateControl/reboot";
|
// 下发定时任务
|
public static String TIMING_CONTROL = "/v1/player/timingControl/screenStatus";
|
//同步
|
public static String SIMU_LCAST = "/v1/player/immediateControl/simulcast";
|
// NTP对时
|
public static String NTP_SYNC = "/v1/player/immediateControl/ntp";
|
//天气
|
public static String WEATHER = "/v1/player/program/weather";
|
|
//实时信息(音量,亮度)
|
public static String ASYNCURRENTSTATUS = "/v1/player/get/asynCurrentStatus";
|
|
|
public static String getUrl(String urlSuffix) {
|
return url + urlSuffix;
|
}
|
}
|