Bulk Receiver

Email and FCM receiver for QA/test

Enviroment Variables

SQS_EMAIL_URL - endpoint URL of the SQS for email

SQS_PUSH_URL - endpoint URL of the SQS for push

SQS_PUSH_POLLERS - number of pollers for push (default 3)

Download OpenAPI description
Languages
Servers
Mock server

https://docs.cognitivesystems.com/_mock/assets/specs/bulkrx/v1-0/

EMails

Operations

Push

Operations

Claim push target

Request

If no push targets are available, a 400 will be returned.

Query
fbclientstring

FireBase Client key, which determines WHICH FB Client to use when dealing with Device Notifications

curl -i -X GET \
  'https://docs.cognitivesystems.com/_mock/assets/specs/bulkrx/v1-0/push/claim?fbclient=string'

Responses

Bodyapplication/json
tokenstring
uuidstring
Response
application/json
{ "token": "string", "uuid": "string" }

Push Client

Request

Supported Browsers: Firefox, Chrome.

Each open Client creates 1 push target that can subsequently be claimed.

Firefox container tabs can be used to spawn multiple inside one browser.

curl -i -X GET \
  https://docs.cognitivesystems.com/_mock/assets/specs/bulkrx/v1-0/client

Responses

Serves up an index.html of the push client

Unclaim push target

Request

Query
uuidstring
fbclientstring

FireBase Client key used to determine which FB Client key to use with regards to Device Notifications.

curl -i -X GET \
  'https://docs.cognitivesystems.com/_mock/assets/specs/bulkrx/v1-0/push/unclaim?fbclient=string&uuid=string'

Responses

Unclaim a push receiver.

Bodyapplication/json
okboolean
Example: true
Response
application/json
{ "ok": true }

Stats

Operations

Reset

Operations