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

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 }

Retrieve notifications from target

Request

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

Responses

Get messages from push receiver

Bodyapplication/json
dataArray of any
Response
application/json
{ "data": [ null ] }

Stats

Operations

Reset

Operations