Skip to content
This repository has been archived by the owner on Aug 4, 2019. It is now read-only.

Add bank_id to MQ envelop #1

Open
mehdikiaee opened this issue Jan 21, 2019 · 0 comments
Open

Add bank_id to MQ envelop #1

mehdikiaee opened this issue Jan 21, 2019 · 0 comments

Comments

@mehdikiaee
Copy link

mehdikiaee commented Jan 21, 2019

Add bank_id to MQ envelop

COUNT /apiv1/cryptomodules/:id/tokens/:mode?[from=iso|unix]&[to=iso|unix]&[bankId=int]

-As an admin I can count the number of created tokens by their bank_id in a specific time span.

User Story


Available modes:

mode description
sum total pure result
daily result group by day
monthly result group by month
annual result group by year

Exceptions

  • 400: Bad time format

Response (mode: sum):

application/json

123

Response (mode: daily|monthly|annual):

application/json

[
    {
        "when":"2001-01-01T12:00:00",
        "count":2
    }
]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants