home (1.0.0)

Download OpenAPI specification:Download

api server for Neofect Home

Authentication

bearerAuth

Security Scheme Type HTTP
HTTP Authorization Scheme bearer
Bearer format "JWT"

menu

get Main Category

get Main Category

Authorizations:
path Parameters
patientId
required
integer <int64> (TypeLong)
Example: 233

patient id

Responses

Response samples

Content type
application/json
null

get Middle Category

get Middle Category

Authorizations:

Responses

Response samples

Content type
application/json
null

get Subclass

get Subclass

Authorizations:
path Parameters
localeCode
required
string <string> (TypeString)
Example: ko

locale Code

Responses

Response samples

Content type
application/json
null

get Contents Info

get Contents Info

Authorizations:
path Parameters
contentId
required
string <string> (TypeString)

content Id

deviceType
required
string <string> (TypeString)
Example: SMART_KIDS

device Type

localeCode
required
string <string> (TypeString)
Example: ko

locale Code

Responses

Response samples

Content type
application/json
null

game

game Execution

game Execution

Authorizations:
Request Body schema: application/json
contentTrainingTypeId
required
integer

Id

motionTypeName
String

Motion Type Name

targetSuccessCount
required
integer

Count

aromRatio
required
number <double>

Direction Control

adaptiveAromControl
required
number <double>

Adaptive Arom Control

level
required
integer

Level

totalPlayTime
required
integer

Play Time

maintainTime
required
integer

Holding Time

featureName
required
string

Feature Name

patientId
integer

Patient Id

sessionId
required
string

Session Id

apiKey
required
string

Api Key

token
required
string

Token

Responses

Request samples

Content type
application/json
{
  • "contentTrainingTypeId": 1,
  • "motionTypeName": "SHOULDER_VERTICAL",
  • "targetSuccessCount": 2,
  • "aromRatio": 0.1,
  • "adaptiveAromControl": 0,
  • "level": 3,
  • "totalPlayTime": 5,
  • "maintainTime": 3,
  • "featureName": "ROM",
  • "patientId": 0,
  • "sessionId": "string",
  • "apiKey": "string",
  • "token": "string"
}

Response samples

Content type
application/json
"string"

get Game List

get Game List

Authorizations:
path Parameters
device
required
string (DeviceType)
Enum: "SMART_GLOVE" "SMART_KIDS" "SMART_BOARD"
Example: SMART_GLOVE

device name

side
required
string (SideType)
Enum: "LEFT" "RIGHT"
Example: LEFT OR RIGHT

side name

Responses

Response samples

Content type
application/json
null

get Game List created by algorithm

get Game List created by algorithm

Authorizations:
path Parameters
device
required
string (DeviceType)
Enum: "SMART_GLOVE" "SMART_KIDS" "SMART_BOARD"
Example: SMART_GLOVE

device name

side
required
string (SideType)
Enum: "LEFT" "RIGHT"
Example: LEFT OR RIGHT

side name

query Parameters
userId
integer <int64> (TypeLong)
Example: userId=103

User Id

contentIds
string

contentId list

Responses

Response samples

Content type
application/json
null

get motion type List

get motion type List

Authorizations:
path Parameters
device
required
string (DeviceType)
Enum: "SMART_GLOVE" "SMART_KIDS" "SMART_BOARD"
Example: SMART_GLOVE

device name

Responses

Response samples

Content type
application/json
[
  • {
    }
]

patient

get Patient Training Summary by id

get Patient Training Summary by id

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "isHomeUser": false,
  • "totalStarCount": 1200,
  • "todayPlayedTime": 90,
  • "todayStarCount": 23,
  • "last7DaysPlayedTime": 531,
  • "last7DaysStarCount": 107
}

get Session Detail

get Session Detail

Authorizations:
path Parameters
id
required
integer <int64> (TypeLong)
Example: 1343

Session Id

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "missions": [
    ]
}

Create Stroke coach

Create Stroke coach Session

Authorizations:
Request Body schema: application/json
userId
integer <int64>

User Id

deviceType
string (DeviceType)
Enum: "SMART_GLOVE" "SMART_KIDS" "SMART_BOARD"
sideType
string (SideType)
Enum: "LEFT" "RIGHT"
Array of objects (createMission)

Game List

Responses

Request samples

Content type
application/json
{
  • "userId": 0,
  • "deviceType": "SMART_GLOVE",
  • "sideType": "LEFT",
  • "games": [
    ]
}

Response samples

Content type
application/json
0

report

get patient's Trained Times

get patient's Trained Times

Authorizations:
query Parameters
userId
required
integer <int64> (TypeLong)
Example: userId=1343

User Id

deviceId
integer <int64> (TypeLong)
Example: deviceId=1343

device Id

startDate
string <date-time> (TypeDateTime)
Example: startDate=1343

start date

endDate
string <date-time> (TypeDateTime)
Example: endDate=1343

device Id

Responses

Response samples

Content type
application/json
{
  • "playtimeAverage": 4,
  • "times": [
    ]
}

get patient's Mission Log Lists

get patient's Mission Log List

Authorizations:
query Parameters
userId
required
integer <int64> (TypeLong)
Example: userId=1343

User Id

deviceId
integer <int64> (TypeLong)
Example: deviceId=1343

device Id

startDate
string <date-time> (TypeDateTime)
Example: startDate=1343

start date

endDate
string <date-time> (TypeDateTime)
Example: endDate=1343

device Id

Responses

Response samples

Content type
application/json
[
  • {
    }
]

get patient's Trained Feature

get patient's Trained Feature

Authorizations:
query Parameters
userId
required
integer <int64> (TypeLong)
Example: userId=1343

User Id

deviceId
integer <int64> (TypeLong)
Example: deviceId=1343

device Id

startDate
string <date-time> (TypeDateTime)
Example: startDate=1343

start date

endDate
string <date-time> (TypeDateTime)
Example: endDate=1343

device Id

Responses

Response samples

Content type
application/json
[
  • {
    }
]

get patient's Evaluation List

get patient's Evaluation List

Authorizations:
query Parameters
userId
required
integer <int64> (TypeLong)
Example: userId=1343

User Id

deviceId
integer <int64> (TypeLong)
Example: deviceId=1343

device Id

startDate
string <date-time> (TypeDateTime)
Example: startDate=1343

start date

endDate
string <date-time> (TypeDateTime)
Example: endDate=1343

device Id

Responses

Response samples

Content type
application/json
[
  • {
    }
]

get patient's Session Summary List

get patient's Session Summary List

Authorizations:
query Parameters
userId
required
integer <int64> (TypeLong)
Example: userId=1343

User Id

deviceId
integer <int64> (TypeLong)
Example: deviceId=1343

device Id

startDate
string <date-time> (TypeDateTime)
Example: startDate=1343

start date

endDate
string <date-time> (TypeDateTime)
Example: endDate=1343

device Id

Responses

Response samples

Content type
application/json
{
  • "assignedSessions": 5,
  • "completedSessions": 5,
  • "daysTrained": 5,
  • "averageTrainingTimePerSession": 5,
  • "TotalTrainingTime": 5,
  • "ActivityTolerance": 5
}

get patient's Sensor Summary List

get patient's Sensor Summary List

Authorizations:
query Parameters
userId
required
integer <int64> (TypeLong)
Example: userId=1343

User Id

deviceId
integer <int64> (TypeLong)
Example: deviceId=1343

device Id

startDate
string <date-time> (TypeDateTime)
Example: startDate=iso date

start date

endDate
string <date-time> (TypeDateTime)
Example: endDate=iso date

end date

Responses

Response samples

Content type
application/json
{
  • "forearm": {
    },
  • "whist": {
    },
  • "finger": {
    }
}

get patient's Trained Motion Type

get patient's Trained Motion Type

Authorizations:
query Parameters
userId
required
integer <int64> (TypeLong)
Example: userId=1343

User Id

deviceId
integer <int64> (TypeLong)
Example: deviceId=1343

device Id

startDate
string <date-time> (TypeDateTime)
Example: startDate=1343

start date

endDate
string <date-time> (TypeDateTime)
Example: endDate=1343

device Id

Responses

Response samples

Content type
application/json
[
  • {
    }
]

get patient's Trained Arom

get patient's Arom

Authorizations:
query Parameters
userId
required
integer <int64> (TypeLong)
Example: userId=1343

User Id

deviceId
integer <int64> (TypeLong)
Example: deviceId=1343

device Id

startDate
string <date-time> (TypeDateTime)
Example: startDate=iso date

start date

endDate
string <date-time> (TypeDateTime)
Example: endDate=iso date

end date

Responses

Response samples

Content type
application/json
{
  • "dates": [
    ],
  • "motionMap": {
    }
}

get patient's Evaluation Detail

get patient's Evaluation Detail

Authorizations:
path Parameters
id
required
integer <int64> (TypeLong)
Example: 1343

Evaluation Id

Responses

Response samples

Content type
application/json
{
  • "summary": {
    },
  • "arom": {
    },
  • "prom": {
    }
}

get Board Movement History

get Board Movement History

Authorizations:
query Parameters
userId
required
integer <int64> (TypeLong)
Example: userId=1343

User Id

deviceId
integer <int64> (TypeLong)
Example: deviceId=1343

device Id

startDate
string <date-time> (TypeDateTime)
Example: startDate=1343

start date

endDate
string <date-time> (TypeDateTime)
Example: endDate=1343

device Id

Responses

Response samples

Content type
application/json
{
  • "movement": {
    }
}

get Board Arom Area

get Board Arom Area

Authorizations:
query Parameters
userId
required
integer <int64> (TypeLong)
Example: userId=1343

User Id

deviceId
integer <int64> (TypeLong)
Example: deviceId=1343

device Id

startDate
string <date-time> (TypeDateTime)
Example: startDate=1343

start date

endDate
string <date-time> (TypeDateTime)
Example: endDate=1343

device Id

Responses

Response samples

Content type
application/json
{
  • "first": {
    },
  • "last": {
    }
}

get Board Arom Range

get Board Arom Range

Authorizations:
query Parameters
userId
required
integer <int64> (TypeLong)
Example: userId=1343

User Id

deviceId
integer <int64> (TypeLong)
Example: deviceId=1343

device Id

startDate
string <date-time> (TypeDateTime)
Example: startDate=1343

start date

endDate
string <date-time> (TypeDateTime)
Example: endDate=1343

device Id

Responses

Response samples

Content type
application/json
{
  • "horizontal": {
    },
  • "vertical": {
    }
}

get Board smoothness

get Board smoothness

Authorizations:
query Parameters
userId
required
integer <int64> (TypeLong)
Example: userId=1343

User Id

deviceId
integer <int64> (TypeLong)
Example: deviceId=1343

device Id

startDate
string <date-time> (TypeDateTime)
Example: startDate=1343

start date

endDate
string <date-time> (TypeDateTime)
Example: endDate=1343

device Id

Responses

Response samples

Content type
application/json
{
  • "first": {
    },
  • "last": {
    }
}

get Board similarity

get Board similarity

Authorizations:
query Parameters
userId
required
integer <int64> (TypeLong)
Example: userId=1343

User Id

deviceId
integer <int64> (TypeLong)
Example: deviceId=1343

device Id

startDate
string <date-time> (TypeDateTime)
Example: startDate=1343

start date

endDate
string <date-time> (TypeDateTime)
Example: endDate=1343

device Id

Responses

Response samples

Content type
application/json
{
  • "first": {
    },
  • "last": {
    }
}

get patient's Evaluation Detail

get patient's Evaluation Detail

Authorizations:
path Parameters
id
required
integer <int64> (TypeLong)
Example: 1343

Evaluation Id

Responses

Response samples

Content type
application/json
{
  • "freeExplore": {
    },
  • "traceDraw": {
    },
  • "targetAchieve": {
    }
}

report v2

get patient's Trained whole Dates

get patient's Trained whole Dates

Authorizations:
query Parameters
userId
required
integer <int64> (TypeLong)
Example: userId=1343

User Id

deviceId
integer <int64> (TypeLong)
Example: deviceId=1343

device Id

Responses

Response samples

Content type
application/json
{
  • "dates": [
    ]
}

get patient's Evaluation Aroms

get patient's Evaluation Aroms

Authorizations:
query Parameters
userId
required
integer <int64> (TypeLong)
Example: userId=1343

User Id

deviceId
integer <int64> (TypeLong)
Example: deviceId=1343

device Id

startDate
string <date-time> (TypeDateTime)
Example: startDate=1343

start date

endDate
string <date-time> (TypeDateTime)
Example: endDate=1343

device Id

Responses

Response samples

Content type
application/json
{
  • "dates": [
    ],
  • "evaluationMap": {
    }
}

rank

HOME BEST WARRIOR 랭킹산정 집계 api

이 API는 batch 연동용이기 때문에 개발용으로만 사용이됨.

Authorizations:
bearerAuth (role_admin)
path Parameters
yearMonth
string
Example: 2020-01

Year-Month ( YYYY-MM )

Responses

이달의 랭킹목록 TOP100을 반환.

이달의 랭킹목록 TOP100을 반환.

Authorizations:
path Parameters
yearMonth
string
Example: 2020-01

Year-Month ( YYYY-MM )

Responses

Response samples

Content type
application/json
{
  • "year_month": "2020-01",
  • "rank_users": [
    ]
}

이달의 유저의 랭킹목록

이달의 유저의 랭킹목록

Authorizations:
path Parameters
yearMonth
string
Example: 2020-01

yearMonth

patientId
integer <int64> (TypeLong)

patientId

Responses

Response samples

Content type
application/json
{
  • "patient_id": 0,
  • "user_name": "이름",
  • "rank": 0,
  • "rank_tier": "ORANGE|AMETHYST|EMERALD|TOPAZ|DIAMOND|PLATINUM|KING",
  • "total_score": 0,
  • "candy_point": 0,
  • "star_point": 0
}