Repository navigation
MeTLing Pot
captainmisterhagan edited this page Dec 30, 2016
·
10 revisions
MeTLing Pot is a data store of events emitted by other systems (most notably MeTL).
| MeTL action | MeTLing Pot receives |
|---|---|
| Join Conversation | Join event |
| Leave Conversation | Leave event |
| Text on Canvas | Text entered |
| Ink on Canvas | Text analysed from ink |
| Image on Canvas | Text analysed from image, classifications attributed to image |
| Grade awarded | Grade |
| Poll answered | Choice |
- Login to AWS
- Open the Lambda Console (under Compute)
- Go to Functions
- Select the searchMeTLingPot function
- Actions | Configure test event
Enter the following query:
{
"before":9999999999999,
"after":1482551459596,
"query":{
"source":["canvasContentChunkAnalyzer","metlRoom","metlActor"]
}
}
JSON PUT -> Lambda -> JSON result
- Application Services | API Gateway
- MeTLingPotInputItem | Stages | [future]
- Export | Export as Swagger + Postman Extensions (JSON)
From usage plan.
- Application Services | API Keys
- Actions | Create API key
- API Key | Show (
[apiKey])
From IAM user.
- Security, Identity and Compliance | IAM
- Add User
- Add to Group: metlingPotAccess
- Import
- Browse to exported JSON
- MetlingPotInputItem | smartgroups
Add header:
x-api-key = [apiKey]
| Name | Value |
|---|---|
| AccessKey | [accessKey] |
| SecretKey | [secretKey] |
| AWS Region | us-east-1 |
| Service name | execute-api |