api icon indicating copy to clipboard operation
api copied to clipboard

Transactions endpoint to return notes field

Open aleayr opened this issue 11 months ago • 1 comments

Now that we can add notes to the transaction (via Up High currently), it would be great if we could have the notes fields returned against the transaction.

aleayr avatar Feb 26 '24 05:02 aleayr

Transactions will soon expose a "note" field with this value. e.g.

"note": { "text": "my note" }

I'm looking into exposing "attachments" as well separate to this.

markbrown4 avatar Jul 02 '24 00:07 markbrown4

Transactions return an optional "attachment" relationship. They can be queried separately as a new resource.

GET /attachments
GET /attachments/{id}

Docs will update shortly.

markbrown4 avatar Jul 04 '24 05:07 markbrown4

Awesome!

kailovel avatar Jul 04 '24 05:07 kailovel

@markbrown4 This is amazing mate. Great to see some progress on the API again.

aleayr avatar Jul 04 '24 11:07 aleayr

Hey @markbrown4, firstly noting this is great progress, would you ever consider POST / PATCH for Notes, like Categories and Tags?

Usecase: I use a spreadsheet to review my transactions daily. I add context in a "Comment" field (like what I ordered, why I bought it etc.). If this went back into the Up note field, that would be wicked

kailovel avatar Jul 11 '24 03:07 kailovel

would you ever consider POST / PATCH for Notes?

Yes, absolutely.

markbrown4 avatar Jul 11 '24 08:07 markbrown4