connect (1.0.0)

Download OpenAPI specification:Download

api server for Neofect Connect

mission-v2

미션 리스트 조회

검색조건

  • start=2020-01-01
  • end=2020-01-07
  • 기본값 파라메터가 없는 경우는 ?start={오늘}&end={오늘}로 값이 자동 세팅됨.
  • 기존 v1에서 제공한 기주간 미션 리스트 조회 기능은 기간 조회 기능으로 대체(클라이언트에서 시작날 + 7을 종료일로 설정해서 요청)
Authorizations:
bearerAuth
query Parameters
user_id
integer <int64> (TypeLong)
Example: user_id=1343

User Id(Portal 에서 치료사에 할당된 환자 정보 조회 시 사용)

start
string

시작일(2020-01-01)

end
string

종료일(2020-01-07)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

미션 상세 정보

미션 상세 정보를 조회한다

Authorizations:
bearerAuth
query Parameters
mission_id
string
Example: mission_id=5d19e4d8dae0ee64f920d984

missionId

Responses

Response samples

Content type
application/json
{}

미션 이력 정보

Authorizations:
bearerAuth
path Parameters
mission_history_id
required
string

미션 이력 ID

Responses

Response samples

Content type
application/json
{}

미션 완료 여부 수정

Authorizations:
bearerAuth
path Parameters
mission_history_id
required
string

미션 이력 ID

query Parameters
completed
required
boolean

미션수행 완료 여부

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

미션 수행 이력을 확인하기 위한 API

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

User Id

start
required
string
Example: start=2020-01-01

시작일(2020-01-01)

end
required
string
Example: end=2020-01-07

종료일 (2020-01-01)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

설정 기간내 일별 미션 수행 이력 (mission, tracking, diary) Count API

Authorizations:
bearerAuth
query Parameters
start
required
string
Example: start=2020-01-01

시작일(2020-01-01)

end
required
string
Example: end=2020-01-07

종료일 (2020-01-01)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

mission-v3

미션 리스트 조회

검색조건

  • start=2020-01-01
  • end=2020-01-07
  • 기본값 파라메터가 없는 경우는 ?start={오늘}&end={오늘}로 값이 자동 세팅됨.
  • 기존 v1에서 제공한 기주간 미션 리스트 조회 기능은 기간 조회 기능으로 대체(클라이언트에서 시작날 + 7을 종료일로 설정해서 요청)
Authorizations:
bearerAuth
query Parameters
user_id
integer <int64> (TypeLong)
Example: user_id=1343

User Id(Portal 에서 치료사에 할당된 환자 정보 조회 시 사용)

start
string

시작일(2020-01-01)

end
string

종료일(2020-01-07)

Responses

Response samples

Content type
application/json
[]

mission-settings-v1

미션 세팅 리스트 조회

검색조건

  • start=1
  • end=2
  • 기본값 파라메터가 없는 경우는 ?start=1&end=2147483647로 값이 자동 세팅됨.
Authorizations:
bearerAuth
query Parameters
start
integer (TypeInt)

시작 순서

end
integer (TypeInt)

종료 순서

handArmFunction
string

hand arm function

Responses

Response samples

Content type
application/json
[
  • {
    }
]

지정된 순번에 미션 세팅 등록/수정

Authorizations:
bearerAuth
Request Body schema: application/json
required

미션 정보 저장

sequence
integer
hand_arm_function
string (HandArmFunctionTypeDto)
Enum: "LIMITED" "STABILIZER" "ASSIST" "FUNCTIONAL"
Array of objects (MissionSettingDetailDto)

Responses

Request samples

Content type
application/json
{
  • "sequence": 1,
  • "hand_arm_function": "LIMITED",
  • "missions": [
    ]
}

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

mission-assign-v1

환자에게 오늘 미션 생성

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

Authorizations:
bearerAuth
Request Body schema: application/json
required

환자 ID

user_id
integer <int64> (TypeLong)
date
string <date> (TypeDate)

Responses

Request samples

Content type
application/json
{
  • "user_id": 0,
  • "date": "2020-01-01"
}

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

다수의 환자에게 zone offet 정보를 보고 현재 시간이 0시에 해당하는 환자는 오늘 미션 생성

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

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

미션 생성 알림 전송

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

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

mission-current-status-v1

미션 Advice

사용자의 오늘의 Advice 메세지 조회 API

Authorizations:
bearerAuth
query Parameters
zone_offset
integer <int32>
Example: zone_offset=540

ZoneOffset (Minutes)

Responses

Response samples

Content type
application/json
{}

노출 안됨) batch 작업용.

Authorizations:
bearerAuth
Request Body schema: application/json
required

환자 ID

date
string <date> (TypeDate)
offset
integer (TypeInt)
userId
integer <int64> (TypeLong)

Responses

Request samples

Content type
application/json
{
  • "date": "2020-01-01",
  • "offset": 0,
  • "userId": 0
}

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

미션 수행 시간 LOG 기록

사용자의 미션 수행시간 LOG 기록 API

Authorizations:
bearerAuth
Request Body schema: application/json

미션 수행시간 LOG

start_date
required
string

UTC 기준으로 예제의 포멧을 준수 할 것!!

end_date
required
string

UTC 기준으로 예제의 포멧을 준수 할 것!!

duration
required
integer

단위 : sec

Responses

Request samples

Content type
application/json
{
  • "start_date": "2017-07-21T17:32:28.000Z",
  • "end_date": "2017-07-21T17:32:28.000Z",
  • "duration": 60
}

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

mission-current-status-v2

미션 수행 시간 LOG 기록

사용자의 미션 수행시간 LOG 기록 API

Authorizations:
bearerAuth
Request Body schema: application/json

미션 수행시간 LOG

mission_id
string

미션 아이디

start_date
required
string

UTC 기준으로 예제의 포멧을 준수 할 것!!

end_date
required
string

UTC 기준으로 예제의 포멧을 준수 할 것!!

duration
required
integer

단위 : sec

Responses

Request samples

Content type
application/json
{
  • "mission_id": "string",
  • "start_date": "2017-07-21T17:32:28.000Z",
  • "end_date": "2017-07-21T17:32:28.000Z",
  • "duration": 60
}

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

evaluation-v1

손/팔 기능 평가 완료 여부 확인 API

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "isCompleted": true,
  • "title": "check severity",
  • "description": "blablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalba"
}

미션 시작일로부터 100일 경과 여부 확인 API

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "isValid": true,
  • "title": "check severity",
  • "description": "blablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalba"
}

severity 체크 질문 리스트

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
null

user-v1

update HandArmFunction

Authorizations:
bearerAuth
Request Body schema: application/json
required

Update HandArmFunction

user_id
integer <int64> (TypeLong)
user_name
string
email
string
level
string (UserHandArmFunctionType)
Enum: "FUNCTIONAL" "FUNCTIONAL_ASSIST" "GROSS_ASSIST" "STABILIZER" "NOT_HELPFUL"
mobility
string (MobilityType)
Enum: "L3_1" "L3_2" "L3_3" "L3_4" "L3_5"

Responses

Request samples

Content type
application/json
{
  • "user_id": 0,
  • "user_name": "luffy",
  • "email": "handarmfunction@neofect.com",
  • "level": "FUNCTIONAL",
  • "mobility": "L3_1"
}

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

Update User Gmt Offset

Update User Gmt Offset

path Parameters
userId
integer <int64> (TypeLong)
Example: 1343

User Id

query Parameters
offset
required
integer (TypeInt)

GMT Offset

Responses

Response samples

Content type
application/json
true

환자-치료사 매핑

Authorizations:
bearerAuth
Request Body schema: application/json
required

환자-치료사 매핑 배열

Array
patient_id
required
integer <int64> (TypeLong)
therapist_id
required
integer <int64> (TypeLong)

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

advice-v1

사용자 advice 조회 API

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "message": "We are analyzing your condition."
}

Advice 메세지 생성 batch

Authorizations:
bearerAuth
Request Body schema: application/json
required

advice push 보낼 userId 배열

user_ids
required
Array of integers <int64> (TypeLong) [ items <int64 > ]

Responses

Request samples

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

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

videoArchive-v1

비디오 아카이브 리스트 API

Authorizations:
bearerAuth
query Parameters
page
integer (TypeInt)

페이징 번호

size
integer (TypeInt)

페이징 사이즈

category
string (VideoArchiveCategoryEnum)
Enum: "ALL" "THERAPIST_LIVE" "HOME_TRAINING" "BOOKMARK"
Example: category=THERAPIST_LIVE

비디오 리스트 필터 조건 - 기본: ALL

title
string

제목 검색

orderby
string (VideoArchiveOrderEnum)
Enum: "MOST_POPULAR" "NEWEST" "OLDEST"
Example: orderby=MOST_POPULAR

비디오 리스트 정렬 조건 - 기본: NEWEST

Responses

Response samples

Content type
application/json
{}

비디오 아카이브 저장

Authorizations:
bearerAuth
Request Body schema: application/json
required

비디오 아카이브 생성

id
string

비디오 ID

title
string

제목

video_url
string

유튜브 비디오 url

image_url
string

비디오 대표 이미지

read_count
integer (TypeInt)
category
string (VideoArchiveCategoryEnum)
Enum: "ALL" "THERAPIST_LIVE" "HOME_TRAINING" "BOOKMARK"
description
string

비디오 설명

tags
Array of strings
created_by
string

작성자

created_at
string <date-time> (TypeDateTime)

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{}

비디오 아카이브 정보 조뢰

Authorizations:
bearerAuth
path Parameters
id
required
string

비디오 아카이브 정보 아이디

Responses

Response samples

Content type
application/json
{}

비디오 아카이브 수정

Authorizations:
bearerAuth
path Parameters
id
required
string

비디오 아카이브 아이디

Request Body schema: application/json
required

비디오 아카이브 생성

id
string

비디오 ID

title
string

제목

video_url
string

유튜브 비디오 url

image_url
string

비디오 대표 이미지

read_count
integer (TypeInt)
category
string (VideoArchiveCategoryEnum)
Enum: "ALL" "THERAPIST_LIVE" "HOME_TRAINING" "BOOKMARK"
description
string

비디오 설명

tags
Array of strings
created_by
string

작성자

created_at
string <date-time> (TypeDateTime)

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{}

비디오 아카이브 삭제

Authorizations:
bearerAuth
path Parameters
id
string

비디오 아카이브 아이디

Responses

Response samples

Content type
application/json
true

비디오 조회수 + 1 API

Authorizations:
bearerAuth
path Parameters
videoId
required
string

비디오 ID

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

비디오 북마크 여부 조회 API

Authorizations:
bearerAuth
path Parameters
videoId
required
string

비디오 ID

Responses

Response samples

Content type
application/json
{
  • "is_bookmarked": true
}

비디오 북마크 정보 수정 API

Authorizations:
bearerAuth
path Parameters
videoId
required
string

비디오 ID

Request Body schema: application/json
required

북마크 여부 true / false

is_bookmarked
boolean

북마크 여부

Responses

Request samples

Content type
application/json
{
  • "is_bookmarked": true
}

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

version-v1

앱 버전 정보 조회

query Parameters
version
required
string

현재 앱 버전

header Parameters
OS-Type
string

OS 유형(IOS/ANDROID)

serviceType
string

서비스 유형(clinic/connect)

Responses

Response samples

Content type
application/json
true

welcome-v1

첫 인사 메세지

Responses

Response samples

Content type
application/json
"안녕하세요. 열심히 재활을 해보다구요"

mission-infos-v1

미션 정보 목록 조회

Authorizations:
bearerAuth
query Parameters
page
required
integer (TypeInt)

Page

type
string

Type

handArmFunction
string

Hand Arm Function

day
integer <int64> (TypeLong)

Day

limit
required
integer (TypeInt)

Limit

sort
string

sort

title
string

title

cate1
string

cate1

cate2
string

cate2

Responses

Response samples

Content type
application/json
{
  • "total": 0,
  • "items": [
    ]
}

미션 정보 생성

Authorizations:
bearerAuth
Request Body schema: application/json
required

미션 정보 생성

id
string
type
string
handArmFunction
string
title
string
day
integer <int64> (TypeLong)
image
string
description
string
createdAt
string <date-time> (TypeDateTime)
links
Array of strings
tags
Array of strings
meta
string
isFree
boolean (TypeBool)
shareLink
string

Responses

Request samples

Content type
application/json
{
  • "id": "5e4661e6b0d76e5d0875aa7d",
  • "type": "ACTIVITY",
  • "handArmFunction": "LIMITED",
  • "title": "Pour water from a pitcher",
  • "day": 0,
  • "image": "empty",
  • "description": "This training activity works on extending the",
  • "createdAt": "2017-07-21T17:32:28Z",
  • "links": [
    ],
  • "tags": [
    ],
  • "meta": { },
  • "isFree": true,
}

Response samples

Content type
application/json
{
  • "id": "5e4661e6b0d76e5d0875aa7d",
  • "type": "ACTIVITY",
  • "handArmFunction": "LIMITED",
  • "title": "Pour water from a pitcher",
  • "day": 0,
  • "image": "empty",
  • "description": "This training activity works on extending the",
  • "createdAt": "2017-07-21T17:32:28Z",
  • "links": [
    ],
  • "tags": [
    ],
  • "meta": { },
  • "isFree": true,
}

미션 정보 조회

Authorizations:
bearerAuth
path Parameters
id
required
string

미션 정보 아이디

Responses

Response samples

Content type
application/json
{
  • "id": "5e4661e6b0d76e5d0875aa7d",
  • "type": "ACTIVITY",
  • "handArmFunction": "LIMITED",
  • "title": "Pour water from a pitcher",
  • "day": 0,
  • "image": "empty",
  • "description": "This training activity works on extending the",
  • "createdAt": "2017-07-21T17:32:28Z",
  • "links": [
    ],
  • "tags": [
    ],
  • "meta": { },
  • "isFree": true,
}

미션 정보 수정

Authorizations:
bearerAuth
path Parameters
id
required
string

미션 정보 아이디

Request Body schema: application/json
required

미션 정보 생성

id
string
type
string
handArmFunction
string
title
string
day
integer <int64> (TypeLong)
image
string
description
string
createdAt
string <date-time> (TypeDateTime)
links
Array of strings
tags
Array of strings
meta
string
isFree
boolean (TypeBool)
shareLink
string

Responses

Request samples

Content type
application/json
{
  • "id": "5e4661e6b0d76e5d0875aa7d",
  • "type": "ACTIVITY",
  • "handArmFunction": "LIMITED",
  • "title": "Pour water from a pitcher",
  • "day": 0,
  • "image": "empty",
  • "description": "This training activity works on extending the",
  • "createdAt": "2017-07-21T17:32:28Z",
  • "links": [
    ],
  • "tags": [
    ],
  • "meta": { },
  • "isFree": true,
}

Response samples

Content type
application/json
{
  • "id": "5e4661e6b0d76e5d0875aa7d",
  • "type": "ACTIVITY",
  • "handArmFunction": "LIMITED",
  • "title": "Pour water from a pitcher",
  • "day": 0,
  • "image": "empty",
  • "description": "This training activity works on extending the",
  • "createdAt": "2017-07-21T17:32:28Z",
  • "links": [
    ],
  • "tags": [
    ],
  • "meta": { },
  • "isFree": true,
}

미션 정보 삭제

Authorizations:
bearerAuth
path Parameters
id
string

미션 정보 아이디

Responses

Response samples

Content type
application/json
true

Reading 미션 목록 조뢰

Authorizations:
bearerAuth
path Parameters
missionInfoId
required
string

Mission Info Id

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Reading 미션 생성

Authorizations:
bearerAuth
path Parameters
missionInfoId
required
string

Mission Info Id

Request Body schema: application/json
required

Reading 미션

id
string
missionInfoId
string
title
string
content
string
order
integer (TypeInt)
createdAt
string <date-time> (TypeDateTime)

Responses

Request samples

Content type
application/json
{
  • "id": "5e4661e6b0d76e5d0875aa7d",
  • "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
  • "title": "page1",
  • "content": "<html></html>",
  • "order": 0,
  • "createdAt": "2017-07-21T17:32:28Z"
}

Response samples

Content type
application/json
{
  • "id": "5e4661e6b0d76e5d0875aa7d",
  • "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
  • "title": "page1",
  • "content": "<html></html>",
  • "order": 0,
  • "createdAt": "2017-07-21T17:32:28Z"
}

Reading 미션 정보 조뢰

Authorizations:
bearerAuth
path Parameters
missionInfoId
required
string

Reading 미션 아이디

id
required
string

미션 정보 아이디

Responses

Response samples

Content type
application/json
{
  • "id": "5e4661e6b0d76e5d0875aa7d",
  • "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
  • "title": "page1",
  • "content": "<html></html>",
  • "order": 0,
  • "createdAt": "2017-07-21T17:32:28Z"
}

Reading 미션 수정

Authorizations:
bearerAuth
path Parameters
missionInfoId
required
string

Mission Info Id

id
required
string

미션 정보 아이디

Request Body schema: application/json
required

Reading 미션

id
string
missionInfoId
string
title
string
content
string
order
integer (TypeInt)
createdAt
string <date-time> (TypeDateTime)

Responses

Request samples

Content type
application/json
{
  • "id": "5e4661e6b0d76e5d0875aa7d",
  • "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
  • "title": "page1",
  • "content": "<html></html>",
  • "order": 0,
  • "createdAt": "2017-07-21T17:32:28Z"
}

Response samples

Content type
application/json
{
  • "id": "5e4661e6b0d76e5d0875aa7d",
  • "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
  • "title": "page1",
  • "content": "<html></html>",
  • "order": 0,
  • "createdAt": "2017-07-21T17:32:28Z"
}

Reading 미션 정보 삭제

Authorizations:
bearerAuth
path Parameters
missionInfoId
required
string

Reading 미션 아이디

id
required
string

미션 정보 아이디

Responses

Response samples

Content type
application/json
true

Reading 미션 생성

Authorizations:
bearerAuth
path Parameters
missionInfoId
required
string

Mission Info Id

Request Body schema: application/json
required

Reading 미션 Order

Array
id
string
order
integer (TypeInt)

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
true

Quiz 미션 목록 조회

Authorizations:
bearerAuth
path Parameters
missionInfoId
required
string

Mission Info Id

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Quiz 미션 생성

Authorizations:
bearerAuth
Request Body schema: application/json
required

Quiz 미션

id
string
missionInfoId
string
title
string
quizType
string?
Array of objects (quizAnswer)
content
string
order
integer (TypeInt)
onlyAnswer
boolean (TypeBool)
createdAt
string <date-time> (TypeDateTime)

Responses

Request samples

Content type
application/json
{
  • "id": "5e4661e6b0d76e5d0875aa7d",
  • "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
  • "title": "page1",
  • "quizType": "OX",
  • "answerList": [
    ],
  • "content": "<html></html>",
  • "order": 0,
  • "onlyAnswer": true,
  • "createdAt": "2017-07-21T17:32:28Z"
}

Response samples

Content type
application/json
{
  • "id": "5e4661e6b0d76e5d0875aa7d",
  • "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
  • "title": "page1",
  • "quizType": "OX",
  • "answerList": [
    ],
  • "content": "<html></html>",
  • "order": 0,
  • "onlyAnswer": true,
  • "createdAt": "2017-07-21T17:32:28Z"
}

Quiz 미션 정보 조회

Authorizations:
bearerAuth
path Parameters
id
required
string

Quiz 아이디

Responses

Response samples

Content type
application/json
{
  • "id": "5e4661e6b0d76e5d0875aa7d",
  • "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
  • "title": "page1",
  • "quizType": "OX",
  • "answerList": [
    ],
  • "content": "<html></html>",
  • "order": 0,
  • "onlyAnswer": true,
  • "createdAt": "2017-07-21T17:32:28Z"
}

Quiz 미션 수정

Authorizations:
bearerAuth
Request Body schema: application/json
required

Quiz 미션

id
string
missionInfoId
string
title
string
quizType
string?
Array of objects (quizAnswer)
content
string
order
integer (TypeInt)
onlyAnswer
boolean (TypeBool)
createdAt
string <date-time> (TypeDateTime)

Responses

Request samples

Content type
application/json
{
  • "id": "5e4661e6b0d76e5d0875aa7d",
  • "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
  • "title": "page1",
  • "quizType": "OX",
  • "answerList": [
    ],
  • "content": "<html></html>",
  • "order": 0,
  • "onlyAnswer": true,
  • "createdAt": "2017-07-21T17:32:28Z"
}

Response samples

Content type
application/json
{
  • "id": "5e4661e6b0d76e5d0875aa7d",
  • "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
  • "title": "page1",
  • "quizType": "OX",
  • "answerList": [
    ],
  • "content": "<html></html>",
  • "order": 0,
  • "onlyAnswer": true,
  • "createdAt": "2017-07-21T17:32:28Z"
}

Quiz 미션 정보 삭제

Authorizations:
bearerAuth
path Parameters
id
required
string

미션 정보 아이디

Responses

Response samples

Content type
application/json
true

Quiz 미션 순서 변경

Authorizations:
bearerAuth
Request Body schema: application/json
required

Quiz 미션 Order

Array
id
string
order
integer (TypeInt)

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
true

share-v1

앱 공유하기 컨텐츠 API

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "message": "connect shared contents."
}

homework-v1

Homework에서 사용가능한 모든 미션 리스트

Authorizations:
None
query Parameters
type
string
Enum: "ACTIVITY" "BASICS" "VIDEO" "READING"
Example: type=BASICS

MissionType [ ACTIVITY, BASICS, VIDEO, READING ]

handArmFunctionType
string
Enum: "STABILIZER" "ASSIST" "FUNCTIONAL"
Example: handArmFunctionType=STABILIZER

HandArmFunctionLevelType [ Level 1 - STABILIZER, Level 2- ASSIST, Level 3 - FUNCTIONAL ]

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Homework 생성

Authorizations:
bearerAuth
Request Body schema: application/json
required

Homework에 등록될 Mission 리스트

Array
userId
integer <int64> (TypeLong)
therapistId
integer <int64> (TypeLong)
missionList
Array of strings
messages
string
date
string <date> (TypeDate)

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
true

HomeworkInfoById

Authorizations:
bearerAuth
path Parameters
id
required
string
Example: 5d19e4d8dae0ee64f920d984

Homework - ObjectId

Responses

Response samples

Content type
application/json
{}

Homework 수정

Authorizations:
bearerAuth
path Parameters
id
required
string
Example: 5d19e4d8dae0ee64f920d984

Homework - ObjectId

Request Body schema: application/json
required

Homework에 등록될 Mission 리스트

userId
integer <int64> (TypeLong)
therapistId
integer <int64> (TypeLong)
missionList
Array of strings
messages
string
date
string <date> (TypeDate)

Responses

Request samples

Content type
application/json
{
  • "userId": 0,
  • "therapistId": 0,
  • "missionList": [
    ],
  • "messages": "blah blah",
  • "date": "2020-01-01"
}

Response samples

Content type
application/json
true

Homework 삭제

Authorizations:
bearerAuth
path Parameters
id
required
string
Example: 5d19e4d8dae0ee64f920d984

Homework - ObjectId

Responses

Response samples

Content type
application/json
true

HomeworkInfoByUserIdAndDate

Authorizations:
bearerAuth
path Parameters
userId
required
integer <int64> (TypeLong)
Example: 1234

Patient - UserId

query Parameters
date
required
string <date> (TypeDate)
Example: date=2020-01-01

Responses

Response samples

Content type
application/json
{
  • "id": "5e4661e6b0d76e5d0875aa7d",
  • "messages": "blah blah",
  • "date": "2020-01-01",
  • "missions": [
    ]
}

Homework Mission 정보

Authorizations:
bearerAuth
path Parameters
homeworkMissionId
required
string
Example: 5d19e4d8dae0ee64f920d984

HomeworkMissionId

Responses

Response samples

Content type
application/json
{
  • "id": "5d19e4d8dae0ee64f920d984",
  • "completed": true,
  • "type": "ACTIVITY",
  • "title": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
  • "repeatCount": 0,
  • "tags": [
    ],
  • "description": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
  • "meta": {},
  • "createdTime": "2017-07-21T17:32:28Z",
  • "updateTime": "2017-07-21T17:32:28Z"
}

Homework Mission 완료 업데이트

Authorizations:
bearerAuth
path Parameters
homeworkMissionId
required
string
Example: 5d19e4d8dae0ee64f920d984

HomeworkMissionId

Request Body schema: application/json
required
isCompleted
boolean (TypeBool)

Responses

Request samples

Content type
application/json
{
  • "isCompleted": true
}

Response samples

Content type
application/json
true

환자의 주간 Homework 생성 정보

Authorizations:
bearerAuth
path Parameters
userId
required
integer <int64> (TypeLong)
Example: 1016

Patient - UserId

query Parameters
startDate
required
string <date> (TypeDate)
Example: startDate=2020-01-01

WeekleyHomeworkInfo search Parameter - startDate

endDate
required
string <date> (TypeDate)
Example: endDate=2020-01-01

WeekleyHomeworkInfo search Parameter - endDate

Responses

Response samples

Content type
application/json
[]

환자의 월별 Homework 생성일자 리스트 조회

Authorizations:
bearerAuth
path Parameters
year
required
integer (TypeInt)
Example: 2020

Year

month
required
integer (TypeInt)
Example: 11

Month

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

Patient - UserId

Responses

Response samples

Content type
application/json
"2020-01-01"

Homework Exercise History 조회

Authorizations:
bearerAuth
path Parameters
userId
required
integer <int64> (TypeLong)
Example: 1016

Patient - UserId

query Parameters
startDate
string <date> (TypeDate)
Example: startDate=2020-01-01

getExerciseHistory search Parameter - startDate

endDate
string <date> (TypeDate)
Example: endDate=2020-01-01

getExerciseHistory search Parameter - endDate

sort
required
string
Enum: "ASC" "DESC"

getExerciseHistory search Sort Direction

Responses

Response samples

Content type
application/json
[]

Homework 생성 알림 전송

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

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

homework-v2

Homework에서 사용가능한 모든 미션 리스트와 태그

Authorizations:
None
query Parameters
type
string
Enum: "ACTIVITY" "BASICS" "VIDEO" "READING"
Example: type=BASICS

MissionType [ ACTIVITY, BASICS, VIDEO, READING ]

handArmFunctionType
string
Enum: "STABILIZER" "ASSIST" "FUNCTIONAL"
Example: handArmFunctionType=STABILIZER

HandArmFunctionLevelType [ Level 1 - STABILIZER, Level 2- ASSIST, Level 3 - FUNCTIONAL ]

Responses

Response samples

Content type
application/json
{
  • "missionTags": [
    ],
  • "missions": [
    ]
}

Homework 생성

Authorizations:
bearerAuth
Request Body schema: application/json
required

Homework에 등록될 Mission 리스트

Array
userId
integer <int64> (TypeLong)
therapistId
integer <int64> (TypeLong)
Array of objects
messages
string
date
string <date> (TypeDate)

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
true

Homework 수정. missionList를 id,repeat을 포함한 객체로 받아옴.

Authorizations:
bearerAuth
path Parameters
id
required
string
Example: 5d19e4d8dae0ee64f920d984

Homework - ObjectId

Request Body schema: application/json
required

Homework에 등록될 Mission 리스트

userId
integer <int64> (TypeLong)
therapistId
integer <int64> (TypeLong)
Array of objects
messages
string
date
string <date> (TypeDate)

Responses

Request samples

Content type
application/json
{
  • "userId": 0,
  • "therapistId": 0,
  • "missionList": [
    ],
  • "messages": "blah blah",
  • "date": "2020-01-01"
}

Response samples

Content type
application/json
true

servey-v1

CONNECT 시작시 체크항목 받아옴.

Responses

Response samples

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

사용자 servey list 조회 API

Authorizations:
bearerAuth

Responses

Response samples

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

사용자 servey list 추가 API

Request Body schema: application/json
required

add servey title string list

serveys
required
Array of strings

Responses

Request samples

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

Response samples

Content type
application/json
true

duration-log-v1

connect 어플 로그인 후 체류시간 Entity를 생성하며, 해당 정보는 일일 로그인 체크용으로도 사용함.

Authorizations:
bearerAuth
Request Body schema: application/json
required
durationDate
required
string <date> (TypeDate)
durationMin
integer <int64> (TypeLong)

Responses

Request samples

Content type
application/json
{
  • "durationDate": "2020-01-01",
  • "durationMin": 0
}

Response samples

Content type
application/json
true

체류시간 Entity를 업데이트하며, addDurationMin가 없으면 5분단위로 최대 120분 까지 추가한다.

Authorizations:
bearerAuth
Request Body schema: application/json
required
durationDate
required
string <date> (TypeDate)
addDurationMin
integer <int64> (TypeLong)

Responses

Request samples

Content type
application/json
{
  • "durationDate": "2020-01-01",
  • "addDurationMin": 0
}

Response samples

Content type
application/json
{
  • "durationDate": "2020-01-01",
  • "durationMin": 0
}

get user Duration Info by durationDate

Authorizations:
bearerAuth
path Parameters
durationDate
string <date>
Example: 2020-01-01

durationDate

Responses

Response samples

Content type
application/json
{
  • "durationDate": "2020-01-01",
  • "durationMin": 0
}

rank-v1

CONNECT 시작시 체크항목 받아옴.

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

Authorizations:
bearerAuth
path Parameters
rankDate
string
Example: 2020-01-01

date

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

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

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

path Parameters
yearMonth
string
Example: 2020-01

yearMonth

Responses

Response samples

Content type
application/json
{}

이달의 자신의 랭킹목록

이달의 자신의 랭킹목록

Authorizations:
bearerAuth
path Parameters
yearMonth
string
Example: 2020-01

yearMonth

Responses

Response samples

Content type
application/json
{}

이달의 유저의 랭킹목록

이달의 유저의 랭킹목록

Authorizations:
bearerAuth
path Parameters
yearMonth
string
Example: 2020-01

yearMonth

userId
integer <int64> (TypeLong)

userid

Responses

Response samples

Content type
application/json
{}

diary-v1

diary 작성.

diary 작성.

Authorizations:
bearerAuth
Request Body schema: application/json
id
string

Diary - ObjectId

user_id
integer <int64> (TypeLong)
write_datetime
required
string <date-time> (TypeDateTime)
sleep_datetime
string <date-time> (TypeDateTime)
wake_datetime
string <date-time> (TypeDateTime)
weather_type
required
string (weatherType)
Enum: "SUNNY" "CLOUDY" "CLEAR" "RAIN" "THUNDER" "RAINBOW" "SNOW" "TYPHOON" "WIND"

날씨 정보

emotion_scale
integer (TypeInt)
condition_scale
integer (TypeInt)
tags
Array of strings
content_message
string

일기 메세지

Array of objects (contentImageInfo)
is_private
boolean (TypeBool)

Responses

Request samples

Content type
application/json
{
  • "id": "5d19e4d8dae0ee64f920d984",
  • "user_id": 0,
  • "write_datetime": "2017-07-21T17:32:28Z",
  • "sleep_datetime": "2017-07-21T17:32:28Z",
  • "wake_datetime": "2017-07-21T17:32:28Z",
  • "weather_type": "SUNNY|CLOUDY|CLEAR|RAIN",
  • "emotion_scale": 0,
  • "condition_scale": 0,
  • "tags": [
    ],
  • "content_message": "im fine thankyou",
  • "content_images": [
    ],
  • "is_private": true
}

Response samples

Content type
application/json
true

get diary Info.

get diary Info.

Authorizations:
bearerAuth
path Parameters
diaryId
string
Example: 5d19e4d8dae0ee64f920d984

durationDate

Responses

Response samples

Content type
application/json
{
  • "id": "5d19e4d8dae0ee64f920d984",
  • "user_id": 0,
  • "write_datetime": "2017-07-21T17:32:28Z",
  • "sleep_datetime": "2017-07-21T17:32:28Z",
  • "wake_datetime": "2017-07-21T17:32:28Z",
  • "weather_type": "SUNNY|CLOUDY|CLEAR|RAIN",
  • "emotion_scale": 0,
  • "condition_scale": 0,
  • "tags": [
    ],
  • "content_message": "im fine thankyou",
  • "content_images": [
    ],
  • "is_private": true
}

put diary Info.

put diary Info.

Authorizations:
bearerAuth
path Parameters
diaryId
string
Example: 5d19e4d8dae0ee64f920d984

durationDate

Request Body schema: application/json
id
string

Diary - ObjectId

user_id
integer <int64> (TypeLong)
write_datetime
required
string <date-time> (TypeDateTime)
sleep_datetime
string <date-time> (TypeDateTime)
wake_datetime
string <date-time> (TypeDateTime)
weather_type
required
string (weatherType)
Enum: "SUNNY" "CLOUDY" "CLEAR" "RAIN" "THUNDER" "RAINBOW" "SNOW" "TYPHOON" "WIND"

날씨 정보

emotion_scale
integer (TypeInt)
condition_scale
integer (TypeInt)
tags
Array of strings
content_message
string

일기 메세지

Array of objects (contentImageInfo)
is_private
boolean (TypeBool)

Responses

Request samples

Content type
application/json
{
  • "id": "5d19e4d8dae0ee64f920d984",
  • "user_id": 0,
  • "write_datetime": "2017-07-21T17:32:28Z",
  • "sleep_datetime": "2017-07-21T17:32:28Z",
  • "wake_datetime": "2017-07-21T17:32:28Z",
  • "weather_type": "SUNNY|CLOUDY|CLEAR|RAIN",
  • "emotion_scale": 0,
  • "condition_scale": 0,
  • "tags": [
    ],
  • "content_message": "im fine thankyou",
  • "content_images": [
    ],
  • "is_private": true
}

Response samples

Content type
application/json
true

delete diary Info.

delete diary Info.

Authorizations:
bearerAuth
path Parameters
diaryId
string
Example: 5d19e4d8dae0ee64f920d984

diaryId

Responses

Response samples

Content type
application/json
true

get my diary Info List.

get my diary Info List.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
[
  • {
    }
]

get diary List from date

get diary List from date

Authorizations:
bearerAuth
path Parameters
diaryDate
string
Example: 2020-01-01

date

Responses

Response samples

Content type
application/json
[
  • {
    }
]

get diary List from date

get diary List from date

Authorizations:
bearerAuth
path Parameters
diaryDate
string
Example: 2020-01-01

date

Responses

Response samples

Content type
application/json
[
  • {
    }
]

diaryDate 에 컨텐츠가 있나 여부.

exists diray from date.

Authorizations:
bearerAuth
path Parameters
diaryDate
string
Example: 2020-01-01

date

Responses

Response samples

Content type
application/json
true

regist diary content Image

regist diary content Image

Request Body schema: multipart/form-data
file
string <binary>

image file to upload

Responses

Response samples

Content type
application/json
"string"

delete diary content Image

delete diary content Image

Request Body schema: application/json
image_path
string

이미지 경로

Responses

Request samples

Content type
application/json
{
  • "image_path": "url"
}

Response samples

Content type
application/json
true

get my monthly diary Info List.

get my monthly diary Info List.

Authorizations:
bearerAuth
query Parameters
yearMonth
string
Example: yearMonth=2021-06

다이어리를 조회할 yyyy-MM 파라미터

Responses

Response samples

Content type
application/json
[
  • {
    }
]

journal diary summary

월간 취침시간, 감정, 컨디션 요약

Authorizations:
bearerAuth
query Parameters
yearMonth
required
string
Example: yearMonth=2021-06

월간 summary를 조회할 yyyy-MM 파라미터

Responses

Response samples

Content type
application/json
{
  • "existLastMonth": true,
  • "existNextMonth": true,
  • "sleepingTimeSummary": {
    },
  • "feelingSummary": {
    },
  • "conditionSummary": {
    }
}

get Calendar of moods by YearMonth .

get Calendar of moods by YearMonth .

Authorizations:
bearerAuth
path Parameters
yearMonth
string
Example: 2022-01

다이어리를 조회할 yyyy-MM 패스 파라미터

Responses

Response samples

Content type
application/json
[
  • {
    }
]

activity_tracker-v1

get tracker goal setting list

get tracker goal setting list

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "settingScaleInfo": [
    ],
  • "settingScaleDetailInfo": [
    ]
}

get tracker goal setting sample

get tracker goal setting sample

Authorizations:
bearerAuth
path Parameters
scaleIndex1
integer <int64> (TypeLong)

scaleIndex1

scaleIndex2
integer <int64> (TypeLong)

scaleIndex2

Responses

Response samples

Content type
application/json
{
  • "goal_step": 0,
  • "goal_upper": 0,
  • "goal_lower": 0,
  • "goal_whole": 0,
  • "goal_social": 0
}

activity tracker goal 작성.

activity tracker goal 작성.

Authorizations:
bearerAuth
Request Body schema: application/json
id
string

ActivityTrackerGoal - ObjectId

user_id
integer <int64> (TypeLong)
year_month
string

목표세팅 년월

object (goalSettingScaleInfo)
object (goalSettingScaleInfo)
goal_step
integer <int64> (TypeLong)
goal_upper
integer <int64> (TypeLong)
goal_lower
integer <int64> (TypeLong)
goal_whole
integer <int64> (TypeLong)
goal_social
integer <int64> (TypeLong)

Responses

Request samples

Content type
application/json
{
  • "id": "5d19e4d8dae0ee64f920d984",
  • "user_id": 0,
  • "year_month": "2021-01",
  • "goal_setting_scale": {
    },
  • "goal_setting_scale2": {
    },
  • "goal_step": 0,
  • "goal_upper": 0,
  • "goal_lower": 0,
  • "goal_whole": 0,
  • "goal_social": 0
}

Response samples

Content type
application/json
true

activity tracker goal 수정.

activity tracker goal 수정.

Authorizations:
bearerAuth
path Parameters
goalId
string
Example: 5d19e4d8dae0ee64f920d984

goalId

Request Body schema: application/json
id
string

ActivityTrackerGoal - ObjectId

user_id
integer <int64> (TypeLong)
year_month
string

목표세팅 년월

object (goalSettingScaleInfo)
object (goalSettingScaleInfo)
goal_step
integer <int64> (TypeLong)
goal_upper
integer <int64> (TypeLong)
goal_lower
integer <int64> (TypeLong)
goal_whole
integer <int64> (TypeLong)
goal_social
integer <int64> (TypeLong)

Responses

Request samples

Content type
application/json
{
  • "id": "5d19e4d8dae0ee64f920d984",
  • "user_id": 0,
  • "year_month": "2021-01",
  • "goal_setting_scale": {
    },
  • "goal_setting_scale2": {
    },
  • "goal_step": 0,
  • "goal_upper": 0,
  • "goal_lower": 0,
  • "goal_whole": 0,
  • "goal_social": 0
}

Response samples

Content type
application/json
true

해당 달의 activity tracker goal Info

해당 달의 activity tracker goal Info

Authorizations:
bearerAuth
path Parameters
yearMonth
string
Example: 2021-01

yearMonth

Responses

Response samples

Content type
application/json
{
  • "id": "5d19e4d8dae0ee64f920d984",
  • "user_id": 0,
  • "year_month": "2021-01",
  • "goal_setting_scale": {
    },
  • "goal_setting_scale2": {
    },
  • "goal_step": 0,
  • "goal_upper": 0,
  • "goal_lower": 0,
  • "goal_whole": 0,
  • "goal_social": 0
}

activity tracker record 작성.

activity tracker record 작성.

Authorizations:
bearerAuth
Request Body schema: application/json
id
string

ActivityTrackerRecord - ObjectId

user_id
integer <int64> (TypeLong)
date
string <date-time> (TypeDateTime)
object (ActivityTrackerGoalInfo)
step
integer <int64> (TypeLong)
upper
integer <int64> (TypeLong)
lower
integer <int64> (TypeLong)
whole
integer <int64> (TypeLong)
social
integer <int64> (TypeLong)
activity_achievement
float

트래커 평균 달성률.

is_save
boolean

기록 생성 이후 수정 여부.

Responses

Request samples

Content type
application/json
{
  • "id": "5d19e4d8dae0ee64f920d984",
  • "user_id": 0,
  • "date": "2017-07-21T17:32:28Z",
  • "goal_info": {
    },
  • "step": 0,
  • "upper": 0,
  • "lower": 0,
  • "whole": 0,
  • "social": 0,
  • "activity_achievement": 30.1,
  • "is_save": true
}

Response samples

Content type
application/json
true

get tracker record info from date

get tracker record info from date

Authorizations:
bearerAuth
path Parameters
date
string
Example: 2020-01-01

date

Responses

Response samples

Content type
application/json
{
  • "id": "5d19e4d8dae0ee64f920d984",
  • "user_id": 0,
  • "date": "2017-07-21T17:32:28Z",
  • "goal_info": {
    },
  • "step": 0,
  • "upper": 0,
  • "lower": 0,
  • "whole": 0,
  • "social": 0,
  • "activity_achievement": 30.1,
  • "is_save": true
}

activity tracker record 수정.

activity tracker record 수정.

Authorizations:
bearerAuth
path Parameters
date
string
Example: 2020-01-01

date

Request Body schema: application/json
id
string

ActivityTrackerRecord - ObjectId

user_id
integer <int64> (TypeLong)
date
string <date-time> (TypeDateTime)
object (ActivityTrackerGoalInfo)
step
integer <int64> (TypeLong)
upper
integer <int64> (TypeLong)
lower
integer <int64> (TypeLong)
whole
integer <int64> (TypeLong)
social
integer <int64> (TypeLong)
activity_achievement
float

트래커 평균 달성률.

is_save
boolean

기록 생성 이후 수정 여부.

Responses

Request samples

Content type
application/json
{
  • "id": "5d19e4d8dae0ee64f920d984",
  • "user_id": 0,
  • "date": "2017-07-21T17:32:28Z",
  • "goal_info": {
    },
  • "step": 0,
  • "upper": 0,
  • "lower": 0,
  • "whole": 0,
  • "social": 0,
  • "activity_achievement": 30.1,
  • "is_save": true
}

Response samples

Content type
application/json
true

activity tracker 30일간 항목 수치

activity tracker 30일간 항목 수치

Authorizations:
bearerAuth
path Parameters
date
string
Example: 2021-01-01

date

Responses

Response samples

Content type
application/json
{
  • "dates": [
    ],
  • "steps": [
    ],
  • "uppers": [
    ],
  • "lowers": [
    ],
  • "wholes": [
    ],
  • "socials": [
    ]
}

activity tracker 작성 여부

activity tracker 작성 여부

Authorizations:
bearerAuth
path Parameters
date
string
Example: 2021-01-01

date

Responses

Response samples

Content type
application/json
{
  • "existsGoal": true,
  • "existsRecord": true
}

activity tracker record 수정.

activity tracker record 수정.

Authorizations:
bearerAuth
path Parameters
yearMonth
string
Example: 2021-01

yearMonth

Responses

Response samples

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

bookmark-v1

bookmark 추가

Authorizations:
None
path Parameters
id
string
Example: 5d19e4d8dae0ee64f920d984

missionAssignId

Responses

Response samples

Content type
application/json
true

bookmark 삭제

Authorizations:
None
path Parameters
id
string
Example: 5d19e4d8dae0ee64f920d984

missionAssignId

Responses

Response samples

Content type
application/json
true

Bookmark 리스트 조회

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "reading": [
    ],
  • "exercise": [
    ]
}

activity-v1

get activity tracker goals setting

get activity tracker goals setting

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
[
  • "string"
]

set activity tracker goals setting

set activity tracker goals setting

Authorizations:
bearerAuth
Request Body schema: application/json
Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

Response samples

Content type
application/json
true

update activity tracker goals setting

update activity tracker goals setting

Authorizations:
bearerAuth
Request Body schema: application/json
Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

Response samples

Content type
application/json
true

get activity progress

get activity progress

Authorizations:
bearerAuth
path Parameters
date
string <date> (TypeDate)
Example: 2020-01-01

date

Responses

Response samples

Content type
application/json
0
0

get activity list

get activity list

Authorizations:
bearerAuth
path Parameters
date
string <date> (TypeDate)
Example: 2020-01-01

date

Responses

Response samples

Content type
application/json
[
  • {
    }
]

create activity info

create activity info

Authorizations:
bearerAuth
Request Body schema: application/json
category
string
contents
string
steps
integer (TypeInt)
is_completed
boolean (TypeBool)

Responses

Request samples

Content type
application/json
{
  • "category": "Exercise",
  • "contents": "e.g. Walking 15 mins / Sit-to-stand 10 times",
  • "steps": 0,
  • "is_completed": true
}

Response samples

Content type
application/json
{
  • "id": "5d19e4d8dae0ee64f920d984",
  • "category": "Exercise",
  • "contents": "e.g. Walking 15 mins / Sit-to-stand 10 times",
  • "steps": 0,
  • "current_steps": 0,
  • "is_completed": true,
  • "completed_at": "2017-07-21T17:32:28Z",
  • "created_at": "2017-07-21T17:32:28Z",
  • "updated_at": "2017-07-21T17:32:28Z"
}

get activity detail

get activity detail

Authorizations:
bearerAuth
path Parameters
id
string
Example: 5d19e4d8dae0ee64f920d984

activityId

date
string <date> (TypeDate)
Example: 2020-01-01

date

Responses

Response samples

Content type
application/json
{
  • "id": "5d19e4d8dae0ee64f920d984",
  • "category": "Exercise",
  • "contents": "e.g. Walking 15 mins / Sit-to-stand 10 times",
  • "steps": 0,
  • "current_steps": 0,
  • "is_completed": true,
  • "completed_at": "2017-07-21T17:32:28Z",
  • "created_at": "2017-07-21T17:32:28Z",
  • "updated_at": "2017-07-21T17:32:28Z"
}

update activity info

update activity info

Authorizations:
bearerAuth
path Parameters
id
string
Example: 5d19e4d8dae0ee64f920d984

activityId

Request Body schema: application/json
category
string
contents
string
steps
integer (TypeInt)
is_completed
boolean (TypeBool)

Responses

Request samples

Content type
application/json
{
  • "category": "Exercise",
  • "contents": "e.g. Walking 15 mins / Sit-to-stand 10 times",
  • "steps": 0,
  • "is_completed": true
}

Response samples

Content type
application/json
{
  • "id": "5d19e4d8dae0ee64f920d984",
  • "category": "Exercise",
  • "contents": "e.g. Walking 15 mins / Sit-to-stand 10 times",
  • "steps": 0,
  • "current_steps": 0,
  • "is_completed": true,
  • "completed_at": "2017-07-21T17:32:28Z",
  • "created_at": "2017-07-21T17:32:28Z",
  • "updated_at": "2017-07-21T17:32:28Z"
}

remove activity info

remove activity info

Authorizations:
bearerAuth
path Parameters
id
required
string
Example: 5d19e4d8dae0ee64f920d984

activityId

Responses

Response samples

Content type
application/json
true

complete activity

complete activity

Authorizations:
bearerAuth
Request Body schema: application/json
id
string

Activity - ObjectId

steps
integer (TypeInt)
is_completed
boolean (TypeBool)
date
string <date> (TypeDate)

Responses

Request samples

Content type
application/json
{
  • "id": "5d19e4d8dae0ee64f920d984",
  • "steps": 0,
  • "is_completed": true,
  • "date": "2020-01-01"
}

Response samples

Content type
application/json
true

update activity complete history

update activity complete history

Authorizations:
bearerAuth
Request Body schema: application/json
id
string

Activity - ObjectId

steps
integer (TypeInt)
is_completed
boolean (TypeBool)
date
string <date> (TypeDate)

Responses

Request samples

Content type
application/json
{
  • "id": "5d19e4d8dae0ee64f920d984",
  • "steps": 0,
  • "is_completed": true,
  • "date": "2020-01-01"
}

Response samples

Content type
application/json
true

cumulative activity steps and auto complete

cumulative activity steps and auto complete

Authorizations:
bearerAuth
Request Body schema: application/json
steps
integer (TypeInt)
date
string <date> (TypeDate)

Responses

Request samples

Content type
application/json
{
  • "steps": 0,
  • "date": "2020-01-01"
}

Response samples

Content type
application/json
true

get activity tracker summary

get activity tracker summary

Authorizations:
bearerAuth
path Parameters
yearMonth
string
Example: 202107

yearMonth

Responses

Response samples

Content type
application/json
{
  • "goals": [
    ],
  • "existLastMonth": true,
  • "existNextMonth": true,
  • "monthlyCompletionData": [
    ],
  • "completionAverage": 31.7,
  • "comparisonLastMonth": 0.1
}

get activity tracker Category Recommends

get activity tracker Category Recommends

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
[
  • {
    }
]

get activity tracker Daily Checked Calendar by Monthly

get activity tracker Daily Checked Calendar by Monthly

Authorizations:
bearerAuth
path Parameters
yearMonth
string
Example: 202112

yearMonth(yyyymm)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

해당 날자에 대한 quote 메세지 정보를 받아온다.

해당 날자에 대한 quote 메세지 정보를 받아온다.

Authorizations:
bearerAuth
path Parameters
date
string
Example: 2022-01-11

date

Responses

Response samples

Content type
application/json
{
  • "quote": "some quote message",
  • "date": "2022-01-11"
}

save daily activity count

save daily activity count

Authorizations:
bearerAuth
path Parameters
id
integer <int64> (TypeLong)

id

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

매일 8시 Quote 리스트 랜덤 발송

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

Authorizations:
bearerAuth
path Parameters
userId
integer <int64> (TypeLong)

userId

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

invite-v1

invite friend event send push message

invite friend event send push message

Authorizations:
bearerAuth
query Parameters
user_id
integer <int64> (TypeLong)
Example: user_id=1343

User Id

Responses

Response samples

Content type
application/json
true

친구초대 이벤트 Push 발송 중지

Authorizations:
bearerAuth
Request Body schema: application/json
required

친구초대 이벤트 Push 발송을 중지할 UserID

userId
integer <int64> (TypeLong)

Responses

Request samples

Content type
application/json
{
  • "userId": 0
}

Response samples

Content type
application/json
true

award-v1

check All award List

check All award List

query Parameters
user_id
integer <int64> (TypeLong)
Example: user_id=1343

User Id

Responses

Response samples

Content type
application/json
{
  • "user_id": 0,
  • "awards": [
    ]
}

get achived award Summary

get achived award Summary

query Parameters
user_id
integer <int64> (TypeLong)
Example: user_id=1343

User Id

Responses

Response samples

Content type
application/json
{
  • "user_id": 0,
  • "awards": [
    ]
}

get All award List

get All award List

query Parameters
user_id
integer <int64> (TypeLong)
Example: user_id=1343

User Id

Responses

Response samples

Content type
application/json
{
  • "user_id": 0,
  • "awards": [
    ]
}

get award's detail

get award's detail

Authorizations:
bearerAuth
path Parameters
id
string
Example: 5d19e4d8dae0ee64f920d984

AwardId

query Parameters
user_id
integer <int64> (TypeLong)
Example: user_id=1343

User Id

Responses

Response samples

Content type
application/json
{
  • "user_id": 0,
  • "awards": [
    ]
}

confirm Achived Reward

confirm Achived Reward

Authorizations:
bearerAuth
path Parameters
rewardTitle
string
Example: PERFECT_ATTENDEE

rewardTitle

levelTitle
string
Example: LEVEL0

levelTitle

query Parameters
user_id
integer <int64> (TypeLong)
Example: user_id=1343

User Id

Responses

Response samples

Content type
application/json
true