Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Content imported from a Scroll Translations translation file.
Sv translation
languageko_KR


MagicInfo Server에서는 콘텐츠 관리, 스케줄 관리, 장치 관리 등 각 기능을 Open API (v2.0) 호출을 통하여 구현할 수 있습니다. 

 Open API (v2.0)를 사용하기 위해서는 먼저 인증 절차를 거쳐야 하며, 별도의 swagger 페이지를 통해 각 API를 테스트 할 수 있습니다.

Authentication

모든  Open API (v2.0) 호출 시 헤더에 api_token을 포함하여야 하며, 그렇지 않은 경우 '401 Unauthorized.' 에러를 받게 됩니다. 

발급 받은 토큰은 정해진 일정 시간이 지나면 만료되어 사용이 중지되며, 그 경우 토큰을 새로 발급 받아야 합니다.

api_token은 아래 api 호출을 통해 발급받을 수 있습니다.

Service Name

API call

Call TypeDescription
authenticationRequest

/auth

POST사용자 ID 및 비밀번호를 이용하여 인증을 위한 토큰 값을 가져옵니다.
authenticationRequest

/auth/refresh

GET토큰을 새로 생성하여 만료시간을 연장합니다. 재 로그인 없이 계속해서 REST API를 호출할 수 있습니다.

OPEN API (v2.0)

매직인포 서버  Open API (v2.0) 는 여러가지 기능을 제공하며 기능별 구성은 아래와 같습니다. 

CategoryControllerDescription
Contentcontent-controller콘텐츠 관리
content-group-controller콘텐츠 그룹 관리
Playlistplaylist-controller플레이리스트 관리
playlist-group-controller플레이리스트 그룹 관리
Schedulecontent-schedule-controller콘텐츠 스케줄 관리
content-schedule-group-controller콘텐츠 스케줄 그룹 관리
message-schedule-controller메시지 스케줄 관리
message-schedule-group-controller메시지 스케줄 그룹 관리
Devicedevice-controller장치 관리
device-group-controller장치 그룹 관리
Useruser-controller사용자 관리
user-group-controller사용자 그룹 관리
Settingenvironment-controller환경 설정

Content

콘텐츠 업로드, 승인, 삭제, 리스트 관리 등 콘텐츠를 관리할 수 있습니다. 콘텐츠 관련 서비스는 인증을 받은 사용자가 콘텐츠 읽기/쓰기/관리 권한을 가져야만 접근할 수 있습니다.

콘텐츠를 관리하는 서비스는 아래와 같습니다.

Service Name

API call

Call TypeDescription
listAllContent

/restapi/v1.0/cms/contents

GET업로드 된 모든 콘텐츠 목록을 가져옵니다. 콘텐츠 썸네일, 이름, 파일 타입 등의 기본 정보를 포함합니다. 페이징 정보를 이용해서 목록을 페이지 별로 가져올 수 있습니다.
listDashboardContentInfo

/restapi/v1.0/cms/contents/dashboard

GET대쉬보드에 표시될 전반적인 콘텐츠 관련 정보를 가져옵니다.
listContent

/restapi/v1.0/cms/contents/filter

POST조건으로 필터링된 콘텐츠 리스트를 가져옵니다. 페이징 정보를 이용해서 목록을 페이지 별로 가져올 수 있습니다.
forceDeleteContent

/restapi/v1.0/cms/contents/force/{contentId}

DELETE콘텐츠가 플레이리스트, 스케줄에서 사용되고 있더라도 상관없이 콘텐츠를 삭제합니다.
deleteContent

/restapi/v1.0/cms/contents/{contentId}

DELETE콘텐츠가 플레이리스트나 스케줄 등에서 사용되고 있는 중인지 확인 후 콘텐츠를 삭제합니다. 만약 사용 중인 콘텐츠이면 삭제 되지 않고 에러 코드를 리턴합니다.
getActiveContentInfo

/restapi/v1.0/cms/contents/{contentId}

GET콘텐츠는 수정될 때마다 버전이 업데이트 됩니다. 그 중 활성화된 버전의 콘텐츠 상세 정보를 가져옵니다.
approveContents

/restapi/v1.0/cms/contents/{contentId}/approval

PUT미승인 상태의 콘텐츠를 승인/반려합니다. 콘텐츠를 승인하면, 일반 콘텐츠 목록으로 이동되고, 플레이리스트, 스케줄 등에서 사용할 수 있습니다.
uploadContent

/restapi/v1.0/cms/contents/{groupId}

POST새 콘텐츠를 업로드합니다.

listDefaultGroup

/restapi/v1.0/cms/contents/groups

GET콘텐츠 기본 그룹 목록을 가져옵니다.
getGroup

/restapi/v1.0/cms/contents/groups/{groupId}

GET{groupId} 그룹의 상세 정보를 가져옵니다.
listChildGroup

/restapi/v1.0/cms/contents/groups/{groupId}/child

GET{groupId} 그룹의 하위 그룹 목록을 가져옵니다.


Playlist

콘텐츠를 이용하여 플레이리스트를 만들고, 수정 및 삭제 등 관리 할 수 있습니다. 플레이리스트 관련 서비스는 인증을 받은 사용자가 콘텐츠 읽기/쓰기/관리 권한을 가져야만 접근할 수 있습니다.

플레이리스트를 관리하는 서비스는 아래와 같습니다.

Service Name

API call

Call TypeDescription
listAllPlaylist

/restapi/v1.0/cms/playlists

GET모든 플레이리스트 목록을 가져옵니다. 플레이리스트 이름, 메인 콘텐츠 썸네일, 플레이리스트 타입 등의 기본 정보를 포함합니다. 페이징 정보를 이용해서 목록을 페이지 별로 가져올 수 있습니다.
createPlaylist

/restapi/v1.0/cms/playlists

POST새 플레이리스트를 생성합니다.

getDashboardPlaylistInfo

/restapi/v1.0/cms/playlists/dashboard

GET대쉬보드에 필요한 플레이리스트의 전반적인 정보를 가져옵니다.

listPlaylist

/restapi/v1.0/cms/playlists/filter

POST조건으로 필터링된 플레이리스트 목록을 가져옵니다. 페이징 정보를 이용해서 목록을 페이지 별로 가져올 수 있습니다.

deletePlaylist

/restapi/v1.0/cms/playlists/{playlistId}

DELETE선택된 플레이리스트를 삭제합니다. 삭제하려는 플레이리스트가 스케줄에서 사용 중인 경우 삭제되지 않으며, 에러 코드를 리턴합니다.

getActivePlaylistInfo

/restapi/v1.0/cms/playlists/{playlistId}

GET플레이리스트는 수정될 때마다 버전이 업데이트 됩니다. 그 중 활성화된 버전의 플레이리스트 상세 정보를 가져옵니다.

editPlaylist

/restapi/v1.0/cms/playlists/{playlistId}

PUT{playlistId} 플레이리스트를 수정합니다. 수정 시 플레이리스트의 버전이 업데이트되며, 해당 플레이리스트를 재생 중인 장치는 자동 트리거링 되어 변경된 내용을 재생합니다.

copyPlaylist

/restapi/v1.0/cms/playlists/{playlistId}/copy

PUT{playlistId} 플레이리스트를 복사합니다. 같은 내용의 플레이리스트가 새로 생성됩니다.
listDefaultGroup

/restapi/v1.0/cms/playlists/groups

GET플레이리스트 기본 그룹 목록을 가져옵니다.

getGroup

/restapi/v1.0/cms/playlists/groups/{groupId}

GET{groupId} 그룹의 상세 정보를 가져옵니다.
listChildGroup/restapi/v1.0/cms/playlists/groups/{groupId}/childGET

{groupId} 그룹의 하위 그룹 목록을 가져옵니다.

Schedule

새 콘텐츠/메시지 스케줄을 만들고, 장치에 배포하여 재생 할 수 있습니다. 또한 스케줄을 수정하거나 삭제 하는 등 관리 할 수 있습니다.

스케줄 관련 서비스는 인증을 받은 사용자가 스케줄 읽기/쓰기/관리 권한을 가져야만 접근할 수 있습니다.

스케줄을 관리하는 서비스는 아래와 같습니다.

Service Name

API call

Call TypeDescription
listContentScheduleAll

/restapi/v1.0/dms/schedule/contents

GET모든 콘텐츠 스케줄 목록을 가져옵니다. 콘텐츠 스케줄 이름, 생성 날짜, 장치 타입 등 기본 정보를 포함합니다. 페이징 정보를 이용해서 목록을 페이지 별로 가져올 수 있습니다.
createContentSchedule

/restapi/v1.0/dms/schedule/contents

POST새 콘텐츠 스케줄을 생성합니다. 콘텐츠 스케줄은 여러 개의 채널, 프레임을 포함할 수 있으며 장치에 배포하여 원하는 시간대에 원하는 콘텐츠,플레이리스트 등을 재생할 수 있습니다.
listDashboardScheduleInfo

/restapi/v1.0/dms/schedule/contents/dashboard

GET대쉬보드에서 필요한 전반적인 콘텐츠 스케줄 정보를 가져옵니다.
listContentScheduleByGroup

/restapi/v1.0/dms/schedule/contents/filter

POST여러 조건으로 필터링된 콘텐츠 스케줄 목록을 가져옵니다. 페이징 정보를 이용해서 목록을 페이지 별로 가져올 수 있습니다.
deleteContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}

DELETE콘텐츠 스케줄을 삭제합니다. 장치에 배포된 스케줄을 삭제한 경우, 자동 트리거링 되어 장치에는 기본 콘텐츠가 재생됩니다.
getProgramInfo

/restapi/v1.0/dms/schedule/contents/{programId}

GET선택된 스케줄의 상세 정보를 가져옵니다.
editContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}

PUT콘텐츠 스케줄을 수정합니다. 해당 스케줄이 장치에 배포되어 있는 경우 자동 트리거링 되어 변경된 내용이 장치에 재생됩니다.
copyContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}/copy

PUT{programId} 콘텐츠 스케줄을 복사합니다. {programId} 와 같은 내용의 콘텐츠 스케줄이 새로 생성됩니다.
deployContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}/deploy

PUT콘텐츠 스케줄을 원하는 장치 그룹에 배포합니다.
getPublishStatus

/restapi/v1.0/dms/schedule/contents/{programId}/publishStatus

GET장치에서 콘텐츠 스케줄을 다운로드 받는 상태를 실시간으로 가져옵니다.
getRootGroups

/restapi/v1.0/dms/schedule/contents/groups

GET콘텐츠 스케줄의 루트 그룹 리스트를 가져옵니다.
listContentScheduleGroupInfo/restapi/v1.0/dms/schedule/contents/groups/{groupId}GET{groupId} 그룹에 대한 상세 정보를 가져옵니다.
listAllMessageSchedule

/restapi/v1.0/dms/schedule/messages

GET모든 메시지 스케줄 목록을 가져옵니다.
createMessageSchedule

/restapi/v1.0/dms/schedule/messages

POST새 메시지 스케줄을 생성합니다.
listMessage

/restapi/v1.0/dms/schedule/messages/filter

POST 

여러 조건으로 필터링된 메시지 스케줄 목록을 가져옵니다. 페이징 정보를 이용해서 목록을 페이지 별로 가져올 수 있습니다.
deleteMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}

DELETE선택한 메시지 스케줄을 삭제합니다. 삭제한 메시지 스케줄이 장치에 배포되어있는 경우 자동으로 장치에 트리거링되어 변경 사항이 장치에 반영됩니다.
getMessageInfo

/restapi/v1.0/dms/schedule/messages/{messageId}

GET선택한 메시지 스케줄의 상세 정보를 가져옵니다.
editMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}

PUT선택한 메시지 스케줄을 수정합니다. 수정한 메시지 스케줄이 장치에 배포되어 있는 경우 자동으로 장치에 트리거링되어 변경 사항이 장치에 반영됩니다.
copyMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}/copy

PUT선택한 메시지 스케줄을 복사합니다. 동일한 내용의 메시지 스케줄이 새로 생성됩니다.
deployMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}/deploy

PUT선택한 메시지 스케줄을 장치 그룹에 배포합니다.
getRootGroups

/restapi/v1.0/dms/schedule/messages/groups

GET콘텐츠 스케줄의 루트 그룹 리스트를 가져옵니다.
listMessageScheduleGroupInfo

/restapi/v1.0/dms/schedule/messages/groups/{groupId}

GET{groupId} 그룹에 대한 상세 정보를 가져옵니다.
getChildGroups

/restapi/v1.0/dms/schedule/messages/groups/{groupId}/child

GET원하는 그룹의 하위 그룹 목록을 가져옵니다.

Device

각 장치를 제어하고 관리 할 수있습니다. 장치 관련 서비스는 인증을 받은 사용자가 장치 읽기/쓰기/관리 권한을 가져야만 접근할 수 있습니다.

장치를 관리하는 서비스는 아래와 같습니다.

Service Name

API call

Call TypeDescription
listAllDevice

/restapi/v1.0/rms/devices

GET모든 장치 목록을 가져옵니다. 장치의 전원 상태, 썸네일 정보, 장치의 에러 상태 등 기본 정보를 포함합니다. 페이징 정보를 이용해서 목록을 페이지 별로 가져올 수 있습니다.
getDashboardDeviceInfo

/restapi/v1.0/rms/devices/dashboard

GET대쉬보드에서 필요한 전반적인 장치 정보를 가져옵니다.
filterDeviceList

/restapi/v1.0/rms/devices/filter

POST여러 조건으로 필터링 된 리스트를 가져옵니다. 페이징 정보를 이용해서 목록을 페이지 별로 가져올 수 있습니다.
deleteDevice

/restapi/v1.0/rms/devices/{deviceId}

DELETE선택한 장치를 삭제합니다.
getDevice

/restapi/v1.0/rms/devices/{deviceId}

GET선택한 장치의 상세 정보를 가져옵니다.
approveDevice

/restapi/v1.0/rms/devices/{deviceId}/approval

PUT선택한 장치를 원하는 그룹에 승인합니다.
getCabinetList

/restapi/v1.0/rms/devices/{deviceId}/cabinet

POSTLED장치에 연결된 캐비닛들의 정보를 가져옵니다. 해당 정보는 장치가 LED인 경우에만 유효합니다.
updateCabinetInfo

/restapi/v1.0/rms/devices/{deviceId}/cabinet

PUTLED장치에 연결된 캐비닛의 정보를 수정합니다.
getDisplayControlInfo

/restapi/v1.0/rms/devices/{deviceId}/display

GETDB에서 장치의 디스플레이 제어 정보를 가져옵니다. 해당 정보가 존재하지 않는 경우 장치에 정보를 요청하여야 합니다.
updateDisplayInfo

/restapi/v1.0/rms/devices/{deviceId}/display

PUT변경된 디스플레이 제어 정보를 장치에 전달합니다. 디스플레이 정보 중 변경된 값만 장치에 프로토콜로 전달됩니다.
getUpdatedDisplayInfoResult

/restapi/v1.0/rms/devices/{deviceId}/display/{requestId}

GET장치로부터 변경된 디스플레이 제어 정보를 받아옵니다. 이 API는 updateDisplayInfo API를 실행한 후에 실행 가능합니다.
getGeneralInfo

/restapi/v1.0/rms/devices/{deviceId}/general

GETDB에서 장치의 일반 정보를 가져옵니다. 장치의 일반 정보는 장치가 서버에 연결되는 시점에 업데이트 됩니다.
updateGeneralInfo

/restapi/v1.0/rms/devices/{deviceId}/general/info

PUT변경된 장치 정보를 장치에 전달합니다. 장치 기본 정보 중 변경된 값만 장치에 프로토콜로 전달됩니다.
getUpdatedGeneralInfoResult

/restapi/v1.0/rms/devices/{deviceId}/general/{requestId}

GET장치로부터 변경된 장치 정보를 받아옵니다. 이 API는 updateGeneralInfo API를 실행한 후에 실행 가능합니다.
moveDevice

/restapi/v1.0/rms/devices/{deviceId}/move

PUT장치를 다른 그룹으로 이동합니다.
startRmServerVnc

/restapi/v1.0/rms/devices/{deviceId}/rmserver/start

GET장치에 RM 시작 프로토콜을 전송합니다. RM 시작 프로토콜을 받은 장치는 RM server를 통해 정보를 주기적으로 전송합니다.
stopRmServerVnc

/restapi/v1.0/rms/devices/{deviceId}/rmserver/stop

GET장치에 RM 중지 프로토콜을 전송합니다. 중지 프로토콜을 받은 장치는 해당 기능을 중지합니다.
getSetupInfo

/restapi/v1.0/rms/devices/{deviceId}/setup

GET장치의 설정 정보를 가져옵니다. 장치의 설정 정보는 장치가 서버에 연결되는 시점에 업데이트 됩니다.
updateSetupInfo

/restapi/v1.0/rms/devices/{deviceId}/setup

PUT변경된 장치 설정 정보를 장치에 전달합니다. 설정 정보 중 변경된 값만 장치에 프로토콜로 전달됩니다.
getUpdatedSetupInfoResult

/restapi/v1.0/rms/devices/{deviceId}/setup/{requestId}

GET장치로부터 변경된 장치 설정 정보를 받아옵니다. 이 API는 updateSetupInfo API를 실행한 후에 실행 가능합니다.
getCurrentStatusDisplay

/restapi/v1.0/rms/devices/{deviceId}/status/display

GET장치에 현재 디스플레이 제어 정보 상태를 요청합니다. 이 API를 호출하면 response값으로 requestId를 전달받게 됩니다.
getCurrentStatusDisplay

/restapi/v1.0/rms/devices/{deviceId}/status/display/{requestId}

GET장치에서 전달받은 디스플레이 제어 정보를 가져옵니다. 장치로 정보를 요청하는 경우와, 장치 정보를 실제로 전달받는 경우 2가지 형태로 사용됩니다.
getCurrentStatusTime

/restapi/v1.0/rms/devices/{deviceId}/status/time

GET장치에 현재 시간 상태를 요청합니다. 이 API를 호출하면 response값으로 requestId를 전달받게 됩니다.
getCurrentStatusTime

/restapi/v1.0/rms/devices/{deviceId}/status/time/{requestId}

GET장치에서 전달받은 시간 정보를 가져옵니다. getCurrentStatusTime를 호출하여 받은 requestId를 파라미터로 전달해야 합니다.
getTimeInfo

/restapi/v1.0/rms/devices/{deviceId}/time

GETDB에서 장치 시간 정보를 가져옵니다. 해당 정보가 존재하지 않는 경우 장치에 정보를 요청하여야 합니다.
updateTimeInfo

/restapi/v1.0/rms/devices/{deviceId}/time

PUT변경된 시간 정보를 장치에 전달합니다. 시간 정보 중 변경된 값만 장치에 프로토콜로 전달됩니다.
getUpdatedTimeInfoResult

/restapi/v1.0/rms/devices/{deviceId}/time/{requestId}

GET

장치로부터 변경된 장치 시간 정보를 받아옵니다. 이 API는 getUpdatedTimeInfoResult API를 실행한 후에 실행 가능합니다.

listDeviceGroupOrgan

/restapi/v1.0/rms/devices/groups

GET소속의 리스트를 가져옵니다.
listDeviceGroupInfo

/restapi/v1.0/rms/devices/groups/{groupId}

GET{groupId} 그룹에 대한 상세 정보를 가져옵니다.
listDeviceGroupChild

/restapi/v1.0/rms/devices/groups/{groupId}/child

GET{groupId}에 속한 하위 그룹 정보를 가져옵니다.

User

새 사용자를 추가하고, 사용자의 정보를 관리할 수 있습니다. 사용자 관련 서비스는 인증을 받은 사용자가 사용자 읽기/쓰기/관리 권한을 가져야만 접근할 수 있습니다.

사용자를 관리하는 서비스는 아래와 같습니다.

Service Name

API call

Call TypeDescription
createUser/restapi/v1.0/ums/usersPOST새 사용자를 추가합니다.
listDashboardUserInfo

/restapi/v1.0/ums/users/dashboard

GET대쉬보드에 필요한 사용자의 정보를 가져옵니다.
updateMyInfo

/restapi/v1.0/ums/users/me

PUT사용자의 정보를 수정합니다.
listUserOrgan

/restapi/v1.0/ums/users/organization

GET소속 목록을 가져옵니다. 그룹트리를 구성할 때 사용할 수 있습니다.
listUserGroupOrgan

/restapi/v1.0/ums/users/groups

GET소속 목록을 가져옵니다.
listUserGroupInfo

/restapi/v1.0/ums/users/groups/{groupId}

GET{groupId} 그룹에 대한 상세 정보를 가져옵니다.
listUserGroupChild

/restapi/v1.0/ums/users/groups/{groupId}/child

GET{groupId} 그룹에 속한 하위 그룹 목록을 가져옵니다.

Setting

주요 기능 이외에도 태그, 카테고리를 생성, 관리하고 대시보드를 수정하는 등 다양한 기능을 구현할 수 있습니다.

Service Name

API call

Call TypeDescription
getCategoryInfo

/restapi/v1.0/ems/category/{categoryId}

GET카테고리 목록을 가져옵니다.
deleteDashboard

/restapi/v1.0/ems/dashboard

DELETE특정 대쉬보드 정보를 삭제합니다.
listDashboardInfo

/restapi/v1.0/ems/dashboard

GET사용자가 설정할 대쉬보드에 표시될 내용을 가져옵니다. 대쉬보드에서 사용자는 원하는 정보만 보이도록 설정할 수 있습니다.
updateDashboardPriority

/restapi/v1.0/ems/dashboard

PUT대쉬보드에 표시되는 항목들의 순서를 변경합니다.
createDashboard

/restapi/v1.0/ems/dashboard/create

GET사용하지 않는 대쉬보드를 사용하도록 수정합니다.

listDashboardLoginInfo

/restapi/v1.0/ems/dashboard/login

GET대쉬보드에 표시될 로그인 정보를 가져옵니다.
listDashboardNoticeInfo

/restapi/v1.0/ems/dashboard/notice

GET대쉬보드에 표시될 게시판 정보를 가져옵니다.
deleteNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

DELETE게시판에서 원하는 게시물을 삭제합니다.
listEditNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

GET선택한 게시물의 상세 정보를 가져옵니다.
createNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

POST게시판에 게시될 새로운 게시물을 추가합니다.
updateNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

PUT게시판에서 선택된 게시물을 수정합니다.
listDashboardStorageInfo

/restapi/v1.0/ems/dashboard/storage

GET대쉬보드에 표시될 저장소 정보를 가져옵니다.

listLicense

/restapi/v1.0/ems/license

GET서버에 등록된 라이선스의 목록을 가져옵니다.
getServerSetupInfo

/restapi/v1.0/ems/setup

GET서버 설정 정보를 가져옵니다. 서버 설정에는 서버의 여러가지 기능들을 on/off 할 수 있는 기능을 제공합니다.
getTagListInfo

/restapi/v1.0/ems/tag

POST서버에 등록된 태그 목록을 가져옵니다.


Open API Details (swagger UI)

http://184.169.167.38:7001/MagicInfo/swagger-ui.html



Sv translation
languageen


MagicInfo Server allows you to implement content management, schedule management, device management, and other functions by calling Open API (v2.0). 

 To use Open API (v2.0), you will first need to go through an authentication process. Use a separate swagger page to test each API.

Authentication

When calling all Open API (v2.0) items, api_token must be included in the header. If this is not included, a "401 Unauthorized" error will be returned. 

An obtained token expires and becomes unavailable for use after a specified period of time. If this is the case, you should obtain a new token.

api_token can be obtained by calling the following api.

Service Name

API call

Call TypeDescription
authenticationRequest

/auth

POSTImports a token value for authentication using the user ID and password.
authenticationRequest

/auth/refresh

GETCreates a new token to extend the expire time. It is possible to call REST API without logging in again

OPEN API (v2.0)

MagicInfo Server Open API (v2.0) provides a variety of functions. Configuration of each function is shown below. 

CategoryControllerDescription
Contentcontent-controllerContent file management
content-group-controllerContent group management
Playlistplaylist-controllerManaging Playlists
playlist-group-controllerPlaylist group management
Schedulecontent-schedule-controllerContent schedule management
content-schedule-group-controllerContent schedule group management
message-schedule-controllerManaging Message Schedules
message-schedule-group-controllerMessage schedule group management
Devicedevice-controllerDevice management
device-group-controllerDevice group management
Useruser-controllerUser management
user-group-controllerUser group management
Settingenvironment-controllerSetting

Content

Upload, approve, or delete content. Manage content lists. Content-related services are accessible to authenticated users with privileges to read, write, and manage content.

Available content management services are as follows:

Service Name

API call

Call TypeDescription
listAllContent

/restapi/v1.0/cms/contents

GETImports a list of uploaded content. Content thumbnails, names, file types, and other basic information are included in the list. Lists can be imported per page, using paging information.
listDashboardContentInfo

/restapi/v1.0/cms/contents/dashboard

GETImports general content information to be displayed on the dashboard.
listContent

/restapi/v1.0/cms/contents/filter

POSTImports a list of content filtered based on conditions. Lists can be imported per page, using paging information.
forceDeleteContent

/restapi/v1.0/cms/contents/force/{contentId}

DELETEDeletes content, whether or not the content is included in a playlist or schedule.
deleteContent

/restapi/v1.0/cms/contents/{contentId}

DELETEDeletes content after checking that the content is not included in a playlist or schedule. If attempting to delete content included in a playlist or schedule, the content will not be deleted and an error code will be returned.
getActiveContentInfo

/restapi/v1.0/cms/contents/{contentId}

GETImports details of an activated version of content. The version of content is updated each time the content is edited.
approveContents

/restapi/v1.0/cms/contents/{contentId}/approval

PUTApproves/rejects content. Approved content is moved to the general content list and can be used in playlists or schedules.
uploadContent

/restapi/v1.0/cms/contents/{groupId}

POSTUploads new content.

listDefaultGroup

/restapi/v1.0/cms/contents/groups

GETImports a list of default content groups.
getGroup

/restapi/v1.0/cms/contents/groups/{groupId}

GETImports details of the {groupId} group.
listChildGroup

/restapi/v1.0/cms/contents/groups/{groupId}/child

GETImports a list of sub-groups under the {groupId} group.


Playlist

Use content to create, edit, or delete playlists. Playlist-related services are accessible to authenticated users with privileges to read, write, and manage content.

Available playlist management services are as follows:

Service Name

API call

Call TypeDescription
listAllPlaylist

/restapi/v1.0/cms/playlists

GETImports a list of all playlists. Playlist names, main content thumbnails, playlist types, and other basic information are included in the list. Lists can be imported per page, using paging information.
createPlaylist

/restapi/v1.0/cms/playlists

POSTCreates a new playlist.

getDashboardPlaylistInfo

/restapi/v1.0/cms/playlists/dashboard

GETImports necessary playlist information from the dashboard.

listPlaylist

/restapi/v1.0/cms/playlists/filter

POSTImports a list of playlists filtered based on conditions. Lists can be imported per page, using paging information.

deletePlaylist

/restapi/v1.0/cms/playlists/{playlistId}

DELETEDeletes the selected playlist. If attempting to delete a playlist included in a schedule, the playlist will not be deleted and an error code will be returned.

getActivePlaylistInfo

/restapi/v1.0/cms/playlists/{playlistId}

GETImports details of an activated version of a playlist. The version of a playlist is updated each time the playlist is edited.

editPlaylist

/restapi/v1.0/cms/playlists/{playlistId}

PUTEdits the {playlistId} playlist. Editing a playlist updates the playlist version, and causes the device playing the playlist to automatically play the updated playlist.

copyPlaylist

/restapi/v1.0/cms/playlists/{playlistId}/copy

PUTCopies the {playlistId} playlist. A duplicate copy of the playlist is created.
listDefaultGroup

/restapi/v1.0/cms/playlists/groups

GETImports a list of default playlist groups.

getGroup

/restapi/v1.0/cms/playlists/groups/{groupId}

GETImports details of the {groupId} group.
listChildGroup/restapi/v1.0/cms/playlists/groups/{groupId}/childGET

Imports a list of sub-groups under the {groupId} group.

Schedule

Create new content or message schedules. Publish schedules to devices for playback. Edit or delete schedules.

Schedule-related services are accessible to authenticated users with privileges to read, write, and manage schedules.

Available schedule management services are as follows:

Service Name

API call

Call TypeDescription
listContentScheduleAll

/restapi/v1.0/dms/schedule/contents

GETImports a list of all content schedules. Content schedule names, dates of creation, device types, and other basic information are included in the list. Lists can be imported per page, using paging information.
createContentSchedule

/restapi/v1.0/dms/schedule/contents

POSTCreates a new content schedule. A content schedule may contain multiple channels and frames. Publish a schedule to devices and play the desired content or playlist at a specified time.
listDashboardScheduleInfo

/restapi/v1.0/dms/schedule/contents/dashboard

GETImports necessary content schedule information from the dashboard.
listContentScheduleByGroup

/restapi/v1.0/dms/schedule/contents/filter

POSTImports a list of content schedules filtered based on different conditions. Lists can be imported per page, using paging information.
deleteContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}

DELETEDeletes a content schedule. If deleting a schedule previously published to a device, the device automatically plays the default content.
getProgramInfo

/restapi/v1.0/dms/schedule/contents/{programId}

GETImports details of the selected schedule.
editContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}

PUTEdits a content schedule. If editing a schedule previously published to a device, the device automatically plays the edited schedule.
copyContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}/copy

PUTCopies the {programId} content schedule. A duplicate copy of the {programId} content schedule is created.
deployContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}/deploy

PUTPublishes a content schedule to a specific device group.
getPublishStatus

/restapi/v1.0/dms/schedule/contents/{programId}/publishStatus

GETImports real-time content schedule download status from a device.
getRootGroups

/restapi/v1.0/dms/schedule/contents/groups

GETImports a list of root groups for a content schedule.
listContentScheduleGroupInfo/restapi/v1.0/dms/schedule/contents/groups/{groupId}GETImports details of the {groupId} group.
listAllMessageSchedule

/restapi/v1.0/dms/schedule/messages

GETImports a list of all message schedules.
createMessageSchedule

/restapi/v1.0/dms/schedule/messages

POSTCreates a new message schedule.
listMessage

/restapi/v1.0/dms/schedule/messages/filter

POST 

Imports a list of message schedules filtered based on different conditions. Lists can be imported per page, using paging information.
deleteMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}

DELETEDeletes the selected message schedule. If deleting a message schedule previously published to a device, the change is automatically applied to the device.
getMessageInfo

/restapi/v1.0/dms/schedule/messages/{messageId}

GETImports details of the selected message schedule.
editMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}

PUTEdits the selected message schedule. If editing a message schedule previously published to a device, the change is automatically applied to the device.
copyMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}/copy

PUTCopies the selected message schedule. A duplicate copy of the message schedule is created.
deployMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}/deploy

PUTPublishes the selected message schedule to a device group.
getRootGroups

/restapi/v1.0/dms/schedule/messages/groups

GETImports a list of root groups for a content schedule.
listMessageScheduleGroupInfo

/restapi/v1.0/dms/schedule/messages/groups/{groupId}

GETImports details of the {groupId} group.
getChildGroups

/restapi/v1.0/dms/schedule/messages/groups/{groupId}/child

GETImports a list of sub-groups under a specific group.

Device

Control and manage devices. Device-related services are accessible to authenticated users with privileges to read, write, and manage devices.

Available device management services are as follows:

Service Name

API call

Call TypeDescription
listAllDevice

/restapi/v1.0/rms/devices

GETImports a list of all devices. Device power status, thumbnail info, device error status, and other basic information are included in the list. Lists can be imported per page, using paging information.
getDashboardDeviceInfo

/restapi/v1.0/rms/devices/dashboard

GETImports necessary device information from the dashboard.
filterDeviceList

/restapi/v1.0/rms/devices/filter

POSTImports a list of devices filtered based on different conditions. Lists can be imported per page, using paging information.
deleteDevice

/restapi/v1.0/rms/devices/{deviceId}

DELETEDeletes the selected device.
getDevice

/restapi/v1.0/rms/devices/{deviceId}

GETImports details of the selected device.
approveDevice

/restapi/v1.0/rms/devices/{deviceId}/approval

PUTApproves the selected device to a specific group.
getCabinetList

/restapi/v1.0/rms/devices/{deviceId}/cabinet

POSTImports information about cabinets connected to an LED device. The imported information is valid only when the cabinets are connected to an LED device.
updateCabinetInfo

/restapi/v1.0/rms/devices/{deviceId}/cabinet

PUTEdits information about cabinets connected to an LED device.
getDisplayControlInfo

/restapi/v1.0/rms/devices/{deviceId}/display

GETImports device display control information from the database. If control information is not present, an information request should be sent to the device.
updateDisplayInfo

/restapi/v1.0/rms/devices/{deviceId}/display

PUTSends edited display control information to a device. Only edited values in display information are sent as a protocol to the device.
getUpdatedDisplayInfoResult

/restapi/v1.0/rms/devices/{deviceId}/display/{requestId}

GETReceives edited display control information from a device. This API is executable after updateDisplayInfo API is executed.
getGeneralInfo

/restapi/v1.0/rms/devices/{deviceId}/general

GETImports general device information from the database. General device information is updated when the device connects to the server.
updateGeneralInfo

/restapi/v1.0/rms/devices/{deviceId}/general/info

PUTSends edited device information to a device. Only edited values in basic device information are sent as a protocol to the device.
getUpdatedGeneralInfoResult

/restapi/v1.0/rms/devices/{deviceId}/general/{requestId}

GETReceives edited device information from a device. This API is executable after updateGeneralInfo API is executed.
moveDevice

/restapi/v1.0/rms/devices/{deviceId}/move

PUTMoves a device to another group.
startRmServerVnc

/restapi/v1.0/rms/devices/{deviceId}/rmserver/start

GETSends an RM start protocol to a device. A device that received an RM start protocol sends information periodically via the RM server.
stopRmServerVnc

/restapi/v1.0/rms/devices/{deviceId}/rmserver/stop

GETSends an RM stop protocol to a device. A device that received a stop protocol stops the corresponding function immediately.
getSetupInfo

/restapi/v1.0/rms/devices/{deviceId}/setup

GETImports device settings. Device settings are updated when the device connects to the server.
updateSetupInfo

/restapi/v1.0/rms/devices/{deviceId}/setup

PUTSends edited device settings to a device. Only edited values in settings are sent as a protocol to the device.
getUpdatedSetupInfoResult

/restapi/v1.0/rms/devices/{deviceId}/setup/{requestId}

GETReceives edited device settings from a device. This API is executable after updateSetupInfo API is executed.
getCurrentStatusDisplay

/restapi/v1.0/rms/devices/{deviceId}/status/display

GETSends a current display control information request to a device. If calling this API, requestId is returned as the response value.
getCurrentStatusDisplay

/restapi/v1.0/rms/devices/{deviceId}/status/display/{requestId}

GETImports display control information sent from a device. This option is used for two actions: sending a request for information to a device and receiving actual device information.
getCurrentStatusTime

/restapi/v1.0/rms/devices/{deviceId}/status/time

GETSends a current time information request to a device.If calling this API, requestId is returned as the response value.
getCurrentStatusTime

/restapi/v1.0/rms/devices/{deviceId}/status/time/{requestId}

GETImports time information sent from a device. This option is used for two actions: sending a request for information to a device and receiving actual device information.
getTimeInfo

/restapi/v1.0/rms/devices/{deviceId}/time

GETImports device time information from the database. If control information is not present, an information request should be sent to the device.
updateTimeInfo

/restapi/v1.0/rms/devices/{deviceId}/time

PUTSends edited time information to a device. Only edited values in time information are sent as a protocol to the device.
getUpdatedTimeInfoResult

/restapi/v1.0/rms/devices/{deviceId}/time/{requestId}

GET

Receives edited device time information from a device. This API executable after getUpdatedTimeInfoResult API is executed.

listDeviceGroupOrgan

/restapi/v1.0/rms/devices/groups

GETImports a list of organizations.
listDeviceGroupInfo

/restapi/v1.0/rms/devices/groups/{groupId}

GETImports details of the {groupId} group.
listDeviceGroupChild

/restapi/v1.0/rms/devices/groups/{groupId}/child

GETImports information about sub-groups under {groupId}.

User

Add users and manage user information. User-related services are accessible to authenticated users with privileges to read, write, and manage user information.

Available user management services are as follows:

Service Name

API call

Call TypeDescription
createUser/restapi/v1.0/ums/usersPOSTAdds a user.
listDashboardUserInfo

/restapi/v1.0/ums/users/dashboard

GETImports necessary user information from the dashboard.
updateMyInfo

/restapi/v1.0/ums/users/me

PUTEdits user information.
listUserOrgan

/restapi/v1.0/ums/users/organization

GETImports a list of organizations. This option can be used to configure a group tree.
listUserGroupOrgan

/restapi/v1.0/ums/users/groups

GETImports a list of organizations.
listUserGroupInfo

/restapi/v1.0/ums/users/groups/{groupId}

GETImports details of the {groupId} group.
listUserGroupChild

/restapi/v1.0/ums/users/groups/{groupId}/child

GETImports a list of sub-groups under the {groupId} group.

Setting

In addition to main functions, you can use many other functions to create and manage tags and categories, and edit the dashboard.

Service Name

API call

Call TypeDescription
getCategoryInfo

/restapi/v1.0/ems/category/{categoryId}

GETImports a list of categories.
deleteDashboard

/restapi/v1.0/ems/dashboard

DELETEDeletes specific dashboard information.
listDashboardInfo

/restapi/v1.0/ems/dashboard

GETImports content to be displayed on the customized dashboard. It is possible to display only specific information on the dashboard.
updateDashboardPriority

/restapi/v1.0/ems/dashboard

PUTChanges the order of items displayed on the dashboard.
createDashboard

/restapi/v1.0/ems/dashboard/create

GETActivates an idle dashboard.

listDashboardLoginInfo

/restapi/v1.0/ems/dashboard/login

GETImports login information to be displayed on the dashboard.
listDashboardNoticeInfo

/restapi/v1.0/ems/dashboard/notice

GETImports bulletin board information to be displayed on the dashboard.
deleteNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

DELETEDeletes a post from the bulletin board.
listEditNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

GETImports details of the selected post.
createNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

POSTAdds posts to the bulletin board.
updateNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

PUTEdits the selected post on the bulletin board.
listDashboardStorageInfo

/restapi/v1.0/ems/dashboard/storage

GETImports storage information to be displayed on the dashboard.

listLicense

/restapi/v1.0/ems/license

GETImports a list of licenses registered on the server.
getServerSetupInfo

/restapi/v1.0/ems/setup

GETImports server settings. Server setting items include options that can turn on or off different functions on the server.
getTagListInfo

/restapi/v1.0/ems/tag

POSTImports a list of tags registered on the server.


Open API Details (swagger UI)

http://184.169.167.38:7001/MagicInfo/swagger-ui.html





Sv translation
languageit


MagicInfo Server consente di implementare la gestione di contenuti, la gestione di programmazioni, la gestione di dispositivi e altre funzioni chiamando Open API (v2.0). 

 Prima di poter usare Open API (v2.0) sarà necessario seguire un processo di autenticazione. Usare una pagina Swagger a parte per testare ciascuna API.

Autenticazione

Se si chiamano tutti gli elementi di Open API (v2.0), è necessario includere api_token nell'intestazione. Se non lo si include, restituirà un errore “401 Unauthorized”. 

I token ottenuti scadono e diventano indisponibili per l'uso dopo un determinato periodo di tempo. In tal caso, sarà necessario ottenere un nuovo token.

È possibile ottenere api_token chiamando la seguente api.

Nome servizio assistenza

Chiamata API

Tipo di chiamataDescrizione
authenticationRequest

/auth

POSTImporta il valore di un token per l'autenticazione usando l'ID utente e la password.
authenticationRequest

/auth/refresh

GETCrea un nuovo token per ampliare il tempo di scadenza. È possibile chiamare REST API senza effettuare nuovamente l'accesso

OPEN API (v2.0)

MagicInfo Server Open API (v2.0) fornisce una varietà di funzioni. Di seguito si mostra la configurazione di ciascuna funzione. 

CategoriaControllerDescrizione
Contenutocontenuto-controllerGestione contenuti
contenuto-gruppo-controllerGestione del gruppo di contenuti
Playlistplaylist-controllerGestione di una playlist
playlist-gruppo-controllerGestione del gruppo di playlist
Programmacontenuto-programmazione-controllerGestione programmazione di contenuti
contenuto-programmazione-gruppo-controllerGestione del gruppo di programmazioni di contenuti
messaggio-programmazione-controllerGestione dei programmi messaggio
messaggio-programmazione-gruppo-controllerGestione del gruppo di programmazioni di messaggi
Dispositivodispositivo-controllerGestione dispositivo
dispositivo-gruppo-controllerGestione del gruppo di dispositivi
Utenteutente-controllerGestione utente
utente-gruppo-controllerGestione gruppo utente
Impostazioniambiente-controllerImpostazioni

Contenuto

Caricare, approvare o eliminare contenuto. Gestire elenchi di contenuti. Sono accessibili servizi relazionati con i contenuti per gli utenti autenticati con privilegi di lettura, scrittura e gestione di contenuti.

I servizi di gestione dei contenuti disponibili sono:

Nome servizio assistenza

Chiamata API

Tipo di chiamataDescrizione
listAllContent

/restapi/v1.0/cms/contents

GETImporta un elenco di contenuto aggiornato. Si includono nell'elenco anteprime di contenuti, nomi, tipi di file e altre informazioni di base. Gli elenchi possono essere importati per pagina, usando le informazioni di paging.
listDashboardContentInfo

/restapi/v1.0/cms/contents/dashboard

GETImporta le informazioni dei contenuti generali da visualizzare sulla dashboard.
listContent

/restapi/v1.0/cms/contents/filter

POSTImporta un elenco di contenuti filtrato in base alle condizioni. Gli elenchi possono essere importati per pagina, usando le informazioni di paging.
forceDeleteContent

/restapi/v1.0/cms/contents/force/{contentId}

DELETEElimina contenuto, a prescindere dal fatto che sia incluso in una playlist o in una programmazione.
deleteContent

/restapi/v1.0/cms/contents/{contentId}

DELETEElimina contenuto dopo aver verificato che non è incluso in una playlist o in una programmazione. Se si cerca di eliminare del contenuto incluso in una playlist o in una programmazione, il contenuto non sarà eliminato e si restituirà un codice di errore.
getActiveContentInfo

/restapi/v1.0/cms/contents/{contentId}

GETImporta dettagli di una versione attivata del contenuto. La versione del contenuto si aggiorna ogni volta che si modifica il contenuto.
approveContents

/restapi/v1.0/cms/contents/{contentId}/approval

PUTApprova/respinge il contenuto. Il contenuto approvato viene spostato nell'elenco del contenuto generale e può essere usato in playlist e programmazioni.
uploadContent

/restapi/v1.0/cms/contents/{groupId}

POSTEsegue l'upload di contenuto nuovo.

listDefaultGroup

/restapi/v1.0/cms/contents/groups

GETImporta un elenco di gruppi di contenuti predefiniti.
getGroup

/restapi/v1.0/cms/contents/groups/{groupId}

GETImporta dettagli del gruppo {groupId}.
listChildGroup

/restapi/v1.0/cms/contents/groups/{groupId}/child

GETImporta un elenco di sottogruppi nel gruppo {groupId}.


Playlist

Usare contenuto per creare, modificare o eliminare playlist. Sono accessibili servizi relazionati con le playlist per gli utenti autenticati con privilegi di lettura, scrittura e gestione di contenuti.

I servizi di gestione delle playlist disponibili sono:

Nome servizio assistenza

Chiamata API

Tipo di chiamataDescrizione
listAllPlaylist

/restapi/v1.0/cms/playlists

GETImporta un elenco di tutte le playlist. Si includono nell'elenco nomi di playlist, anteprime di contenuti principali, tipi di playlist e altre informazioni di base. Gli elenchi possono essere importati per pagina, usando le informazioni di paging.
createPlaylist

/restapi/v1.0/cms/playlists

POSTCrea una nuova playlist.

getDashboardPlaylistInfo

/restapi/v1.0/cms/playlists/dashboard

GETImporta informazioni necessarie sulla playlist dalla dashboard.

listPlaylist

/restapi/v1.0/cms/playlists/filter

POSTImporta un elenco di playlist filtrato in base alle condizioni. Gli elenchi possono essere importati per pagina, usando le informazioni di paging.

deletePlaylist

/restapi/v1.0/cms/playlists/{playlistId}

DELETEElimina la playlist selezionata. Se si cerca di eliminare una playlist inclusa in una programmazione, la playlist non sarà eliminata e si restituirà un codice di errore.

getActivePlaylistInfo

/restapi/v1.0/cms/playlists/{playlistId}

GETImporta dettagli di una versione attivata di una playlist. La versione di una playlist si aggiorna ogni volta che si modifica la playlist stessa.

editPlaylist

/restapi/v1.0/cms/playlists/{playlistId}

PUTModifica la playlist {playlistId}. Se si modifica una playlist si aggiorna la versione della playlist e, di conseguenza, il dispositivo che riproduce la playlist riproduce automaticamente la playlist aggiornata.

copyPlaylist

/restapi/v1.0/cms/playlists/{playlistId}/copy

PUTCopia la playlist {playlistId}. Si crea una copia duplicata della playlist.
listDefaultGroup

/restapi/v1.0/cms/playlists/groups

GETImporta un elenco di gruppi di playlist predefinite.

getGroup

/restapi/v1.0/cms/playlists/groups/{groupId}

GETImporta dettagli del gruppo {groupId}.
listChildGroup/restapi/v1.0/cms/playlists/groups/{groupId}/childGET

Importa un elenco di sottogruppi nel gruppo {groupId}.

Programma

Creare nuove programmazioni di contenuto o messaggi. Pubblicare programmazioni sui dispositivi per la riproduzione. Modificare o eliminare programmazioni.

Sono accessibili servizi relazionati con le programmazioni per gli utenti autenticati con privilegi di lettura, scrittura e gestione di programmazioni.

I servizi di gestione delle programmazioni disponibili sono:

Nome servizio assistenza

Chiamata API

Tipo di chiamataDescrizione
listContentScheduleAll

/restapi/v1.0/dms/schedule/contents

GETImporta un elenco di tutte le programmazioni di contenuti. Si includono nell'elenco nomi di programmazioni di contenuti, date di creazione, tipi di dispositivi e altre informazioni di base. Gli elenchi possono essere importati per pagina, usando le informazioni di paging.
createContentSchedule

/restapi/v1.0/dms/schedule/contents

POSTCrea una nuova programmazione di contenuti. Una programmazione di contenuti può contenere vari canali e cornici. Pubblicare una programmazione sui dispositivi e riprodurre il contenuto desiderato o la playlist ad un'ora specificata.
listDashboardScheduleInfo

/restapi/v1.0/dms/schedule/contents/dashboard

GETImporta informazioni necessarie sulla programmazione di contenuti dalla dashboard.
listContentScheduleByGroup

/restapi/v1.0/dms/schedule/contents/filter

POSTImporta un elenco di programmazioni di contenuti filtrato in base alle differenti condizioni. Gli elenchi possono essere importati per pagina, usando le informazioni di paging.
deleteContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}

DELETEElimina una programmazione di contenuti. Se si elimina una programmazione precedentemente pubblicata su un dispositivo, il dispositivo riproduce automaticamente il contenuto predefinito.
getProgramInfo

/restapi/v1.0/dms/schedule/contents/{programId}

GETImporta dettagli della programmazione selezionata.
editContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}

PUTModifica una programmazione di contenuti. Se si modifica una programmazione precedentemente pubblicata su un dispositivo, il dispositivo riproduce automaticamente la programmazione modificata.
copyContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}/copy

PUTCopia la programmazione di contenuti {programId}. Si crea una copia duplicata della programmazione di contenuti {programId}.
deployContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}/deploy

PUTPubblica una programmazione di contenuti su un gruppo specifico di dispositivi.
getPublishStatus

/restapi/v1.0/dms/schedule/contents/{programId}/publishStatus

GETImporta lo stato di download in tempo reale di una programmazione di contenuti dal dispositivo.
getRootGroups

/restapi/v1.0/dms/schedule/contents/groups

GETImporta un elenco di gruppi principali per una programmazione di contenuti.
listContentScheduleGroupInfo/restapi/v1.0/dms/schedule/contents/groups/{groupId}GETImporta dettagli del gruppo {groupId}.
listAllMessageSchedule

/restapi/v1.0/dms/schedule/messages

GETImporta un elenco di tutte le programmazioni di messaggi.
createMessageSchedule

/restapi/v1.0/dms/schedule/messages

POSTCrea una nuova programmazione di messaggi.
listMessage

/restapi/v1.0/dms/schedule/messages/filter

POST 

Importa un elenco di programmazioni di messaggi filtrato in base alle differenti condizioni. Gli elenchi possono essere importati per pagina, usando le informazioni di paging.
deleteMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}

DELETEElimina la programmazione di messaggi selezionata. Se si elimina una programmazione di messaggi precedentemente pubblicata su un dispositivo, il cambio si applica automaticamente al dispositivo.
getMessageInfo

/restapi/v1.0/dms/schedule/messages/{messageId}

GETImporta dettagli della programmazione di messaggi selezionata.
editMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}

PUTModifica la programmazione di messaggi selezionata. Se si modifica una programmazione di messaggi precedentemente pubblicata su un dispositivo, il cambio si applica automaticamente al dispositivo.
copyMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}/copy

PUTCopia la programmazione di messaggi selezionata. Si crea una copia duplicata della programmazione di messaggi.
deployMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}/deploy

PUTPubblica la programmazione di messaggi selezionata su un gruppo di dispositivi.
getRootGroups

/restapi/v1.0/dms/schedule/messages/groups

GETImporta un elenco di gruppi principali per una programmazione di contenuti.
listMessageScheduleGroupInfo

/restapi/v1.0/dms/schedule/messages/groups/{groupId}

GETImporta dettagli del gruppo {groupId}.
getChildGroups

/restapi/v1.0/dms/schedule/messages/groups/{groupId}/child

GETImporta un elenco di sottogruppi in un gruppo specifico.

Dispositivo

Controllare e gestire dispositivi. Sono accessibili servizi relazionati con i dispositivi per gli utenti autenticati con privilegi di lettura, scrittura e gestione di dispositivi.

I servizi di gestione dei dispositivi disponibili sono:

Nome servizio assistenza

Chiamata API

Tipo di chiamataDescrizione
listAllDevice

/restapi/v1.0/rms/devices

GETImporta un elenco di tutti i dispositivi. Si includono nell'elenco lo stato di alimentazione del dispositivo, info di anteprima, stato dell'errore del dispositivo e altre informazioni di base. Gli elenchi possono essere importati per pagina, usando le informazioni di paging.
getDashboardDeviceInfo

/restapi/v1.0/rms/devices/dashboard

GETImporta informazioni necessarie sul dispositivo dalla dashboard.
filterDeviceList

/restapi/v1.0/rms/devices/filter

POSTImporta un elenco di dispositivi filtrato in base alle differenti condizioni. Gli elenchi possono essere importati per pagina, usando le informazioni di paging.
deleteDevice

/restapi/v1.0/rms/devices/{deviceId}

DELETEElimina il dispositivo selezionato.
getDevice

/restapi/v1.0/rms/devices/{deviceId}

GETImporta dettagli del dispositivo selezionato.
approveDevice

/restapi/v1.0/rms/devices/{deviceId}/approval

PUTApprova il dispositivo selezionato su un gruppo specifico.
getCabinetList

/restapi/v1.0/rms/devices/{deviceId}/cabinet

POSTImporta informazioni sui case collegati a un dispositivo LED. Le informazioni importate sono valide solo fino a quando il case è collegato a un dispositivo LED.
updateCabinetInfo

/restapi/v1.0/rms/devices/{deviceId}/cabinet

PUTModifica informazioni sui case collegati a un dispositivo LED.
getDisplayControlInfo

/restapi/v1.0/rms/devices/{deviceId}/display

GETImporta informazioni sul controllo della visualizzazione di un dispositivo dal database. Se non sono presenti informazioni sul controllo, si dovrà inviare al dispositivo una richiesta di informazioni.
updateDisplayInfo

/restapi/v1.0/rms/devices/{deviceId}/display

PUTInvia informazioni modificate sul controllo della visualizzazione a un dispositivo. Si inviano al dispositivo sotto forma di protocollo solo i valori modificati delle informazioni di visualizzazione.
getUpdatedDisplayInfoResult

/restapi/v1.0/rms/devices/{deviceId}/display/{requestId}

GETRiceve informazioni modificate sul controllo della visualizzazione da un dispositivo. Questa API è eseguibili dopo aver eseguito l'API updateDisplayInfo.
getGeneralInfo

/restapi/v1.0/rms/devices/{deviceId}/general

GETImporta informazioni generali sul dispositivo dal database. Le informazioni generali sul dispositivo vengono aggiornate quando si collega il dispositivo al server.
updateGeneralInfo

/restapi/v1.0/rms/devices/{deviceId}/general/info

PUTInvia informazioni modificate sul dispositivo a un dispositivo. Si inviano al dispositivo sotto forma di protocollo solo i valori modificati delle informazioni di base del dispositivo.
getUpdatedGeneralInfoResult

/restapi/v1.0/rms/devices/{deviceId}/general/{requestId}

GETRiceve informazioni modificate sul dispositivo da un dispositivo. Questa API è eseguibili dopo aver eseguito l'API updateGeneralInfo.
moveDevice

/restapi/v1.0/rms/devices/{deviceId}/move

PUTSposta un dispositivo su un altro gruppo.
startRmServerVnc

/restapi/v1.0/rms/devices/{deviceId}/rmserver/start

GETInvia un protocollo di avvio RM a un dispositivo. Il dispositivo che riceve il protocollo di avvio RM invia quindi periodicamente informazioni mediante il server RM.
stopRmServerVnc

/restapi/v1.0/rms/devices/{deviceId}/rmserver/stop

GETInvia un protocollo di interruzione RM a un dispositivo. Il dispositivo che riceve il protocollo interruzione interrompe immediatamente la funzione corrispondente.
getSetupInfo

/restapi/v1.0/rms/devices/{deviceId}/setup

GETImporta le impostazioni del dispositivo. Le impostazioni del dispositivo vengono aggiornate quando si collega il dispositivo al server.
updateSetupInfo

/restapi/v1.0/rms/devices/{deviceId}/setup

PUTInvia impostazioni modificate del dispositivo a un dispositivo. Si inviano al dispositivo sotto forma di protocollo solo i valori modificati delle impostazioni.
getUpdatedSetupInfoResult

/restapi/v1.0/rms/devices/{deviceId}/setup/{requestId}

GETRiceve impostazioni modificate del dispositivo da un dispositivo. Questa API è eseguibili dopo aver eseguito l'API updateSetupInfo.
getCurrentStatusDisplay

/restapi/v1.0/rms/devices/{deviceId}/status/display

GETInvia una richiesta di informazioni sul controllo della visualizzazione attuale a un dispositivo. Se si chiama questa API, si restituisce requestId come valore di risposta.
getCurrentStatusDisplay

/restapi/v1.0/rms/devices/{deviceId}/status/display/{requestId}

GETImporta informazioni sul controllo della visualizzazione inviate da un dispositivo. Questa opzione è usata per due azioni: inviare una richiesta di informazioni a un dispositivo e ricevere informazioni sul dispositivo reale.
getCurrentStatusTime

/restapi/v1.0/rms/devices/{deviceId}/status/time

GETInvia una richiesta di informazioni sull'orario attuale a un dispositivo. Se si chiama questa API, si restituisce requestId come valore di risposta.
getCurrentStatusTime

/restapi/v1.0/rms/devices/{deviceId}/status/time/{requestId}

GETImporta informazioni sull'orario inviate da un dispositivo. Questa opzione è usata per due azioni: inviare una richiesta di informazioni a un dispositivo e ricevere informazioni sul dispositivo reale.
getTimeInfo

/restapi/v1.0/rms/devices/{deviceId}/time

GETImporta informazioni sull'orario di un dispositivo dal database. Se non sono presenti informazioni sul controllo, si dovrà inviare al dispositivo una richiesta di informazioni.
updateTimeInfo

/restapi/v1.0/rms/devices/{deviceId}/time

PUTInvia informazioni modificate sull'orario a un dispositivo. Si inviano al dispositivo sotto forma di protocollo solo i valori modificati delle informazioni sull'orario.
getUpdatedTimeInfoResult

/restapi/v1.0/rms/devices/{deviceId}/time/{requestId}

GET

Riceve informazioni modificate sull'orario del dispositivo da un dispositivo. Questa API è eseguibili dopo aver eseguito l'API getUpdatedTimeInfoResult.

listDeviceGroupOrgan

/restapi/v1.0/rms/devices/groups

GETImporta un elenco di organizzazioni.
listDeviceGroupInfo

/restapi/v1.0/rms/devices/groups/{groupId}

GETImporta dettagli del gruppo {groupId}.
listDeviceGroupChild

/restapi/v1.0/rms/devices/groups/{groupId}/child

GETImporta informazioni sui sottogruppi di {groupId}.

Utente

Aggiungere utenti e gestire le informazioni utente. Sono accessibili servizi relazionati con gli utenti per gli utenti autenticati con privilegi di lettura, scrittura e gestione di informazioni utente.

I servizi di gestione degli utenti disponibili sono:

Nome servizio assistenza

Chiamata API

Tipo di chiamataDescrizione
createUser/restapi/v1.0/ums/usersPOSTAggiunge un utente.
listDashboardUserInfo

/restapi/v1.0/ums/users/dashboard

GETImporta informazioni necessarie sull'utente dalla dashboard.
updateMyInfo

/restapi/v1.0/ums/users/me

PUTModifica le informazioni utente.
listUserOrgan

/restapi/v1.0/ums/users/organization

GETImporta un elenco di organizzazioni. È possibile usare questa opzione per configurare un albero dei gruppi.
listUserGroupOrgan

/restapi/v1.0/ums/users/groups

GETImporta un elenco di organizzazioni.
listUserGroupInfo

/restapi/v1.0/ums/users/groups/{groupId}

GETImporta dettagli del gruppo {groupId}.
listUserGroupChild

/restapi/v1.0/ums/users/groups/{groupId}/child

GETImporta un elenco di sottogruppi nel gruppo {groupId}.

Impostazioni

Oltre alle funzioni principali, è possibile usare molte altre funzioni per creare e gestire tag e categorie e modificare la dashboard.

Nome servizio assistenza

Chiamata API

Tipo di chiamataDescrizione
getCategoryInfo

/restapi/v1.0/ems/category/{categoryId}

GETImporta un elenco di categorie.
deleteDashboard

/restapi/v1.0/ems/dashboard

DELETEElimina specifiche informazioni della dashboard.
listDashboardInfo

/restapi/v1.0/ems/dashboard

GETImporta contenuti da visualizzare sulla dashboard personalizzata. È possibile visualizzare solo informazioni specifiche sulla dashboard.
updateDashboardPriority

/restapi/v1.0/ems/dashboard

PUTCambia l'ordine degli elementi visualizzati sulla dashboard.
createDashboard

/restapi/v1.0/ems/dashboard/create

GETAttiva una dashboard inattiva.

listDashboardLoginInfo

/restapi/v1.0/ems/dashboard/login

GETImporta le informazioni di accesso da visualizzare sulla dashboard.
listDashboardNoticeInfo

/restapi/v1.0/ems/dashboard/notice

GETImporta le informazioni della bacheca da visualizzare sulla dashboard.
deleteNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

DELETEElimina una pubblicazione dalla bacheca.
listEditNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

GETImporta dettagli della pubblicazione selezionata.
createNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

POSTAggiunge pubblicazioni alla bacheca.
updateNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

PUTModifica la pubblicazione selezionata sulla bacheca.
listDashboardStorageInfo

/restapi/v1.0/ems/dashboard/storage

GETImporta le informazioni di archiviazione da visualizzare sulla dashboard.

listLicense

/restapi/v1.0/ems/license

GETImporta un elenco di licenze registrate sul server.
getServerSetupInfo

/restapi/v1.0/ems/setup

GETImporta le impostazioni del server. Gli elementi di impostazione del server includono opzioni che possono attivare o disattivare funzioni diverse sul server.
getTagListInfo

/restapi/v1.0/ems/tag

POSTImporta un elenco di tag registrati sul server.


Dettagli Open API (swagger UI)

Open API Documentation
docExpansionnessuno
validatorUrlnessuno
operationsSortermetodo
urlhttp://184.169.167.38:7001/MagicInfo/v2/api-docs/




Sv translation
languagede


MagicInfo-Server ermöglicht es Ihnen, Content Management, Terminmanagement, Gerätemanagement und andere Funktionen zu implementieren, indem Sie Open API (v2.0) aufrufen. 

 Für die Verwendung von Open API (v2.0) müssen Sie zuerst einen Authentifizierungsprozess durchlaufen. Verwenden Sie eine separate Swagger-Seite, um jedes einzelne API zu testen.

Authentifizierung

Beim Aufrufen aller Open API (v2.0)-Elemente muss api_token im Header enthalten sein. Wenn dies nicht enthalten ist, wird ein „401 Unauthorized“-Fehler zurückgegeben. 

Ein erhaltener Token läuft nach einem bestimmten Zeitraum ab und wird nicht mehr verfügbar. In diesem Fall sollten Sie einen neuen Token erhalten.

api_token können durch Aufrufen der folgenden Api abgerufen werden.

Name des Dienstes

API-Aufruf

EreignistypBeschreibung
authenticationRequest

/auth

POSTImportiert einen Token-Wert für die Authentifizierung unter Verwendung der Benutzer-ID und des Kennworts.
authenticationRequest

/auth/refresh

GETErstellt ein neues Token, um die Ablaufzeit zu verlängern. Es ist möglich, REST API aufzurufen, ohne sich erneut anzumelden

OPEN API (v2.0)

MagicInfo Server Open API (v2.0) bietet eine Vielzahl von Funktionen. Die Konfiguration der einzelnen Funktionen wird unten dargestellt. 

KategorieControllerBeschreibung
InhaltInhalte-ControllerContent Management
Inhalte-Gruppe-ControllerInhaltsgruppen-Verwaltung
WiedergabelisteWiedergabeliste-ControllerVerwalten einer Wiedergabeliste
Wiedergabeliste-Gruppe-ControllerWiedergabelistengruppen-Verwaltung
ZeitplanInhalte-Zeitplan-ControllerInhaltszeitplan-Verwaltung
Inhalte-Zeitplan-Gruppe-ControllerInhaltszeitplan-Gruppenverwaltung
Nachricht-Zeitplan-ControllerVerwalten von Nachrichtenzeitplänen
Nachricht-Zeitplan-Gruppe-ControllerNachrichten-Zeitplan-Gruppenverwaltung
GerätGerät-ControllerGerätemanagement
Gerät-Gruppe-ControllerGerätegruppen-Verwaltung
BenutzerBenutzer-ControllerBenutzerverwaltung
Benutzer-Gruppe-ControllerBenutzergruppen-Verwaltung
EinstellungUmgebung-ControllerEinstellung

Inhalt

Hochladen, Genehmigen oder Löschen von Inhalten. Verwalten von Inhaltsdateizeitplänen Inhaltsbezogene Dienste sind für authentifizierte Benutzer mit Berechtigungen zum Lesen, Schreiben und Verwalten von Inhalten zugänglich.

Die folgenden Inhaltsverwaltungsdienste sind verfügbar:

Name des Dienstes

API-Aufruf

EreignistypBeschreibung
listAllContent

/restapi/v1.0/cms/contents

GETImportiert eine Liste mit hochgeladenen Inhalten. In der Liste sind Inhalts-Miniaturen, Namen, Dateitypen und andere grundlegende Informationen enthalten. Listen können pro Seite unter Verwendung von Seiteninformationen importiert werden.
listDashboardContentInfo

/restapi/v1.0/cms/contents/dashboard

GETImportiert allgemeine Inhaltsinformationen, die auf dem Dashboard angezeigt werden.
listContent

/restapi/v1.0/cms/contents/filter

POSTImportiert eine Liste mit anhand der Bedingungen gefilterten Inhalten. Listen können pro Seite unter Verwendung von Seiteninformationen importiert werden.
forceDeleteContent

/restapi/v1.0/cms/contents/force/{contentId}

DELETELöscht Inhalte, unabhängig davon, ob die Inhalte in einer Wiedergabeliste oder einem Zeitplan enthalten sind.
deleteContent

/restapi/v1.0/cms/contents/{contentId}

DELETELöscht Inhalte, nachdem überprüft wurde, dass die Inhalte nicht in einer Wiedergabeliste oder einem Zeitplan enthalten sind. Wenn Sie versuchen, Inhalte zu löschen, die in einer Wiedergabeliste oder einem Zeitplan enthalten sind, werden die Inhalte nicht gelöscht und es wird ein Fehlercode zurückgegeben.
getActiveContentInfo

/restapi/v1.0/cms/contents/{contentId}

GETImportiert Details einer aktivierten Version von Inhalten. Die Version der Inhalte wird jedes Mal aktualisiert, wenn die Wiedergabeliste bearbeitet wird.
approveContents

/restapi/v1.0/cms/contents/{contentId}/approval

PUTGenehmigt Inhalte/lehnt Inhalte ab. Genehmigte Inhalte werden in die allgemeine Inhaltsliste bewegt und können in Wiedergabelisten oder Zeitplänen verwendet werden.
uploadContent

/restapi/v1.0/cms/contents/{groupId}

POSTLädt neue Inhalte hoch.

listDefaultGroup

/restapi/v1.0/cms/contents/groups

GETImportiert eine Liste der Standard-Inhaltsgruppen.
getGroup

/restapi/v1.0/cms/contents/groups/{groupId}

GETImportiert Details der {groupId}-Gruppe.
listChildGroup

/restapi/v1.0/cms/contents/groups/{groupId}/child

GETImportiert eine Liste der Untergruppen unter der {groupId}-Gruppe.


Wiedergabeliste

Verwenden Sie Inhalte zum Erstellen, Bearbeiten oder Löschen von Wiedergabelisten. Wiedergabelistenbezogene Dienste sind für authentifizierte Benutzer mit Berechtigungen zum Lesen, Schreiben und Verwalten von Inhalten zugänglich.

Die folgenden Wiedergabelistenverwaltungsdienste sind verfügbar:

Name des Dienstes

API-Aufruf

EreignistypBeschreibung
listAllPlaylist

/restapi/v1.0/cms/playlists

GETImportiert eine Liste mit allen Wiedergabelisten. In der Liste sind Namen von Wiedergabelisten, Miniaturen von Hauptinhalten, Typen von Wiedergabelisten und andere grundlegende Informationen enthalten. Listen können pro Seite unter Verwendung von Seiteninformationen importiert werden.
createPlaylist

/restapi/v1.0/cms/playlists

POSTErstellt eine neue Wiedergabeliste.

getDashboardPlaylistInfo

/restapi/v1.0/cms/playlists/dashboard

GETImportiert notwendige Wiedergabelisteninformationen vom Dashboard.

listPlaylist

/restapi/v1.0/cms/playlists/filter

POSTImportiert eine Liste mit anhand der Bedingungen gefilterten Wiedergabelisten. Listen können pro Seite unter Verwendung von Seiteninformationen importiert werden.

deletePlaylist

/restapi/v1.0/cms/playlists/{playlistId}

DELETELöscht die ausgewählte Wiedergabeliste. Wenn Sie versuchen, eine Wiedergabeliste zu löschen, die in einem Zeitplan enthalten ist, wird die Wiedergabeliste nicht gelöscht und es wird ein Fehlercode zurückgegeben.

getActivePlaylistInfo

/restapi/v1.0/cms/playlists/{playlistId}

GETImportiert Details einer aktivierten Version einer Wiedergabeliste. Die Version einer Wiedergabeliste wird jedes Mal aktualisiert, wenn die Wiedergabeliste bearbeitet wird.

editPlaylist

/restapi/v1.0/cms/playlists/{playlistId}

PUTBearbeitet die {playlistId}-Wiedergabeliste. Das Bearbeiten einer Wiedergabeliste aktualisiert die Wiedergabelistenversion und bewirkt, dass das Gerät, das die Wiedergabeliste abspielt, die aktualisierte Wiedergabeliste automatisch abspielt.

copyPlaylist

/restapi/v1.0/cms/playlists/{playlistId}/copy

PUTKopiert die {playlistId} Wiedergabeliste. Ein Duplikat der Wiedergabeliste wurde erstellt.
listDefaultGroup

/restapi/v1.0/cms/playlists/groups

GETImportiert eine Liste der Standard-Wiedergabelistengruppen.

getGroup

/restapi/v1.0/cms/playlists/groups/{groupId}

GETImportiert Details der {groupId}-Gruppe.
listChildGroup/restapi/v1.0/cms/playlists/groups/{groupId}/childGET

Importiert eine Liste der Untergruppen unter der {groupId}-Gruppe.

Zeitplan

Neue Inhalte oder Nachrichtenzeitpläne erstellen. Zeitpläne an Geräte für die Wiedergabe übermitteln. Zeitpläne löschen oder bearbeiten.

Den Zeitplan betreffende Dienste sind für authentifizierte Benutzer mit Berechtigungen zum Lesen, Schreiben und Verwalten von Zeitplänen zugänglich.

Die folgenden Zeitplanverwaltungsdienste sind verfügbar:

Name des Dienstes

API-Aufruf

EreignistypBeschreibung
listContentScheduleAll

/restapi/v1.0/dms/schedule/contents

GETImportiert eine Liste aller Inhaltszeitpläne. In der Liste sind Namen von Inhaltszeitplänen, Erstellungsdaten und andere grundlegenden Informationen enthalten. Listen können pro Seite unter Verwendung von Seiteninformationen importiert werden.
createContentSchedule

/restapi/v1.0/dms/schedule/contents

POSTErstellt einen neuen Inhaltszeitplan. Ein Inhaltszeitplan kann mehrere Kanäle und Rahmen enthalten. Einen Zeitplan an Geräte übermitteln und die gewünschten Inhalte oder die Wiedergabeliste zu einer bestimmten Zeit wiedergeben.
listDashboardScheduleInfo

/restapi/v1.0/dms/schedule/contents/dashboard

GETImportiert notwendige Inhaltszeitplaninformationen vom Dashboard.
listContentScheduleByGroup

/restapi/v1.0/dms/schedule/contents/filter

POSTImportiert eine Liste mit anhand der unterschiedlichen Bedingungen gefilterten Inhaltszeitplänen. Listen können pro Seite unter Verwendung von Seiteninformationen importiert werden.
deleteContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}

DELETELöscht einen Inhaltszeitplan. Wenn ein Zeitplan gelöscht wird, der zuvor an ein Gerät übermittelt wurde, spielt das Gerät automatisch die Standard-Inhalte ab.
getProgramInfo

/restapi/v1.0/dms/schedule/contents/{programId}

GETImportiert Details des ausgewählten Zeitplans.
editContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}

PUTBearbeitet einen Inhaltszeitplan. Wenn ein Zeitplan bearbeitet wird, der zuvor an ein Gerät übermittelt wurde, spielt das Gerät automatisch den bearbeiteten Zeitplan ab.
copyContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}/copy

PUTKopiert den {programId}-Inhaltszeitplan. Ein Duplikat des {programId}-Inhaltszeitplans wird erstellt.
deployContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}/deploy

PUTÜbermittelt einen Inhaltszeitplan an eine bestimmte Gerätegruppe.
getPublishStatus

/restapi/v1.0/dms/schedule/contents/{programId}/publishStatus

GETImport den Echtzeit-Inhaltszeitplan-Downloadstatus von einem Gerät.
getRootGroups

/restapi/v1.0/dms/schedule/contents/groups

GETImportiert eine Liste mit Root-Gruppen für einen Inhaltszeitplan.
listContentScheduleGroupInfo/restapi/v1.0/dms/schedule/contents/groups/{groupId}GETImportiert Details der {groupId}-Gruppe.
listAllMessageSchedule

/restapi/v1.0/dms/schedule/messages

GETImportiert eine Liste aller Nachrichtenzeitpläne.
createMessageSchedule

/restapi/v1.0/dms/schedule/messages

POSTErstellt einen neuen Nachrichtenzeitplan.
listMessage

/restapi/v1.0/dms/schedule/messages/filter

POST 

Importiert eine Liste mit anhand der unterschiedlichen Bedingungen gefilterten Nachrichtenzeitpläne. Listen können pro Seite unter Verwendung von Seiteninformationen importiert werden.
deleteMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}

DELETELöscht den ausgewählten Nachrichtenzeitplan. Wenn ein Nachrichtenzeitplan gelöscht wird, der zuvor an ein Gerät übermittelt wurde, wird die Änderung automatisch auf das Gerät angewendet.
getMessageInfo

/restapi/v1.0/dms/schedule/messages/{messageId}

GETImportiert Details des ausgewählten Nachrichtenzeitplans.
editMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}

PUTBearbeitet den ausgewählten Nachrichtenzeitplan. Wenn ein Nachrichtenzeitplan bearbeitet wird, der zuvor an ein Gerät übermittelt wurde, wird die Änderung automatisch auf das Gerät angewendet.
copyMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}/copy

PUTKopiert den ausgewählten Nachrichtenzeitplan. Ein Duplikat des Nachrichtenzeitplans wird erstellt.
deployMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}/deploy

PUTÜbermittelt den ausgewählten Nachrichtenzeitplan an eine Gerätegruppe.
getRootGroups

/restapi/v1.0/dms/schedule/messages/groups

GETImportiert eine Liste mit Root-Gruppen für einen Inhaltszeitplan.
listMessageScheduleGroupInfo

/restapi/v1.0/dms/schedule/messages/groups/{groupId}

GETImportiert Details der {groupId}-Gruppe.
getChildGroups

/restapi/v1.0/dms/schedule/messages/groups/{groupId}/child

GETImportiert eine Liste der Untergruppen unter einer bestimmten Gruppe.

Gerät

Geräte steuern und verwalten. Gerätebezogene Dienste sind für authentifizierte Benutzer mit Berechtigungen zum Lesen, Schreiben und Verwalten von Geräten zugänglich.

Die folgenden Geräteverwaltungsdienste sind verfügbar:

Name des Dienstes

API-Aufruf

EreignistypBeschreibung
listAllDevice

/restapi/v1.0/rms/devices

GETImportiert eine Liste mit allen Geräten. Gerät-Energieversorgungsstatus, Miniaturansichtsinformationen, Gerätefehlerstatus und andere grundlegende Informationen sind in der Liste enthalten. Listen können pro Seite unter Verwendung von Seiteninformationen importiert werden.
getDashboardDeviceInfo

/restapi/v1.0/rms/devices/dashboard

GETImportiert notwendige Geräteinformationen aus dem Dashboard.
filterDeviceList

/restapi/v1.0/rms/devices/filter

POSTImportiert eine Liste mit anhand der unterschiedlichen Bedingungen gefilterten Geräten. Listen können pro Seite unter Verwendung von Seiteninformationen importiert werden.
deleteDevice

/restapi/v1.0/rms/devices/{deviceId}

DELETELöscht das ausgewählte Gerät.
getDevice

/restapi/v1.0/rms/devices/{deviceId}

GETImportiert Details des ausgewählten Geräts.
approveDevice

/restapi/v1.0/rms/devices/{deviceId}/approval

PUTGenehmigt das ausgewählte Video für eine bestimmte Gruppe.
getCabinetList

/restapi/v1.0/rms/devices/{deviceId}/cabinet

POSTImportiert Informationen über Schränke, die mit einem LED-Gerät verbunden sind. Die importierten Informationen gelten nur, wenn die Schränke mit einem LED-Gerät verbunden sind.
updateCabinetInfo

/restapi/v1.0/rms/devices/{deviceId}/cabinet

PUTBearbeitet Informationen über Schränke, die mit einem LED-Gerät verbunden sind.
getDisplayControlInfo

/restapi/v1.0/rms/devices/{deviceId}/display

GETImportiert Geräteanzeigesteuerungsinformationen aus der Datenbank. Falls keine Steuerungsinformationen vorhanden sind, sollte eine Informationsanfrage an das Gerät gesendet werden.
updateDisplayInfo

/restapi/v1.0/rms/devices/{deviceId}/display

PUTSendet bearbeitete Anzeigesteuerungsinformationen an ein Gerät. Nur bearbeitete Werte in den Anzeigeinformationen werden als Protokoll an das Gerät gesendet.
getUpdatedDisplayInfoResult

/restapi/v1.0/rms/devices/{deviceId}/display/{requestId}

GETEmpfängt bearbeitete Anzeigesteuerungsinformationen von einem Gerät. Diese API ist ausführbar, nachdem updateDisplayInfo API ausgeführt wurde.
getGeneralInfo

/restapi/v1.0/rms/devices/{deviceId}/general

GETImportiert allgemeine Geräteinformationen aus der Datenbank. Allgemeine Geräteinformationen werden aktualisiert, wenn sich das Gerät mit dem Server verbindet.
updateGeneralInfo

/restapi/v1.0/rms/devices/{deviceId}/general/info

PUTSendet bearbeitete Geräteinformationen an ein Gerät. Nur bearbeitete Werte in grundlegenden Geräteinformationen werden als Protokoll an das Gerät gesendet.
getUpdatedGeneralInfoResult

/restapi/v1.0/rms/devices/{deviceId}/general/{requestId}

GETErhält bearbeitete Geräteinformationen von einem Gerät. Diese API ist ausführbar, nachdem updateGeneralInfo API ausgeführt wurde.
moveDevice

/restapi/v1.0/rms/devices/{deviceId}/move

PUTBewegt ein Gerät in eine andere Gruppe.
startRmServerVnc

/restapi/v1.0/rms/devices/{deviceId}/rmserver/start

GETSendet ein RM-Startprotokoll an ein Gerät. Ein Gerät, das ein RM-Startprotokoll empfangen hat, sendet in regelmäßigen Abständen Informationen über den RM-Server.
stopRmServerVnc

/restapi/v1.0/rms/devices/{deviceId}/rmserver/stop

GETSendet ein RM-Stoppprotokoll an ein Gerät. Ein Gerät, das ein Stoppprotokoll empfangen hat, stoppt sofort die entsprechende Funktion.
getSetupInfo

/restapi/v1.0/rms/devices/{deviceId}/setup

GETImportiert Geräteeinstellungen. Geräteeinstellungen werden aktualisiert, wenn sich das Gerät mit dem Server verbindet.
updateSetupInfo

/restapi/v1.0/rms/devices/{deviceId}/setup

PUTSendet bearbeitete Geräteeinstellungen an ein Gerät. Nur bearbeitete Werte in den Einstellungen werden als Protokoll an das Gerät gesendet.
getUpdatedSetupInfoResult

/restapi/v1.0/rms/devices/{deviceId}/setup/{requestId}

GETErhält bearbeitete Geräteeinstellungen von einem Gerät. Diese API ist ausführbar, nachdem updateSetupInfo API ausgeführt wurde.
getCurrentStatusDisplay

/restapi/v1.0/rms/devices/{deviceId}/status/display

GETSendet eine aktuelle Anzeigesteuerungsinformationsanfrage an ein Gerät. Wenn diese API aufrufen, wird requestId als der Antwortwert zurückgegeben.
getCurrentStatusDisplay

/restapi/v1.0/rms/devices/{deviceId}/status/display/{requestId}

GETImportiert eine Anzeigesteuerungsinformation, die von einem Gerät gesendet wurde. Diese Option wird für zwei Aktionen verwendet: Das Senden einer Anforderung für Informationen an ein Gerät und das Empfangen von tatsächlichen Geräteinformationen.
getCurrentStatusTime

/restapi/v1.0/rms/devices/{deviceId}/status/time

GETSendet eine aktuelle Zeitinformationsanfrage an ein Gerät. Wenn diese API aufrufen, wird requestId als der Antwortwert zurückgegeben.
getCurrentStatusTime

/restapi/v1.0/rms/devices/{deviceId}/status/time/{requestId}

GETImportiert Zeitinformationen, die von einem Gerät gesendet wurden. Diese Option wird für zwei Aktionen verwendet: Das Senden einer Anforderung für Informationen an ein Gerät und das Empfangen von tatsächlichen Geräteinformationen.
getTimeInfo

/restapi/v1.0/rms/devices/{deviceId}/time

GETImportiert Gerätezeitinformationen aus der Datenbank. Falls keine Steuerungsinformationen vorhanden sind, sollte eine Informationsanfrage an das Gerät gesendet werden.
updateTimeInfo

/restapi/v1.0/rms/devices/{deviceId}/time

PUTSendet bearbeitete Zeitinformationen an ein Gerät. Nur bearbeitete Werte in den Zeitinformationen werden als Protokoll an das Gerät gesendet.
getUpdatedTimeInfoResult

/restapi/v1.0/rms/devices/{deviceId}/time/{requestId}

GET

Erhält bearbeitete Zeitinformationen von einem Gerät. Diese API ist ausführbar, nachdem getUpdatedTimeInfoResult API ausgeführt wurde.

listDeviceGroupOrgan

/restapi/v1.0/rms/devices/groups

GETImportiert eine Liste der Organisationen.
listDeviceGroupInfo

/restapi/v1.0/rms/devices/groups/{groupId}

GETImportiert Details der {groupId}-Gruppe.
listDeviceGroupChild

/restapi/v1.0/rms/devices/groups/{groupId}/child

GETImportiert Informationen über Untergruppen unter {groupId}.

Benutzer

Benutzer hinzufügen und Benutzerinformationen verwalten. Benutzerbezogene Dienste sind für authentifizierte Benutzer mit Berechtigungen zum Lesen, Schreiben und Verwalten von Benutzerinformationen zugänglich.

Die folgenden Benutzerverwaltungsdienste sind verfügbar:

Name des Dienstes

API-Aufruf

EreignistypBeschreibung
createUser/restapi/v1.0/ums/usersPOSTFügt einen Benutzer hinzu.
listDashboardUserInfo

/restapi/v1.0/ums/users/dashboard

GETImportiert notwendige Benutzerinformationen aus dem Dashboard.
updateMyInfo

/restapi/v1.0/ums/users/me

PUTBearbeitet Benutzerinformationen.
listUserOrgan

/restapi/v1.0/ums/users/organization

GETImportiert eine Liste der Organisationen. Diese Option kann verwendet werden, um eine Gruppenstruktur zu konfigurieren.
listUserGroupOrgan

/restapi/v1.0/ums/users/groups

GETImportiert eine Liste der Organisationen.
listUserGroupInfo

/restapi/v1.0/ums/users/groups/{groupId}

GETImportiert Details der {groupId}-Gruppe.
listUserGroupChild

/restapi/v1.0/ums/users/groups/{groupId}/child

GETImportiert eine Liste der Untergruppen unter der {groupId}-Gruppe.

Einstellung

Neben den Hauptfunktionen können Sie viele weitere Funktionen zum Erstellen und Verwalten von Tags und Kategorien verwenden und das Dashboard bearbeiten.

Name des Dienstes

API-Aufruf

EreignistypBeschreibung
getCategoryInfo

/restapi/v1.0/ems/category/{categoryId}

GETImportiert eine Liste der Kategorien.
deleteDashboard

/restapi/v1.0/ems/dashboard

DELETELöscht bestimmte Dashboard-Informationen.
listDashboardInfo

/restapi/v1.0/ems/dashboard

GETImportiert Inhalte, die auf dem angepassten Dashboard angezeigt werden. Es ist möglich, nur bestimmte Informationen auf dem Dashboard anzuzeigen.
updateDashboardPriority

/restapi/v1.0/ems/dashboard

PUTÄndert die Reihenfolge der Elemente, die auf dem Dashboard angezeigt werden.
createDashboard

/restapi/v1.0/ems/dashboard/create

GETAktiviert ein inaktives Dashboard.

listDashboardLoginInfo

/restapi/v1.0/ems/dashboard/login

GETImportiert Anmeldeinformationen, die auf dem Dashboard angezeigt werden.
listDashboardNoticeInfo

/restapi/v1.0/ems/dashboard/notice

GETImportiert Anzeigetafel-Informationen, die auf dem Dashboard angezeigt werden.
deleteNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

DELETELöscht einen Beitrag von der Anzeigetafel.
listEditNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

GETImportiert Details des ausgewählten Beitrags.
createNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

POSTFügt einen Beitrag zur Anzeigetafel hinzu.
updateNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

PUTBearbeitet den ausgewählten Beitrag auf der Anzeigetafel.
listDashboardStorageInfo

/restapi/v1.0/ems/dashboard/storage

GETImportiert Speicherinformationen, die auf dem Dashboard angezeigt werden.

listLicense

/restapi/v1.0/ems/license

GETImportiert eine Liste der Lizenzen, die auf dem Server registriert werden.
getServerSetupInfo

/restapi/v1.0/ems/setup

GETImportiert Servereinstellungen. Servereinstellelemente enthalten Optionen, die verschiedene Funktionen auf dem Server aktivieren oder deaktivieren können.
getTagListInfo

/restapi/v1.0/ems/tag

POSTImportiert eine Liste der Tags, die auf dem Server registriert werden.


Open API-Details (Swagger UI)

Open API Documentation
docExpansionkeine
validatorUrlkeine
operationsSorterMethode
urlhttp://184.169.167.38:7001/MagicInfo/v2/api-docs/




Sv translation
languagezh_TW


MagicInfo Server 可讓您呼叫 Open API (v2.0),藉此執行內容管理、排程管理、裝置管理和其他功能。 

 若要使用 Open API (v2.0),您首先需要經過驗證程序。使用獨立 Swagger 頁面以測試每個 API。

驗證

呼叫所有 Open API (v2.0) 項目時,標頭中必須納入 api_token。若沒有納入此,就會回傳「401 Unauthorized」(未獲授權) 錯誤。 

在指定期限後,取得的權杖會過期並變成無法使用。在此情況下,您應取得新的權杖。

呼叫下列 API 可取得 api_token。

服務名稱

API 呼叫

呼叫類型描述
authenticationRequest

/auth

發佈使用使用者 ID 和密碼匯入權杖值以進行驗證。
authenticationRequest

/auth/refresh

取得建立新權杖以延長到期時間。若沒有再次登入,就無法呼叫其餘 API

OPEN API (v2.0)

MagicInfo Server Open API (v2.0) 提供各種功能。每項功能的設定顯示如下。 

類別控制器描述
內容內容-控制器內容檔案管理
內容-群組-控制器內容群組管理
播放清單播放清單-控制器管理播放清單
播放清單-群組-控制器播放清單群組管理
排程內容-排程-控制器內容排程管理
內容-排程-群組-控制器內容排程群組管理
訊息-排程-控制器訊息排程管理
訊息-排程-群組-控制器訊息排程群組管理
裝置裝置-控制器裝置管理
裝置-群組-控制器裝置群組管理
使用者使用者-控制器使用者管理
使用者-群組-控制器使用者群組管理
設定環境-控制器設定

內容

上傳、核准或刪除內容。管理內容清單。接受驗證的使用者可透過權限存取內容相關服務,以讀取、寫入和管理內容。

可用的內容管理服務如下:

服務名稱

API 呼叫

呼叫類型描述
listAllContent

/restapi/v1.0/cms/contents

取得匯入上傳的內容清單。內容縮圖、名稱、檔案類型和其他基本資訊皆包括在清單中。可使用分頁資訊每頁匯入清單。
listDashboardContentInfo

/restapi/v1.0/cms/contents/dashboard

取得匯入要顯示在儀表板上的一般內容資訊。
listContent

/restapi/v1.0/cms/contents/filter

發佈匯入根據條件篩選的內容清單。可使用分頁資訊每頁匯入清單。
forceDeleteContent

/restapi/v1.0/cms/contents/force/{contentId}

刪除刪除內容,無論內容是否納入播放清單或排程中。
deleteContent

/restapi/v1.0/cms/contents/{contentId}

刪除在確認內容未納入播放清單或排程後刪除內容。若嘗試刪除已納入播放清單或排程的內容,該內容將不會被刪除,並回傳錯誤代碼。
getActiveContentInfo

/restapi/v1.0/cms/contents/{contentId}

取得匯入已啟動內容版本的詳細資訊。內容版本會在每次編輯內容時更新。
approveContents

/restapi/v1.0/cms/contents/{contentId}/approval

放置核准/拒絕內容。核准的內容會移到一般內容清單,且能在播放清單或排程中使用。
uploadContent

/restapi/v1.0/cms/contents/{groupId}

發佈上傳新內容。

listDefaultGroup

/restapi/v1.0/cms/contents/groups

取得匯入預設內容群組清單。
getGroup

/restapi/v1.0/cms/contents/groups/{groupId}

取得匯入 {groupId} 群組的詳細資訊。
listChildGroup

/restapi/v1.0/cms/contents/groups/{groupId}/child

取得匯入 {groupId} 群組之下的子群組清單。


播放清單

使用內容以建立、編輯或刪除播放清單。接受驗證的使用者可透過權限存取播放清單相關服務,以讀取、寫入和管理內容。

可用的播放清單管理服務如下:

服務名稱

API 呼叫

呼叫類型描述
listAllPlaylist

/restapi/v1.0/cms/playlists

取得匯入所有播放清單。播放清單名稱、主要內容縮圖、播放清單類型和其他基本資訊皆包括在清單中。可使用分頁資訊每頁匯入清單。
createPlaylist

/restapi/v1.0/cms/playlists

發佈建立一個新的播放清單。

getDashboardPlaylistInfo

/restapi/v1.0/cms/playlists/dashboard

取得從儀表板匯入必要的播放清單資訊。

listPlaylist

/restapi/v1.0/cms/playlists/filter

發佈匯入根據條件篩選的播放清單。可使用分頁資訊每頁匯入清單。

deletePlaylist

/restapi/v1.0/cms/playlists/{playlistId}

刪除刪除所選播放清單。若嘗試刪除已納入排程的播放清單,該播放清單將不會被刪除,並回傳錯誤代碼。

getActivePlaylistInfo

/restapi/v1.0/cms/playlists/{playlistId}

取得匯入已啟動播放清單版本的詳細資訊。播放清單版本會在每次編輯播放清單時更新。

editPlaylist

/restapi/v1.0/cms/playlists/{playlistId}

放置編輯 {playlistId} 播放清單。編輯播放清單會更新播放清單版本,並造成播放播放清單的裝置自動播放更新的播放清單。

copyPlaylist

/restapi/v1.0/cms/playlists/{playlistId}/copy

放置複製 {playlistId} 播放清單。會建立重複的播放清單副本。
listDefaultGroup

/restapi/v1.0/cms/playlists/groups

取得匯入預設播放清單群組的清單。

getGroup

/restapi/v1.0/cms/playlists/groups/{groupId}

取得匯入 {groupId} 群組的詳細資訊。
listChildGroup/restapi/v1.0/cms/playlists/groups/{groupId}/child取得

匯入 {groupId} 群組之下的子群組清單。

排程

建立新的內容或訊息排程。將排程發佈到裝置以播放。編輯或刪除排程。

接受驗證的使用者可透過權限存取排程相關服務,以讀取、寫入和管理排程。

可用的排程管理服務如下:

服務名稱

API 呼叫

呼叫類型描述
listContentScheduleAll

/restapi/v1.0/dms/schedule/contents

取得匯入所有內容排程清單。內容排程名稱、建立日期、裝置類型和其他基本資訊皆包括在清單中。可使用分頁資訊每頁匯入清單。
createContentSchedule

/restapi/v1.0/dms/schedule/contents

發佈建立新的內容排程。內容排程可包含多個頻道和畫面。將排程發佈到裝置並在指定時間播放所需內容或播放清單。
listDashboardScheduleInfo

/restapi/v1.0/dms/schedule/contents/dashboard

取得從儀表板匯入必要的內容排程資訊。
listContentScheduleByGroup

/restapi/v1.0/dms/schedule/contents/filter

發佈匯入根據不同條件篩選的內容排程清單。可使用分頁資訊每頁匯入清單。
deleteContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}

刪除刪除內容排程。若刪除先前發佈到裝置的排程,則裝置會自動播放預設內容。
getProgramInfo

/restapi/v1.0/dms/schedule/contents/{programId}

取得匯入所選排程的詳細資訊。
editContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}

放置編輯內容排程。若編輯先前發佈到裝置的排程,則裝置會自動播放編輯的排程。
copyContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}/copy

放置複製 {programId} 內容排程。會建立重複的 {programId} 內容排程副本。
deployContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}/deploy

放置將內容排程發佈到特定裝置群組。
getPublishStatus

/restapi/v1.0/dms/schedule/contents/{programId}/publishStatus

取得從裝置匯入即時內容排程下載狀態。
getRootGroups

/restapi/v1.0/dms/schedule/contents/groups

取得匯入內容排程的根群組清單。
listContentScheduleGroupInfo/restapi/v1.0/dms/schedule/contents/groups/{groupId}取得匯入 {groupId} 群組的詳細資訊。
listAllMessageSchedule

/restapi/v1.0/dms/schedule/messages

取得匯入所有訊息排程清單。
createMessageSchedule

/restapi/v1.0/dms/schedule/messages

發佈建立新的訊息排程。
listMessage

/restapi/v1.0/dms/schedule/messages/filter

發佈 

匯入根據不同條件篩選的訊息排程清單。可使用分頁資訊每頁匯入清單。
deleteMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}

刪除刪除所選訊息排程。若刪除先前發佈到裝置的訊息排程,則該變更會自動套用至裝置。
getMessageInfo

/restapi/v1.0/dms/schedule/messages/{messageId}

取得匯入所選訊息排程的詳細資訊。
editMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}

放置編輯所選訊息排程。若編輯先前發佈到裝置的訊息排程,則該變更會自動套用至裝置。
copyMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}/copy

放置複製所選訊息排程。會建立重複的訊息排程副本。
deployMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}/deploy

放置將所選訊息排程發佈到裝置群組。
getRootGroups

/restapi/v1.0/dms/schedule/messages/groups

取得匯入內容排程的根群組清單。
listMessageScheduleGroupInfo

/restapi/v1.0/dms/schedule/messages/groups/{groupId}

取得匯入 {groupId} 群組的詳細資訊。
getChildGroups

/restapi/v1.0/dms/schedule/messages/groups/{groupId}/child

取得匯入特定群組之下的子群組清單。

裝置

控制並管理裝置。接受驗證的使用者可透過權限存取裝置相關服務,以讀取、寫入和管理裝置。

可用的裝置管理服務如下:

服務名稱

API 呼叫

呼叫類型描述
listAllDevice

/restapi/v1.0/rms/devices

取得匯入所有裝置清單。裝置電源狀態、縮圖資訊、裝置錯誤狀態和其他基本資訊皆包括在清單中。可使用分頁資訊每頁匯入清單。
getDashboardDeviceInfo

/restapi/v1.0/rms/devices/dashboard

取得從儀表板匯入必要的裝置資訊。
filterDeviceList

/restapi/v1.0/rms/devices/filter

發佈匯入根據不同條件篩選的裝置清單。可使用分頁資訊每頁匯入清單。
deleteDevice

/restapi/v1.0/rms/devices/{deviceId}

刪除刪除所選裝置。
getDevice

/restapi/v1.0/rms/devices/{deviceId}

取得匯入所選裝置的詳細資訊。
approveDevice

/restapi/v1.0/rms/devices/{deviceId}/approval

放置向特定群組核准所選裝置。
getCabinetList

/restapi/v1.0/rms/devices/{deviceId}/cabinet

發佈匯入關於連接至 LED 裝置之機櫃的資訊。只有在機櫃已連接至 LED 裝置時,匯入的資訊才有效。
updateCabinetInfo

/restapi/v1.0/rms/devices/{deviceId}/cabinet

放置編輯關於連接至 LED 裝置之機櫃的資訊。
getDisplayControlInfo

/restapi/v1.0/rms/devices/{deviceId}/display

取得從資料庫匯入裝置顯示控制資訊。若沒有顯示控制資訊,資訊請求應傳送至裝置。
updateDisplayInfo

/restapi/v1.0/rms/devices/{deviceId}/display

放置將編輯的顯示控制資訊傳送至裝置。只有顯示資訊中已編輯的值會作為通訊協定傳送至裝置。
getUpdatedDisplayInfoResult

/restapi/v1.0/rms/devices/{deviceId}/display/{requestId}

取得從裝置接收已編輯的顯示控制資訊。在執行 updateDisplayInfo (更新顯示資訊) API 後,即可執行此 API。
getGeneralInfo

/restapi/v1.0/rms/devices/{deviceId}/general

取得從資料庫匯入一般裝置資訊。一般裝置資訊會在裝置連線至伺服器時更新。
updateGeneralInfo

/restapi/v1.0/rms/devices/{deviceId}/general/info

放置將編輯的裝置資訊傳送至裝置。只有基本裝置資訊中已編輯的值會作為通訊協定傳送至裝置。
getUpdatedGeneralInfoResult

/restapi/v1.0/rms/devices/{deviceId}/general/{requestId}

取得從裝置接收已編輯的裝置資訊。在執行 updateGeneralInfo (更新一般資訊) API 後,即可執行此 API。
moveDevice

/restapi/v1.0/rms/devices/{deviceId}/move

放置將裝置移動至另一個群組。
startRmServerVnc

/restapi/v1.0/rms/devices/{deviceId}/rmserver/start

取得將 RM 啟動通訊協定傳送至裝置。接收 RM 啟動通訊協定的裝置會透過 RM 伺服器定期傳送資訊。
stopRmServerVnc

/restapi/v1.0/rms/devices/{deviceId}/rmserver/stop

取得將 RM 停止通訊協定傳送至裝置。接收停止通訊協定的裝置會立刻停止相應的功能。
getSetupInfo

/restapi/v1.0/rms/devices/{deviceId}/setup

取得匯入裝置設定。裝置設定會在裝置連線至伺服器時更新。
updateSetupInfo

/restapi/v1.0/rms/devices/{deviceId}/setup

放置將編輯的裝置設定傳送至裝置。只有設定中已編輯的值會作為通訊協定傳送至裝置。
getUpdatedSetupInfoResult

/restapi/v1.0/rms/devices/{deviceId}/setup/{requestId}

取得從裝置接收已編輯的裝置設定。在執行 updateSetupInfo (更新設定資訊) API 後,即可執行此 API。
getCurrentStatusDisplay

/restapi/v1.0/rms/devices/{deviceId}/status/display

取得將目前的顯示控制資訊請求傳送至裝置。若呼叫此 API,就會回傳請求 ID 作為回應值。
getCurrentStatusDisplay

/restapi/v1.0/rms/devices/{deviceId}/status/display/{requestId}

取得匯入從裝置傳送的顯示控制資訊。此選項用於兩個動作:將資訊請求傳送至裝置並接收實際裝置資訊。
getCurrentStatusTime

/restapi/v1.0/rms/devices/{deviceId}/status/time

取得將目前的時間資訊請求傳送至裝置。若呼叫此 API,就會回傳請求 ID 作為回應值。
getCurrentStatusTime

/restapi/v1.0/rms/devices/{deviceId}/status/time/{requestId}

取得匯入從裝置傳送的時間資訊。此選項用於兩個動作:將資訊請求傳送至裝置並接收實際裝置資訊。
getTimeInfo

/restapi/v1.0/rms/devices/{deviceId}/time

取得從資料庫匯入裝置時間資訊。若沒有顯示控制資訊,資訊請求應傳送至裝置。
updateTimeInfo

/restapi/v1.0/rms/devices/{deviceId}/time

放置將編輯的時間資訊傳送至裝置。只有時間資訊中已編輯的值會作為通訊協定傳送至裝置。
getUpdatedTimeInfoResult

/restapi/v1.0/rms/devices/{deviceId}/time/{requestId}

取得

從裝置接收已編輯的裝置時間資訊。在執行 getUpdatedTimeInfoResult (取得已更新的時間資訊結果) API 後,即可執行此 API。

listDeviceGroupOrgan

/restapi/v1.0/rms/devices/groups

取得匯入組織清單。
listDeviceGroupInfo

/restapi/v1.0/rms/devices/groups/{groupId}

取得匯入 {groupId} 群組的詳細資訊。
listDeviceGroupChild

/restapi/v1.0/rms/devices/groups/{groupId}/child

取得匯入 {groupId} 之下的子群組相關資訊。

使用者

新增使用者並管理使用者資訊。接受驗證的使用者可透過權限存取使用者相關服務,以讀取、寫入和管理使用者資訊。

可用的使用者管理服務如下:

服務名稱

API 呼叫

呼叫類型描述
createUser/restapi/v1.0/ums/users發佈新增使用者。
listDashboardUserInfo

/restapi/v1.0/ums/users/dashboard

取得從儀表板匯入必要的使用者資訊。
updateMyInfo

/restapi/v1.0/ums/users/me

放置編輯使用者資訊。
listUserOrgan

/restapi/v1.0/ums/users/organization

取得匯入組織清單。此選項可用來設定群組樹狀結構。
listUserGroupOrgan

/restapi/v1.0/ums/users/groups

取得匯入組織清單。
listUserGroupInfo

/restapi/v1.0/ums/users/groups/{groupId}

取得匯入 {groupId} 群組的詳細資訊。
listUserGroupChild

/restapi/v1.0/ums/users/groups/{groupId}/child

取得匯入 {groupId} 群組之下的子群組清單。

設定

除了主要功能,您也可以使用許多其他功能,以建立並管理標籤和類別,並編輯儀表板。

服務名稱

API 呼叫

呼叫類型描述
getCategoryInfo

/restapi/v1.0/ems/category/{categoryId}

取得匯入類別清單。
deleteDashboard

/restapi/v1.0/ems/dashboard

刪除刪除特定儀表板資訊。
listDashboardInfo

/restapi/v1.0/ems/dashboard

取得匯入要顯示在自訂儀表板上的內容。可以在儀表板上只顯示特定資訊。
updateDashboardPriority

/restapi/v1.0/ems/dashboard

放置變更顯示在儀表板上的項目順序。
createDashboard

/restapi/v1.0/ems/dashboard/create

取得啟動閒置儀表板。

listDashboardLoginInfo

/restapi/v1.0/ems/dashboard/login

取得匯入要顯示在儀表板上的登入資訊。
listDashboardNoticeInfo

/restapi/v1.0/ems/dashboard/notice

取得匯入要顯示在儀表板上的佈告欄資訊。
deleteNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

刪除從佈告欄刪除發佈內容。
listEditNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

取得匯入所選發佈內容的詳細資訊。
createNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

發佈將發佈內容新增至佈告欄。
updateNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

放置在佈告欄上編輯所選發佈內容。
listDashboardStorageInfo

/restapi/v1.0/ems/dashboard/storage

取得匯入要顯示在儀表板上的儲存資訊。

listLicense

/restapi/v1.0/ems/license

取得匯入在伺服器上註冊的授權清單。
getServerSetupInfo

/restapi/v1.0/ems/setup

取得匯入伺服器設定。伺服器設定項目包括可在伺服器上開啟或關閉不同功能的選項。
getTagListInfo

/restapi/v1.0/ems/tag

發佈匯入在伺服器上註冊的標籤清單。


Open API 詳細資訊 (swagger UI)

Open API Documentation
docExpansion
validatorUrl
operationsSorter方法
urlhttp://184.169.167.38:7001/MagicInfo/v2/api-docs/




Sv translation
languagees


MagicInfo Server le permite implementar la gestión de contenidos, la gestión de programaciones, la gestión de dispositivos y otras funciones mediante una llamada a Open API (versión 2.0). 

 Para utilizar Open API (versión 2.0), antes es necesario pasar por un proceso de autenticación. Use una página independiente de Swagger para probar cada API.

Autenticación

Si desea invocar todos los elementos de Open API (versión 2.0), se debe incluir api_token en el encabezado. De lo contrario, se devolverá un error 401 (no autorizado). 

Un token obtenido caduca y deja de estar disponible para su uso después de un período de tiempo especificado. Si este es el caso, debe obtener un nuevo token.

Se puede obtener api_token invocando la siguiente API.

Nombre del servicio

Llamada de API

Tipo de llamadaDescripción
authenticationRequest

/auth

POSTImporta un valor de token para la autenticación utilizando el ID y la contraseña de usuario.
authenticationRequest

/auth/refresh

GETCrea un nuevo token para prolongar el tiempo de caducidad. Es posible llamar a la API REST sin iniciar sesión otra vez.

OPEN API (versión 2.0)

La versión 2.0 de Open API que emplea MagicInfo Server ofrece una serie de funciones. A continuación se muestra la configuración de cada función. 

CategoríaControladorDescripción
Contenidocontent-controllerGestión de archivos de contenido
content-group-controllerGestión de grupos de contenido
Lista de reproducciónplaylist-controllerGestión de listas de reproducción
playlist-group-controllerGestión de grupos de listas de reproducción
Programacióncontent-schedule-controllerGestión de programaciones de contenidos
content-schedule-group-controllerGestión de grupos de programaciones de contenidos
message-schedule-controllerAdministración de la programación de mensajes
message-schedule-group-controllerGestión de grupos de programaciones de mensajes
Dispositivodevice-controllerAdministración de dispositivos
device-group-controllerGestión de grupos de dispositivos
Usu.user-controllerAdministración de usuarios
user-group-controllerGestión de grupos de usuarios
Configuraciónenvironment-controllerConfiguración

Contenido

Cargar, aprobar o eliminar contenido. Gestionar listas de contenido. Los usuarios autenticados con privilegios para leer, escribir y gestionar contenidos pueden acceder a los servicios relacionados con el contenido.

Los servicios de gestión de contenidos disponibles son los siguientes:

Nombre del servicio

Llamada de API

Tipo de llamadaDescripción
listAllContent

/restapi/v1.0/cms/contents

GETImporta una lista del contenido cargado. Las miniaturas de contenido, los nombres, los tipos de archivos y otra información básica se incluyen en la lista. Las listas se pueden importar por página mediante la información de paginación.
listDashboardContentInfo

/restapi/v1.0/cms/contents/dashboard

GETImporta información general de contenido que se mostrará en el panel.
listContent

/restapi/v1.0/cms/contents/filter

POSTImporta una lista de contenido filtrado de acuerdo con condiciones. Las listas se pueden importar por página mediante la información de paginación.
forceDeleteContent

/restapi/v1.0/cms/contents/force/{contentId}

DELETEBorra el contenido, tanto si está incluido en una lista de reproducción o una programación como si no.
deleteContent

/restapi/v1.0/cms/contents/{contentId}

DELETEElimina el contenido después de comprobar que no está incluido en una lista de reproducción o una programación. Si intenta eliminar contenido incluido en una lista de reproducción o una programación, no se eliminará y se devolverá un código de error.
getActiveContentInfo

/restapi/v1.0/cms/contents/{contentId}

GETImporta detalles sobre una versión de contenido activada. La versión de contenido se actualiza cada vez que el contenido se edita.
approveContents

/restapi/v1.0/cms/contents/{contentId}/approval

PUTAprueba/rechaza el contenido. El contenido aprobado se mueve a la lista de contenido general y se puede utilizar en listas de reproducción o programaciones.
uploadContent

/restapi/v1.0/cms/contents/{groupId}

POSTCarga contenido nuevo.

listDefaultGroup

/restapi/v1.0/cms/contents/groups

GETImporta una lista de grupos de contenido predeterminados.
getGroup

/restapi/v1.0/cms/contents/groups/{groupId}

GETImporta detalles sobre el grupo {groupId}.
listChildGroup

/restapi/v1.0/cms/contents/groups/{groupId}/child

GETImporta una lista de subgrupos contenidos en el grupo {groupId}.


Lista de reproducción

Utilice el contenido para crear, editar o borrar listas de reproducción. Los usuarios autenticados con privilegios para leer, escribir y gestionar contenido pueden acceder a los servicios relacionados con las listas de reproducción.

Los servicios de gestión de listas de reproducción disponibles son los siguientes:

Nombre del servicio

Llamada de API

Tipo de llamadaDescripción
listAllPlaylist

/restapi/v1.0/cms/playlists

GETImporta una lista de todas listas de reproducción. En la lista se incluyen los nombres de las listas de reproducción, las miniaturas de contenido principal, los tipos de listas de reproducción y otra información básica. Las listas se pueden importar por página mediante la información de paginación.
createPlaylist

/restapi/v1.0/cms/playlists

POSTCrea una nueva lista de reproducción.

getDashboardPlaylistInfo

/restapi/v1.0/cms/playlists/dashboard

GETImporta la información de lista de reproducción necesaria del panel.

listPlaylist

/restapi/v1.0/cms/playlists/filter

POSTImporta una lista de listas de reproducción filtradas de acuerdo con condiciones. Las listas se pueden importar por página mediante la información de paginación.

deletePlaylist

/restapi/v1.0/cms/playlists/{playlistId}

DELETEElimina la lista de reproducción seleccionada. Si intenta eliminar una lista de reproducción incluida en una programación, no se eliminará y se devolverá un código de error.

getActivePlaylistInfo

/restapi/v1.0/cms/playlists/{playlistId}

GETImporta detalles sobre una versión activada de una lista de reproducción. La versión de una lista de reproducción se actualiza cada vez que se edita la lista de reproducción.

editPlaylist

/restapi/v1.0/cms/playlists/{playlistId}

PUTEdita la lista de reproducción {playlistId}. La edición de una lista de reproducción provoca la actualización de la versión de la lista de reproducción y hace que el dispositivo de reproducción reproduzca automáticamente la lista de reproducción actualizada.

copyPlaylist

/restapi/v1.0/cms/playlists/{playlistId}/copy

PUTCopia la lista de reproducción {playlistId}. Se crea una copia duplicada de la lista de reproducción.
listDefaultGroup

/restapi/v1.0/cms/playlists/groups

GETImporta una lista de los grupos predeterminados de la lista de reproducción.

getGroup

/restapi/v1.0/cms/playlists/groups/{groupId}

GETImporta detalles sobre el grupo {groupId}.
listChildGroup/restapi/v1.0/cms/playlists/groups/{groupId}/childGET

Importa una lista de subgrupos contenidos en el grupo {groupId}.

Programación

Cree nuevas programaciones de contenido o mensajes. Publique programaciones en dispositivos para su reproducción. Edite o elimine programaciones.

Los usuarios autenticados con privilegios para leer, escribir y gestionar programaciones pueden acceder a los servicios relacionados con las programaciones.

Los servicios de gestión de programaciones disponibles son los siguientes:

Nombre del servicio

Llamada de API

Tipo de llamadaDescripción
listContentScheduleAll

/restapi/v1.0/dms/schedule/contents

GETImporta una lista de todas las programaciones de contenido. En la lista se incluyen los nombres de las programaciones, las fechas de creación, los tipos de dispositivos y otra información básica. Las listas se pueden importar por página mediante la información de paginación.
createContentSchedule

/restapi/v1.0/dms/schedule/contents

POSTCrea una nueva programación de contenido. Una programación de contenido puede contener varios canales y marcos. Publique una programación en los dispositivos y reproduzca el contenido deseado o una lista de reproducción en un momento especificado.
listDashboardScheduleInfo

/restapi/v1.0/dms/schedule/contents/dashboard

GETImporta información de programación de contenido necesaria del panel.
listContentScheduleByGroup

/restapi/v1.0/dms/schedule/contents/filter

POSTImporta una lista de programaciones de contenido filtrada de acuerdo con diferentes condiciones. Las listas se pueden importar por página mediante la información de paginación.
deleteContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}

DELETEElimina una programación de contenido. Si elimina una programación previamente publicada en un dispositivo, el dispositivo reproduce automáticamente el contenido predeterminado.
getProgramInfo

/restapi/v1.0/dms/schedule/contents/{programId}

GETImporta detalles sobre la programación seleccionada.
editContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}

PUTEdita una programación de contenido. Si edita una programación publicada previamente en un dispositivo, el dispositivo reproduce automáticamente la programación editada.
copyContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}/copy

PUTCopia la programación de contenido {programId}. Se crea una copia duplicada de la programación de contenido {programId}.
deployContentSchedule

/restapi/v1.0/dms/schedule/contents/{programId}/deploy

PUTPublica una programación de contenido en un grupo de dispositivos específico.
getPublishStatus

/restapi/v1.0/dms/schedule/contents/{programId}/publishStatus

GETImporta el estado de descarga de la programación de contenido en tiempo real desde un dispositivo.
getRootGroups

/restapi/v1.0/dms/schedule/contents/groups

GETImporta una lista de grupos raíz para una programación de contenido.
listContentScheduleGroupInfo/restapi/v1.0/dms/schedule/contents/groups/{groupId}GETImporta detalles sobre el grupo {groupId}.
listAllMessageSchedule

/restapi/v1.0/dms/schedule/messages

GETImporta una lista de todas las programaciones de mensajes.
createMessageSchedule

/restapi/v1.0/dms/schedule/messages

POSTCrea una nueva programación de mensajes.
listMessage

/restapi/v1.0/dms/schedule/messages/filter

POST 

Importa una lista de programaciones de mensajes filtrada según diferentes condiciones. Las listas se pueden importar por página mediante la información de paginación.
deleteMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}

DELETEBorra la programación de mensajes seleccionada. Si elimina una programación de mensajes anteriormente publicada en un dispositivo, el cambio se aplica automáticamente al dispositivo.
getMessageInfo

/restapi/v1.0/dms/schedule/messages/{messageId}

GETImporta detalles sobre la programación de mensajes seleccionada.
editMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}

PUTModifica la programación de mensajes seleccionada. Si edita una programación de mensajes publicada previamente en un dispositivo, el cambio se aplica automáticamente al dispositivo.
copyMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}/copy

PUTCopia la programación de mensajes seleccionada. Se crea una copia duplicada de la programación de mensajes.
deployMessageSchedule

/restapi/v1.0/dms/schedule/messages/{messageId}/deploy

PUTPublica la programación de mensajes seleccionada en un grupo de dispositivos.
getRootGroups

/restapi/v1.0/dms/schedule/messages/groups

GETImporta una lista de grupos raíz para una programación de contenido.
listMessageScheduleGroupInfo

/restapi/v1.0/dms/schedule/messages/groups/{groupId}

GETImporta detalles sobre el grupo {groupId}.
getChildGroups

/restapi/v1.0/dms/schedule/messages/groups/{groupId}/child

GETImporta una lista de subgrupos incluidos en un grupo específico.

Dispositivo

Controle y gestione los dispositivos. Los usuarios autenticados con privilegios para leer, escribir y gestionar dispositivos pueden acceder a los servicios relacionados con los dispositivos.

Los servicios de gestión de dispositivos disponibles son los siguientes:

Nombre del servicio

Llamada de API

Tipo de llamadaDescripción
listAllDevice

/restapi/v1.0/rms/devices

GETImporta una lista de todos los dispositivos. En la lista se incluyen el estado de alimentación del dispositivo, la información sobre las miniaturas, el estado de error de dispositivo y otra información básica. Las listas se pueden importar por página mediante la información de paginación.
getDashboardDeviceInfo

/restapi/v1.0/rms/devices/dashboard

GETImporta la información de dispositivo necesaria del panel.
filterDeviceList

/restapi/v1.0/rms/devices/filter

POSTImporta una lista de dispositivos filtrada según diferentes condiciones. Las listas se pueden importar por página mediante la información de paginación.
deleteDevice

/restapi/v1.0/rms/devices/{deviceId}

DELETEBorra el dispositivo seleccionado.
getDevice

/restapi/v1.0/rms/devices/{deviceId}

GETImporta detalles sobre el dispositivo seleccionado.
approveDevice

/restapi/v1.0/rms/devices/{deviceId}/approval

PUTAprueba el dispositivo seleccionado en un grupo específico.
getCabinetList

/restapi/v1.0/rms/devices/{deviceId}/cabinet

POSTImporta información sobre las vitrinas conectadas a un dispositivo LED. La información importada solo es válida cuando las vitrinas están conectadas a un dispositivo LED.
updateCabinetInfo

/restapi/v1.0/rms/devices/{deviceId}/cabinet

PUTEdita la información sobre las vitrinas conectadas a un dispositivo LED.
getDisplayControlInfo

/restapi/v1.0/rms/devices/{deviceId}/display

GETImporta información sobre el control de visualización de dispositivos de la base de datos. Si no hay información de control, se debe enviar una solicitud de información al dispositivo.
updateDisplayInfo

/restapi/v1.0/rms/devices/{deviceId}/display

PUTEnvía la información sobre el control de visualización editada a un dispositivo. Se envían solo los valores editados de la información de visualización como un protocolo al dispositivo.
getUpdatedDisplayInfoResult

/restapi/v1.0/rms/devices/{deviceId}/display/{requestId}

GETRecibe la información sobre el control de visualización editada de un dispositivo. Esta API se puede ejecutar después de la ejecución de la API updateDisplayInfo.
getGeneralInfo

/restapi/v1.0/rms/devices/{deviceId}/general

GETImporta información general del dispositivo desde la base de datos. La información general del dispositivo se actualiza cuando el dispositivo se conecta al servidor.
updateGeneralInfo

/restapi/v1.0/rms/devices/{deviceId}/general/info

PUTEnvía la información de dispositivo editada a un dispositivo. Se envían solo los valores editados de la información de dispositivo básica a modo de protocolo al dispositivo.
getUpdatedGeneralInfoResult

/restapi/v1.0/rms/devices/{deviceId}/general/{requestId}

GETRecibe la información del dispositivo editada desde un dispositivo. Esta API se puede ejecutar después de la ejecución de la API updateGeneralInfo.
moveDevice

/restapi/v1.0/rms/devices/{deviceId}/move

PUTMueve un dispositivo a otro grupo.
startRmServerVnc

/restapi/v1.0/rms/devices/{deviceId}/rmserver/start

GETEnvía un protocolo de inicio de gestión remota a un dispositivo. Un dispositivo que recibe un protocolo de inicio de gestión remota envía información periódicamente a través del servidor de gestión remota.
stopRmServerVnc

/restapi/v1.0/rms/devices/{deviceId}/rmserver/stop

GETEnvía un protocolo de detención de gestión remota a un dispositivo. Un dispositivo que recibe un protocolo de detención detiene inmediatamente la función correspondiente.
getSetupInfo

/restapi/v1.0/rms/devices/{deviceId}/setup

GETImporta la configuración del dispositivo. La configuración del dispositivo se actualiza cuando el dispositivo se conecta al servidor.
updateSetupInfo

/restapi/v1.0/rms/devices/{deviceId}/setup

PUTEnvía la configuración de dispositivo editada a un dispositivo. Se envían solo los valores editados de la configuración a modo de protocolo al dispositivo.
getUpdatedSetupInfoResult

/restapi/v1.0/rms/devices/{deviceId}/setup/{requestId}

GETRecibe la configuración de dispositivo editada de un dispositivo. Esta API se puede ejecutar después de la ejecución de la API updateSetupInfo.
getCurrentStatusDisplay

/restapi/v1.0/rms/devices/{deviceId}/status/display

GETEnvía una solicitud de información de control de visualización actual a un dispositivo. Si se llama a esta API, se devuelve requestId como valor de respuesta.
getCurrentStatusDisplay

/restapi/v1.0/rms/devices/{deviceId}/status/display/{requestId}

GETImporta la información de control de dispositivo enviada desde un dispositivo. Esta opción se utiliza para dos acciones: enviar una solicitud de información a un dispositivo y recibir la información real del dispositivo.
getCurrentStatusTime

/restapi/v1.0/rms/devices/{deviceId}/status/time

GETEnvía una solicitud de información de la hora actual a un dispositivo. Si se llama a esta API, se devuelve requestId como valor de respuesta.
getCurrentStatusTime

/restapi/v1.0/rms/devices/{deviceId}/status/time/{requestId}

GETImporta la información temporal enviada desde un dispositivo. Esta opción se utiliza para dos acciones: enviar una solicitud de información a un dispositivo y recibir la información real del dispositivo.
getTimeInfo

/restapi/v1.0/rms/devices/{deviceId}/time

GETImporta la información temporal de dispositivo de la base de datos. Si no hay información de control, se debe enviar una solicitud de información al dispositivo.
updateTimeInfo

/restapi/v1.0/rms/devices/{deviceId}/time

PUTEnvía la información temporal editada a un dispositivo. Se envían solo los valores editados de la información temporal a modo de protocolo al dispositivo.
getUpdatedTimeInfoResult

/restapi/v1.0/rms/devices/{deviceId}/time/{requestId}

GET

Recibe la información temporal editada desde un dispositivo. Esta API se puede ejecutar después de la ejecución de la API getUpdatedTimeInfoResult.

listDeviceGroupOrgan

/restapi/v1.0/rms/devices/groups

GETImporta una lista de organizaciones.
listDeviceGroupInfo

/restapi/v1.0/rms/devices/groups/{groupId}

GETImporta detalles sobre el grupo {groupId}.
listDeviceGroupChild

/restapi/v1.0/rms/devices/groups/{groupId}/child

GETImporta la información sobre los subgrupos de {groupId}.

Usu.

Agregue usuarios y gestione la información de usuario. Los usuarios autenticados con privilegios para leer, escribir y gestionar información de usuario pueden acceder a los servicios relacionados con los usuarios.

Los servicios de gestión de usuarios disponibles son los siguientes:

Nombre del servicio

Llamada de API

Tipo de llamadaDescripción
createUser/restapi/v1.0/ums/usersPOSTAñade un usuario.
listDashboardUserInfo

/restapi/v1.0/ums/users/dashboard

GETImporta la información de usuario necesaria desde el panel.
updateMyInfo

/restapi/v1.0/ums/users/me

PUTEdita la información de usuario.
listUserOrgan

/restapi/v1.0/ums/users/organization

GETImporta una lista de organizaciones. Esta opción se puede utilizar para configurar un árbol de grupos.
listUserGroupOrgan

/restapi/v1.0/ums/users/groups

GETImporta una lista de organizaciones.
listUserGroupInfo

/restapi/v1.0/ums/users/groups/{groupId}

GETImporta detalles sobre el grupo {groupId}.
listUserGroupChild

/restapi/v1.0/ums/users/groups/{groupId}/child

GETImporta una lista de subgrupos contenidos en el grupo {groupId}.

Configuración

Además de las funciones principales, puede utilizar muchas otras funciones para crear y gestionar etiquetas y categorías, así como editar el panel.

Nombre del servicio

Llamada de API

Tipo de llamadaDescripción
getCategoryInfo

/restapi/v1.0/ems/category/{categoryId}

GETImporta una lista de categorías.
deleteDashboard

/restapi/v1.0/ems/dashboard

DELETEElimina la información de un panel específico.
listDashboardInfo

/restapi/v1.0/ems/dashboard

GETImporta el contenido que se mostrará en el panel personalizado. Es posible visualizar solo información específica en el panel.
updateDashboardPriority

/restapi/v1.0/ems/dashboard

PUTCambia el orden de los elementos que se muestran en el panel.
createDashboard

/restapi/v1.0/ems/dashboard/create

GETActiva un panel inactivo.

listDashboardLoginInfo

/restapi/v1.0/ems/dashboard/login

GETImporta la información de inicio de sesión que aparecerá en el panel.
listDashboardNoticeInfo

/restapi/v1.0/ems/dashboard/notice

GETImporta la información del tablón de anuncios que se mostrará en el panel.
deleteNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

DELETEElimina una publicación del tablón de anuncios.
listEditNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

GETImporta los detalles de la publicación seleccionada.
createNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

POSTAgrega publicaciones al tablón de anuncios.
updateNoticeInfo

/restapi/v1.0/ems/dashboard/notice/edit

PUTEdita la publicación seleccionada en el tablón de anuncios.
listDashboardStorageInfo

/restapi/v1.0/ems/dashboard/storage

GETImporta la información de almacenamiento que se mostrará en el panel.

listLicense

/restapi/v1.0/ems/license

GETImporta una lista de las licencias registradas en el servidor.
getServerSetupInfo

/restapi/v1.0/ems/setup

GETImporta la configuración del servidor. Los elementos de configuración del servidor incluyen opciones que permiten activar o desactivar diferentes funciones en el servidor.
getTagListInfo

/restapi/v1.0/ems/tag

POSTImporta una lista de etiquetas registradas en el servidor.


Detalles de Open API (interfaz de usuario de Swagger)

Open API Documentation
docExpansionninguno
validatorUrlninguno
operationsSortermétodo
urlhttp://184.169.167.38:7001/MagicInfo/v2/api-docs/