trabian / hyperlocal-api

node.js-based mock API backend for Hyperlocal
https://github.com/trabian/hyperlocal-api/wiki
0 stars 0 forks source link

Need to document the Transactions API #7

Closed trabianmatt closed 13 years ago

trabianmatt commented 13 years ago

Here's an example response -- just need to write the rest and add it to the wiki:

{
  "data": [
    {
        "_id": "4e08d7f803ac120100000004",
        "account_id": "123001-S10",
        "name": "WETZEL'S PRETZELS          INDIANAPOLIS   IN",
        "amount": -8.74,
        "posted_at": "2011-06-27T22:25:24.619Z"
    }, {
        "_id": "4e08d7f803ac120100000005",
        "account_id": "123001-S10",
        "name": "RDIO.COM                   415-5127501    CA",
        "amount": -9.75,
        "posted_at": "2011-06-27T21:01:24.619Z"
    }, {
        "_id": "4e08d7f803ac120100000001",
        "account_id": "123001-S10",
        "name": "CHICK-FIL-A #000",
        "amount": -13.4,
        "posted_at": "2011-06-27T13:22:24.616Z"
    }
  ]
trabianmatt commented 13 years ago

This is now available: https://github.com/trabian/hyperlocal-api/wiki/ApiTransaction