forked from mattbates/mycms_mongodb
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
prasoonk edited this page Nov 21, 2014
·
1 revision
myCMS is an example RESTful API for content management (ie blog articles, surveys, photo galleries) built on Python Flask and MongoDB. It can be used to get started and play, and may even be the basis for your own project development.
You may find browse code documentation_.
Method | URI | Action |
---|---|---|
GET | /articles | Retrieve all articles |
GET | /articles-by-tag/[tag] | Retrieve all articles by tag |
GET | /articles/[article_id] | Retrieve a specific article by id |
POST | /articles | Add a new article |
GET | /articles/[article_id]/comments | Retrieve all article comments by id |
POST | /articles/[article_id]/comments | Add a new comment to an article. |
POST | /users | Register a user |
GET | /users/[username] | Retrieve user’s profile |
PUT | /users/[username] | Update a user’s profile |
Important note: myCMS is example source code and should not be used for production purposes.