All URIs are relative to https://radiomanager.io/api/v2
Method | HTTP request | Description |
---|---|---|
CreateItem | Post /items | Create an new item. |
CurrentItemPostStructure | Post /items/current/structure | Post a current playing item, keep structure |
CurrentItemPostTiming | Post /items/current/timing | Post a current playing item |
DeleteItemById | Delete /items/{id} | Delete item by ID. |
GetCurrentItem | Get /items/current | Get current Item |
GetItemById | Get /items/{id} | Get extended item details by ID. |
ListItems | Get /items | Get a list of all the items currently in your station. |
PlaylistPostMerge | Post /items/playlist/merge | Post a playlist, do not remove previously imported items |
PlaylistPostStructure | Post /items/playlist/structure | Post a playlist, keep current structure |
PlaylistPostTiming | Post /items/playlist/timing | Post a playlist |
StopCurrentItem | Post /items/stopcurrent | Stop an Item |
UpdateItemById | Patch /items/{id} | Update extended item details by ID. |
PostSuccess CreateItem(ctx, optional) Create an new item.
Create item.
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 |
---|---|---|---|
data | ItemDataInput | 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]
Success CurrentItemPostStructure(ctx, optional) Post a current playing item, keep structure
Post a current playing item, keep structure
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 |
---|---|---|---|
data | ImportItem | 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]
Success CurrentItemPostTiming(ctx, optional) Post a current playing item
Post a current playing item
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 |
---|---|---|---|
data | ImportItem | 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]
Success DeleteItemById(ctx, id) Delete item by ID.
Delete item by id.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
id | int64 | ID of Item (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]
ItemResult GetCurrentItem(ctx, optional) Get current Item
Get current Item
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 |
---|---|---|---|
lastplayed | bool | Show last played item if there is no current item*(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]
ItemResult GetItemById(ctx, id, optional) Get extended item details by ID.
Read item by id.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
id | int64 | ID of Item (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 Item (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]
ItemResults ListItems(ctx, optional) Get a list of all the items currently in your station.
Get a list of all the items currently in your station. This feature supports pagination and will give a maximum results of 50 items 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) | |
blockId | int64 | Search on Block ID (Optional) `(Relation)` | |
broadcastId | int64 | Search on Broadcast ID (Optional) `(Relation)` | |
modelTypeId | int64 | Search on ModelType ID (Optional) `(Relation)` | |
tagId | int64 | Search on Tag ID (Optional) `(Relation)` | |
campaignId | int64 | Search on Campaign ID (Optional) `(Relation)` | |
contactId | int64 | Search on Contact ID (Optional) `(Relation)` | |
programDraftId | int64 | Search on Program Draft ID (Optional) | |
userDraftId | int64 | Search on User Draft ID (Optional) | |
stationDraftId | int64 | Search on Station Draft ID (Optional) | |
programId | int64 | Search on Program ID (Optional) `(Relation)` | |
externalId | string | Search on External ID (Optional) | |
startMin | time.Time | Minimum start date (Optional) | |
startMax | time.Time | Maximum start date (Optional) | |
durationMin | int32 | Minimum duration (seconds) (Optional) | |
durationMax | int32 | Maximum duration (seconds) (Optional) | |
status | string | Play Status of item (Optional) | |
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]
InlineResponse202 PlaylistPostMerge(ctx, optional) Post a playlist, do not remove previously imported items
Post a playlist, do not remove previously imported items
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 |
---|---|---|---|
data | Data2 | 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]
InlineResponse202 PlaylistPostStructure(ctx, optional) Post a playlist, keep current structure
Post a playlist, keep current structure
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 |
---|---|---|---|
data | Data1 | 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]
InlineResponse202 PlaylistPostTiming(ctx, optional) Post a playlist
Post a playlist
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 |
---|---|---|---|
data | Data | 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]
Success StopCurrentItem(ctx, optional) Stop an Item
Set a current playing or specific item on played
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 |
---|---|---|---|
data | Data3 | 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]
Success UpdateItemById(ctx, id, optional) Update extended item details by ID.
Update item by id.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
id | int64 | ID of Item (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 Item (Required) | |
data | ItemDataInput | 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]