All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
APITokenGet | Get /1.0/users/api-key | |
APITokenRegenerate | Post /1.0/users/api-key | |
ChangePassword | Put /1.0/users/password | |
ResetPassword | Post /1.0/users/{email}/password | |
UserCreate | Post /1.0/users | |
UserDelete | Delete /1.0/users | |
UserGet | Get /1.0/users/info | |
UserQuotaChange | Put /1.0/users/{email}/quota | |
UserQuotaGet | Get /1.0/users/{email}/quota | |
UserTokenDelete | Delete /1.0/users/tokens | |
UsersList | Get /1.0/users |
string APITokenGet(ctx, email)
Show the API token of an user.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
string |
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string APITokenRegenerate(ctx, email)
Regenerate the API Token of an user.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
string |
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ChangePassword(ctx, changePasswordData)
Change password of logged user.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
changePasswordData | ChangePasswordData |
(empty response body)
- Content-Type: application/json
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResetPassword(ctx, email, body)
Reset password of an user.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
string | |||
body | string |
(empty response body)
- Content-Type: application/json
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserCreate(ctx, userData)
Create a new user.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
userData | UserData |
(empty response body)
- Content-Type: application/json
- Accept: application/x-json-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserDelete(ctx, email)
Delete an user.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
string | User e-mail. |
(empty response body)
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
User UserGet(ctx, )
Get information on logged user.
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserQuotaChange(ctx, email, limit)
Change quota of an user.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
string | User e-mail. | ||
limit | int32 | User new quota. |
(empty response body)
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserQuotaViewResponse UserQuotaGet(ctx, email)
Get quota of an user.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
string | User e-mail. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserTokenDelete(ctx, )
Logout.
This endpoint does not need any parameter.
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]User UsersList(ctx, userEmail, optional)
List users.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
userEmail | string | ||
optional | *UsersListOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a UsersListOpts struct
Name | Type | Description | Notes |
---|
role | optional.String| | context | optional.String| |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]