Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

http://184.169.167.38:7001/MagicInfo/

v2/api-docs/

swagger-ui.html





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)

Open API Documentation
docExpansionnone
operationsSortermethod
supportedSubmitMethodsnone
url
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)

Open API Documentation
docExpansionnone
operationsSortermethod
supportedSubmitMethodsnone
urlhttp://184.169.167.38:7001/MagicInfo/v2/api-docs/