Skip to content

A simple JSON API for managing documents with different revisions written in Python using the Flask framework

Notifications You must be signed in to change notification settings

ege0zcan/SimpleWikiJSON-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

SimpleWikiJSON-API

A simple JSON API for managing documents with different revisions in a wiki backend, written in Python using the Flask framework

List of Commands:

GET /documents

Returns a list of available titles.

GET /documents/<title>

Returns a list of available revisions for a document.

GET /documents/<title>/

Returns the document as it was at that timestamp.

GET /documents/<title>/latest

Returns the current latest version of the document.

POST /documents/<title>

This allows users to post a new revision of a document.

It should receive JSON in the form: {content: ‘new content...’}.

TODO:

  • add unit tests

About

A simple JSON API for managing documents with different revisions written in Python using the Flask framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages