You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a customer app or admin app,
I want to read bot state and inventory through APIs backed by Cosmos DB,
so that applications do not need to query the simulator directly for normal bot information.
Acceptance Criteria
Given an app requests all bots
When the API receives the request
Then it returns bot documents or summaries from the Cosmos DB Bots container.
Given an app requests a specific bot
When the API receives the bot ID
Then it returns the matching bot document from Cosmos DB.
Given an app requests available bots
When the API queries Cosmos DB
Then it returns bots marked as available and not removed or disabled.
Given an app needs inventory information
When it queries a bot through the API
Then the response includes the bot’s current readable inventory values.
Given an app requests normal read-only bot information
When the request is processed
Then the API does not call the simulator HTTP endpoints for that read operation.
As a customer app or admin app,
I want to read bot state and inventory through APIs backed by Cosmos DB,
so that applications do not need to query the simulator directly for normal bot information.
Acceptance Criteria
Given an app requests all bots
When the API receives the request
Then it returns bot documents or summaries from the Cosmos DB Bots container.
Given an app requests a specific bot
When the API receives the bot ID
Then it returns the matching bot document from Cosmos DB.
Given an app requests available bots
When the API queries Cosmos DB
Then it returns bots marked as available and not removed or disabled.
Given an app needs inventory information
When it queries a bot through the API
Then the response includes the bot’s current readable inventory values.
Given an app requests normal read-only bot information
When the request is processed
Then the API does not call the simulator HTTP endpoints for that read operation.