balanced / balanced-api

Balanced API specification.
220 stars 72 forks source link

allow to fetch logs from any resource #704

Closed 3zcurdia closed 9 years ago

3zcurdia commented 9 years ago

Right now I could look into the logs from the balance dashboard for bank accounts, unfortunately I I tried to do the same with the api but I couldn't find the way, except with a direct call using Balance.get()

mjallday commented 9 years ago

can we please get a little more info what you mean?

are you talking about the events associated with resources? we already include those on most objects.

3zcurdia commented 9 years ago

Also with Balanced::Events I couldn't query the events form a Bank Account

remear commented 9 years ago

@3zcurdia It sounds like you're wanting to do something like:

curl https://api.balancedpayments.com/bank_accounts/BAfi3VlWzaDQDsdnHhbmXTy/events \
     -H "Accept: application/vnd.api+json;revision=1.1" \
     -u ak-test-GHsDIaWXkvZIo89IMWPrYTxfhAXTWVI0:

Would you please confirm this is what you're requesting. If so, we'll close this as a duplicate of https://github.com/balanced/balanced-api/issues/683

3zcurdia commented 9 years ago

Yes! that is exactly what I try to replicate

Thanks