An open API service indexing awesome lists of open source software.

https://github.com/husein14azimi/coursell


https://github.com/husein14azimi/coursell

django django-comments-xtd django-rest-framework djoser simple-jwt

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

### comment api endpoints (drf-comments python package)

List Comments: `GET /comments/`

Create Comment: `POST /comments/`

Retrieve Comment: `GET /comments//`

Update Comment: `PUT /comments//`

Delete Comment: `DELETE /comments//`

### how to create and get comments:

* creation:
* send a post request to `comments/` url.
* write the json object in the request body.
* list:
* send a get request to `/comments/?content_type=&object_pk=`