EndlessVanguard / bitcoin-remunerate-api

A scheme for trustless, decentralized, anonymous, remuneration for content creators.
1 stars 0 forks source link

RESTIFY api #20

Closed fromheten closed 8 years ago

fromheten commented 8 years ago

We should make our api adhere to REST.

Currently, our routes are GET /0/:contentId.

If we adhere to REST, it should be GET /0/content/:contentId.

When we later add the feature to add new content, that should be a POST /0/content with the data in params.

This is a breaking change, and thus we should bump the version number.