Skip to content
prasoonk edited this page Nov 21, 2014 · 1 revision

myCMS

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.

Source documentation

You may find browse code documentation_.

REST endpoints

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

Disclaimer

Important note: myCMS is example source code and should not be used for production purposes.

Clone this wiki locally