All URIs are relative to https://radiomanager.io/api/v2
Method | HTTP request | Description |
---|---|---|
DeleteUserById | Delete /users/{id} | Remove user from station by Id |
GetUserById | Get /users/{id} | Get user by id |
InviteUserByMail | Post /users/invite | Invite user by mail |
ListUsers | Get /users | Get all users. |
Success DeleteUserById(ctx, id) Remove user from station by Id
Remove user from station by Id
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
id | int64 | id of User |
[API Key](../README.md#API Key)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserResult GetUserById(ctx, id) Get user by id
Get user by id
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
id | int64 | id of User |
[API Key](../README.md#API Key)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InviteUserSuccess InviteUserByMail(ctx, data) Invite user by mail
Invite user by mail
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
data | InviteUserData | Data (Required) |
[API Key](../README.md#API Key)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserResults ListUsers(ctx, optional) Get all users.
List all users.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
page | int64 | Current page (Optional) | [default to 1] |
roleId | int64 | Search on Role ID (Optional) | |
limit | int64 | Results per page (Optional) | |
orderBy | string | Field to order the results (Optional) | |
orderDirection | string | Direction of ordering (Optional) |
[API Key](../README.md#API Key)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]