Skip to content

Instantly share code, notes, and snippets.

@NikitaMelnikov
Last active April 5, 2016 09:45
Show Gist options
  • Save NikitaMelnikov/8824dcb6b9763a53b74d555485f4df05 to your computer and use it in GitHub Desktop.
Save NikitaMelnikov/8824dcb6b9763a53b74d555485f4df05 to your computer and use it in GitHub Desktop.
POST transactions
{
"routing_key": "gsg.invoice.updated"
"body": {
"id": 123,
"time": "2016-01-01T00:00:00.0000Z+04.00",
"fields": {
"hold": "n"
}
}
}
GET transactions/gsg.invoice.update // GSG invoice worker
GET transactions/gsg.* // GSG metrics worker
---------------------------------------------------------
POST transaction_details
{
"routing_key": "transaction.trunk.source_service_id",
"body": {
...
}
}
GET transaction_details/transaction.*.source_service_id // Trunk and GSG source service id collector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment