All URIs are relative to https://radiomanager.io/api/v2
Method | HTTP request | Description |
---|---|---|
CreateTag | Post /tags | Create tag. |
DeleteTagById | Delete /tags/{id} | Delete tag by id |
GetTagById | Get /tags/{id} | Get tags by id |
ListTags | Get /tags | Get a list of all the tags currently in your station. |
UpdateTagByID | Patch /tags/{id} | Update tag by id |
PostSuccess CreateTag(ctx, data) Create tag.
Create tag.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
data | TagDataInput | 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]
Success DeleteTagById(ctx, id) Delete tag by id
Delete tag by id
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
id | int64 | ID of Tag (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]
TagResult GetTagById(ctx, id, optional) Get tags by id
Get tags by id
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
id | int64 | ID of Tag (Required) | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
id | int64 | ID of Tag (Required) | |
externalStationId | int64 | Query on a different (content providing) station (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]
TagResults ListTags(ctx, optional) Get a list of all the tags currently in your station.
Get a list of all the tags currently in your station. This feature supports pagination and will give a maximum results of 50 tags back.
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) | |
programId | int64 | Search on Program ID (Optional) `(Relation)` | |
itemId | int64 | Search on Item ID (Optional) `(Relation)` | |
broadcastId | int64 | Search on Broadcast ID (Optional) `(Relation)` | |
contactId | int64 | Search on Contact ID (Optional) `(Relation)` | |
limit | int64 | Results per page (Optional) | |
orderBy | string | Field to order the results (Optional) | |
orderDirection | string | Direction of ordering (Optional) | |
externalStationId | int64 | Query on a different (content providing) station (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]
Success UpdateTagByID(ctx, id, optional) Update tag by id
Update tag by id
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
id | int64 | ID of Tag (Required) | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
id | int64 | ID of Tag (Required) | |
data | TagDataInput | Data (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]