Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

API requirements for clients #12

Open
al-co-js opened this issue Jan 23, 2019 · 0 comments
Open

API requirements for clients #12

al-co-js opened this issue Jan 23, 2019 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@al-co-js
Copy link
Collaborator

Login

-ID : ex@ex.com
-PW : ex1234
return
success : true or false
message : false-아이디 없음, 비밀번호 불일치, 서버 에러 등 상세하게 알려주기

Join

-ID : ex@ex.com
-PW : ex1234
(비밀번호 확인은 클라이언트에서)
-DM : EB-0, DC-1, WP-2, HD-3
return
success : true or false
message : false-같은 아이디 존재, 서버 에러 등 상세하게 알려주기

WordbooksList

-page : 1, 2, 3 ···
return
success : true or false
message : true-WordBook_ID 배열 (WordBook_ID를 조회하면 Word_ID배열이 나온다)
false-없는 페이지, 서버 에러 등 상세하게 알려주기

WordsList

-page : 1, 2, 3 ···
return
success : true or false
message : true-Word_ID 배열 (Word_ID를 조회하면 그 단어의 데이터가 나온다)
false-없는 페이지, 서버 에러 등 상세하게 알려주기

Wordbook_ID

-ID : 단어의 ID
return
success : true of false
message : true-필수(한국어, 영어), 가능하면(정답횟수(accept), 답 제출 횟수(submit))
false-없는 단어 아이디, 서버 에러 등 상세하게 알려주기

WordBook_ID

-ID : 단어장의 ID
return
success : true of false
message : true-필수(Word_ID), 가능하면(정답횟수(accept), 답 제출 횟수(submit))

Point

-token : 유저의 token
-point : 1, 3, 5 ···
return
success : true of false
message : false-토큰 조회 실패, 발생할 수 없는 point, 서버 에러 등 상세하게 알려주기

@junhoyeo junhoyeo changed the title BMC Togi 클라이언트 요구 API Jan 23, 2019
@junhoyeo junhoyeo added enhancement New feature or request good first issue Good for newcomers labels Jan 23, 2019
@junhoyeo junhoyeo changed the title 클라이언트 요구 API API requirements for clients Mar 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants