If you are using the P/Q/whatever markers in the id, then you should not differentiate on items and properties in the root.
The path /items/{item_id}/data/{property_label} should use the property id and not the property label. The later is not stable.On Mon, Nov 30, 2015 at 2:55 PM, Jeroen De Dauw <jeroendedauw@gmail.com> wrote:_______________________________________________Hey all,I've created a very rough REST API for Wikidata and am looking for your feedback.At present this is purely a demo. The data it serves is stale and potentially incomplete, the endpoints and formats they use are very much liable to change, the server setup is not reliable and I'm not 100% sure I'll continue with this little project.The main thing I'm going for with this API compared to the existing one is greater ease of use for common use cases. Several factors make this a lot easier to do in a new API than in the existing one: no need the serve all use cases, no need to retain compatibility with existing users and no framework imposed restrictions. You can read more about the difference on the website.You are invited to comment on the concept and on the open questions mentioned on the website.
CheersSoftware craftsmanship advocate
~=[,,_,,]:3
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata
_______________________________________________
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata