Download OpenAPI specification:
Updates specified user's avatar.
userId required | integer <int32> |
file required | string <binary> |
{- "file": "string"
}
{- "message": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
Updates the current user's avatar.
file required | string <binary> |
{- "file": "string"
}
{- "message": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
Authorites can be applied to roles and specify what functionality that role has access to.
Add list of roles applied to a user.
userId required | integer <int32> |
[- 0
]
[- {
- "id": 0,
- "name": "string",
- "authorityIds": [
- 0
]
}
]
Set list of roles applied to a user.
userId required | integer <int32> |
[- 0
]
[- {
- "id": 0,
- "name": "string",
- "authorityIds": [
- 0
]
}
]
Remove list of roles applied to a user.
userId required | integer <int32> |
[- 0
]
[- {
- "id": 0,
- "name": "string",
- "authorityIds": [
- 0
]
}
]
Update a specific role.
id required | integer <int32> |
id | integer <int32> |
name | string |
authorityIds | Array of integers <int32> [ items <int32 > ] |
{- "id": 0,
- "name": "string",
- "authorityIds": [
- 0
]
}
{- "id": 0,
- "name": "string",
- "authorityIds": [
- 0
]
}
Create a new role.
id | integer <int32> |
name | string |
authorityIds | Array of integers <int32> [ items <int32 > ] |
{- "id": 0,
- "name": "string",
- "authorityIds": [
- 0
]
}
{- "id": 0,
- "name": "string",
- "authorityIds": [
- 0
]
}
Register a new user.
username | string |
password | string |
{- "username": "string",
- "password": "string"
}
{- "accessToken": "string",
- "tokenType": "string",
- "expires": "2019-08-24T14:15:22Z"
}
Login to an existing user.
username | string |
password | string |
{- "username": "string",
- "password": "string"
}
{- "accessToken": "string",
- "tokenType": "string",
- "expires": "2019-08-24T14:15:22Z"
}
Update specific user's information.
id required | integer <int32> |
id | integer <int32> |
username | string |
firstname | string |
lastname | string |
{- "id": 0,
- "username": "string",
- "firstname": "string",
- "lastname": "string"
}
[- 0
]
Update the current user's information.
id | integer <int32> |
username | string |
firstname | string |
lastname | string |
{- "id": 0,
- "username": "string",
- "firstname": "string",
- "lastname": "string"
}
{- "id": 0,
- "username": "string",
- "firstname": "string",
- "lastname": "string"
}
Get paginated list of user's information.
page | integer <int32> Default: 0 |
size | integer <int32> |
[- {
- "id": 0,
- "username": "string",
- "firstname": "string",
- "lastname": "string"
}
]