API
Last updated
Last updated
POST /v1/auth HTTP/1.1
Host: localhost:8010
Content-Type: application/json
Accept: */*
Content-Length: 34
{
"email": "text",
"password": "text"
}{
"code": 1,
"error": "text",
"message": "text",
"token": "text",
"user": {
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"created_at": "text",
"email": "text",
"firstname": "text",
"lastname": "text",
"roles": [
{
"description": "text",
"role": "text"
}
],
"user_id": "text"
}
}POST /v1/register HTTP/1.1
Host: localhost:8010
Content-Type: application/json
Accept: */*
Content-Length: 125
{
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"email": "text",
"first_name": "text",
"last_name": "text",
"password": "text"
}{
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"code": 1,
"created_at": "text",
"email": "text",
"error": "text",
"firstname": "text",
"lastname": "text",
"message": "text",
"roles": [
{
"description": "text",
"role": "text"
}
],
"user_id": "text"
}GET /v1/register/validate/{token} HTTP/1.1
Host: localhost:8010
Accept: */*
{
"code": 1,
"error": "text",
"message": "text"
}GET /v1/user/me HTTP/1.1
Host: localhost:8010
Accept: */*
{
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"code": 1,
"created_at": "text",
"email": "text",
"error": "text",
"firstname": "text",
"lastname": "text",
"message": "text",
"roles": [
{
"description": "text",
"role": "text"
}
],
"user_id": "text"
}PATCH /v1/user/me HTTP/1.1
Host: localhost:8010
Content-Type: application/json
Accept: */*
Content-Length: 105
{
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"email": "text",
"firstname": "text",
"lastname": "text"
}{
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"code": 1,
"created_at": "text",
"email": "text",
"error": "text",
"firstname": "text",
"lastname": "text",
"message": "text",
"roles": [
{
"description": "text",
"role": "text"
}
],
"user_id": "text"
}PATCH /v1/user/me/password HTTP/1.1
Host: localhost:8010
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"new_password": "text",
"old_password": "text"
}{
"code": 1,
"error": "text",
"message": "text"
}