Get channel by channel id.
Successfully retrieved channel.
Returned when a client sends a bad request
Returned when a request is performed without or with an incorrect OIDC token
Returned when a client requests an resource that is not found
Returned when an error occurs on the server
{- "arn": "string",
- "state": "string"
}
Translate text by providing text and target language.
Successfully translated text.
Returned when a client sends a bad request
Returned when a request is performed without or with an incorrect OIDC token
Returned when a client requests a resource it's not authorized for.
Returned when an error occurs on the server
{- "message": {
- "original": "Hello world!"
}, - "target_language": "de"
}
{- "message": {
- "original": "Hello world!",
- "translated": "Hallo Welt!"
}, - "target_language": "de",
- "source_language": "en"
}
Sending a control message which will trigger a ping over the websockets.
Successfully send control request.
Returned when a client sends a bad request
Returned when a request is performed without or with an incorrect OIDC token
Returned when a client requests a resource it's not authorized for.
Returned when an error occurs on the server
{- "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459"
}
Create channel attachment for a channel. Presigned url in response can be used to upload attachment.
Successfully created channel attachment.
Returned when a client sends a bad request
Returned when a request is performed without or with an incorrect OIDC token
Returned when a client requests a resource it's not authorized for.
Returned when an error occurs on the server
{- "file_name": "file.txt"
}
{- "file_name": "file.txt",
- "file_reference": "/channel/abcb2f39-7620-401a-8dab-ec2f6075ed8a/abcb2f39-7620-401a-8dab-ec2f6075ed8a/file.txt"
}
Get attachments for a channel.
Successfully retrieved channel attachment.
Returned when a client sends a bad request
Returned when a request is performed without or with an incorrect OIDC token
Returned when a client requests a resource it's not authorized for.
Returned when an error occurs on the server
{- "file_name": "file.txt",
- "file_reference": "/channel/abcb2f39-7620-401a-8dab-ec2f6075ed8a/abcb2f39-7620-401a-8dab-ec2f6075ed8a/file.txt"
}