Closed quantizer closed 12 years ago
Sorry for the slow reply!
You are quite right, we had a bug in our docs. Rather than POSTing to /tiid, do a POST to /item instead. We've updated the docs, so hopefully everything you need now is here: http://total-impact.org/api-docs#toc_3_6
Thanks for the feedback! Heather
I need to get (or create) tiid for my publication url. Before changes in API I send something like this json [["url", "URL"]] to http://total-impact-core.herokuapp.com/items and it works for post method. But now this method deprecated, so I tried to use this method POST /tiid/:namespace/:namespaceid Right now it works only with GET method for example http://api.total-impact.org/tiid/url/http://liquidfuture.blogspot.com/2011/08/background-to-liquid-future.html but isn't working with POST method.
Where I can see full list of namespaces? What correct namespace for POST url?
Right now POST method returns this (command curl -i -X POST -H "Content-Type: application/json" -d '{}' http://api.total-impact.org/tiid/url/http://liquidfuture.blogspot.com/2011/08/background-to-liquid-future.html):