POST
/
cloud
/
v1
/
user_actions
/
subscribe_amqp_test
Send test message
curl --request POST \
  --url https://api.gcore.com/cloud/v1/user_actions/subscribe_amqp_test \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "connection_string": "amqps://guest:guest@192.168.123.20:5671/user_action_events",
  "exchange": "exchange",
  "routing_key": "routing_key"
}'

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Body

application/json
connection_string
string
required

Connection string of the following structure "scheme://username:password@host:port/virtual_host"

Examples:

"amqps://guest:guest@192.168.123.20:5671/user_action_events"

exchange
string

Exchange name

Examples:

"exchange"

routing_key
string

Routing key

Examples:

"routing_key"

Response

204

No Content