Basic API help
I have read the API docs for version 3 READ and WRITE. I get the read part, and was able to get the data I want.
But regarding WRITE, I just don't get where should I use a code like the REST example:
$ URL="https://api.zotero.org/users/1234567/items"
$ API_KEY="P9NiFoyLeZu2bZNvvuQPDWsd"
$ curl -H "Zotero-API-Key: $API_KEY" $URL > items.json
$ vi items.json # edit the item data
$ curl -H "Zotero-API-Key: $API_KEY" -d @items.json -v $URL
How to feed it back to https://api.zotero.org/ ?
But regarding WRITE, I just don't get where should I use a code like the REST example:
$ URL="https://api.zotero.org/users/1234567/items"
$ API_KEY="P9NiFoyLeZu2bZNvvuQPDWsd"
$ curl -H "Zotero-API-Key: $API_KEY" $URL > items.json
$ vi items.json # edit the item data
$ curl -H "Zotero-API-Key: $API_KEY" -d @items.json -v $URL
How to feed it back to https://api.zotero.org/ ?
https://www.zotero.org/support/dev/web_api/v3/write_requests#rest_approach
But that assumes a basic understanding of shell commands and curl.
I was surprised that these things can't be done by 3rd party client Zoo for Zotero (and Zandy, it seems, from looking at screenshots), so I wanted to try the API.