Endpoints
header
key=Authorization
value={app-secret}
Login
POST
https://baas.kinvey.com/user/{app-key}/login
body
{
"username": "username",
"password": "password"
}
Exemplo de retorno
{
"_id": "hash",
"username": "username",
"email": "[email protected]",
"_kmd": {
"lmt": "2018-04-14T00:40:46.274Z",
"ect": "2018-04-14T00:40:46.274Z",
"authtoken": "hash"
},
"_acl": {
"creator": "hash"
}
}
Pré-cadastro
POST
https://baas.kinvey.com/user/{app-key}
body
{
"username": "username",
"password": "password",
"email":"[email protected]"
}
Exemplo de retorno
{
"username": "username",
"password": "password",
"email": "[email protected]",
"_kmd": {
"lmt": "2018-04-16T21:18:17.025Z",
"ect": "2018-04-16T21:18:17.025Z",
"authtoken": "hash"
},
"_id": "hash",
"_acl": {
"creator": "hash"
}
}