GET api/v1/bots/alexabots
Get all The Alexa Bots for the current account.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of AlexaBotDtoName | Description | Type | Additional information |
---|---|---|---|
ClientId | string |
None. |
|
ClientSecret | string |
None. |
|
DateAdded | date |
None. |
|
Id |
User Id |
globally unique identifier |
None. |
Name |
The users name |
string |
None. |
UserName |
UserName (used to login with) |
string |
None. |
FullUserName |
User Id and Account name |
string |
None. |
BotType |
The type of bot. |
string |
None. |
DisplayName |
Users first and last name |
string |
None. |
DevicesCheckIntervalMinutes |
How often the spark account should be checked for new devices. |
integer |
None. |
MeasurementCollectionIntervalMinutes |
How often measurements should be collected from the devices (applies to new devices only). |
integer |
None. |
Links |
Collection of links appropriate for the user |
Collection of LinkDto |
None. |
Actions | Collection of LinkDto |
None. |
|
Description | string |
None. |
|
Enabled | boolean |
None. |
|
Authenticated |
If the bot is authenticated. |
boolean |
None. |
Response Formats
application/json, text/json, application/senml+json
Sample:
[ { "ClientId": "sample string 1", "ClientSecret": "sample string 2", "DateAdded": "2024-11-22T04:37:42.1207899+00:00", "Id": "4b999766-3f9d-4827-b69c-b96e575f7e7d", "Name": "sample string 5", "UserName": "sample string 6", "FullUserName": "sample string 7", "BotType": "sample string 8", "DisplayName": "sample string 9", "DevicesCheckIntervalMinutes": 10, "MeasurementCollectionIntervalMinutes": 11, "Links": [ { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" }, { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" } ], "Actions": [ { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" }, { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" } ], "Description": "sample string 12", "Enabled": true, "Authenticated": true }, { "ClientId": "sample string 1", "ClientSecret": "sample string 2", "DateAdded": "2024-11-22T04:37:42.1207899+00:00", "Id": "4b999766-3f9d-4827-b69c-b96e575f7e7d", "Name": "sample string 5", "UserName": "sample string 6", "FullUserName": "sample string 7", "BotType": "sample string 8", "DisplayName": "sample string 9", "DevicesCheckIntervalMinutes": 10, "MeasurementCollectionIntervalMinutes": 11, "Links": [ { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" }, { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" } ], "Actions": [ { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" }, { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" } ], "Description": "sample string 12", "Enabled": true, "Authenticated": true } ]
application/xml, text/xml
Sample:
<ArrayOfAlexaBotDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots.AlexaBot"> <AlexaBotDto> <Actions xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots"> <d3p1:LinkViewModel> <d3p1:Action>sample string 3</d3p1:Action> <d3p1:Href>sample string 1</d3p1:Href> <d3p1:Rel>sample string 2</d3p1:Rel> </d3p1:LinkViewModel> <d3p1:LinkViewModel> <d3p1:Action>sample string 3</d3p1:Action> <d3p1:Href>sample string 1</d3p1:Href> <d3p1:Rel>sample string 2</d3p1:Rel> </d3p1:LinkViewModel> </Actions> <Authenticated xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">true</Authenticated> <BotType xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 8</BotType> <Description xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 12</Description> <DevicesCheckIntervalMinutes xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">10</DevicesCheckIntervalMinutes> <DisplayName xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 9</DisplayName> <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">true</Enabled> <FullUserName xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 7</FullUserName> <Id xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">4b999766-3f9d-4827-b69c-b96e575f7e7d</Id> <Links xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots"> <d3p1:LinkViewModel> <d3p1:Action>sample string 3</d3p1:Action> <d3p1:Href>sample string 1</d3p1:Href> <d3p1:Rel>sample string 2</d3p1:Rel> </d3p1:LinkViewModel> <d3p1:LinkViewModel> <d3p1:Action>sample string 3</d3p1:Action> <d3p1:Href>sample string 1</d3p1:Href> <d3p1:Rel>sample string 2</d3p1:Rel> </d3p1:LinkViewModel> </Links> <MeasurementCollectionIntervalMinutes xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">11</MeasurementCollectionIntervalMinutes> <Name xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 5</Name> <UserName xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 6</UserName> <ClientId>sample string 1</ClientId> <ClientSecret>sample string 2</ClientSecret> <DateAdded>2024-11-22T04:37:42.1207899+00:00</DateAdded> </AlexaBotDto> <AlexaBotDto> <Actions xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots"> <d3p1:LinkViewModel> <d3p1:Action>sample string 3</d3p1:Action> <d3p1:Href>sample string 1</d3p1:Href> <d3p1:Rel>sample string 2</d3p1:Rel> </d3p1:LinkViewModel> <d3p1:LinkViewModel> <d3p1:Action>sample string 3</d3p1:Action> <d3p1:Href>sample string 1</d3p1:Href> <d3p1:Rel>sample string 2</d3p1:Rel> </d3p1:LinkViewModel> </Actions> <Authenticated xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">true</Authenticated> <BotType xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 8</BotType> <Description xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 12</Description> <DevicesCheckIntervalMinutes xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">10</DevicesCheckIntervalMinutes> <DisplayName xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 9</DisplayName> <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">true</Enabled> <FullUserName xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 7</FullUserName> <Id xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">4b999766-3f9d-4827-b69c-b96e575f7e7d</Id> <Links xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots"> <d3p1:LinkViewModel> <d3p1:Action>sample string 3</d3p1:Action> <d3p1:Href>sample string 1</d3p1:Href> <d3p1:Rel>sample string 2</d3p1:Rel> </d3p1:LinkViewModel> <d3p1:LinkViewModel> <d3p1:Action>sample string 3</d3p1:Action> <d3p1:Href>sample string 1</d3p1:Href> <d3p1:Rel>sample string 2</d3p1:Rel> </d3p1:LinkViewModel> </Links> <MeasurementCollectionIntervalMinutes xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">11</MeasurementCollectionIntervalMinutes> <Name xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 5</Name> <UserName xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 6</UserName> <ClientId>sample string 1</ClientId> <ClientSecret>sample string 2</ClientSecret> <DateAdded>2024-11-22T04:37:42.1207899+00:00</DateAdded> </AlexaBotDto> </ArrayOfAlexaBotDto>