HugoKlepsch / HugoKlepsch/inventoryBackend

Add api to get item history

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
api enhancement
Dominant language
Python
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

**Depends on #23**
/item//history
Return JSON array where each element is one row of the history.
```
{
'datetime': the datetime of the change,
'old_val': string old value, human readable,
'new_val': string new value, human readable,
'field': human readable name of the field that changed. "Purchase price" not "purchase_price"
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.