-
Notifications
You must be signed in to change notification settings - Fork 1
Create New User
Yongsung Heo edited this page Apr 19, 2019
·
7 revisions
Request user registration and get authentication token used for calling server APIs. If user write correct form for registration, server will return the Bearer authentication token.
- URL :
/api/v1/auth/signup - Method :
POST
No header is required.
| Name | Type | Description |
|---|---|---|
| string | required. Email which is written by user. This email is unique and identify each user. | |
| passwordHash | string | required. |
| passwordHash2 | string | required. |
| Name | Type | Description |
|---|---|---|
| string | Viaggio user email. | |
| name | string | Name which user registered. |
| token | string | essential. Viaggio authentication token. |
| AWS_IdentityId | string | essential. |
| AWS_Token | string | essential. |
POST /api/v1/auth/signup
{
"email": "VIAGGIO_USER_EMAIL",
"name": "VIAGGIO_USER_NAME",
"token": "VIAGGIO_AUTH_TOKEN_STRING",
"AWS_IdentityId": "DIFFICULT_STRING",
"AWS_Token": "DIFFICULT_STRING"
}