기기 profile 가져오기
GET /profiles/{device_type}
특정 기기 타입의 profile 정보를 가져옵니다. profile 기기가 사용하는 capability의 정보, 등록시 필요한 정보 등을 작성 파일입니다. profile 대한 자세한 내용은 Profile을 확인해주세요
Request
URL : http://{device_ip}:5003/profiles/{device_type}
METHOD : GET
Header
None
Parameter (Path)
device_type (String) *: Profile을 조회하려는 기기 타입명. 허브에서 지원하는 기기타입은 지원 기기타입 가져오기 통해서 확인 가능
Response
Type: Object
profile 에 정의된 json 데이터가 리턴됨. 각 정보에 대한 상새한 내용은 Profile가이드 참조
Response Example
{
"deviceType": "webOSTV",
"name": "webOS",
"components": [
{
"label": "main",
"id": "main",
"capabilities": [
{
"id": "webOSTV",
"version": 1
}
]
}
],
"status": "DEVELOPMENT",
"preferences": [
{
"title": "IP Address",
"name": "ip",
"description": "IP address of the webOS TV",
"required": true,
"type": "string"
}
]
}
Last updated