Rest API v1
Introduction
Python Learning helps to track posts, tags, and users metadata from new updates for web applications.
It is designed as a REST service. Please register first to get new API.
Per-Site Methods
Each of these methods operates on a single site at a time, identified by the site parameter.
Url | Description | auth required | methods |
---|---|---|---|
api/v1/login | To get a token authentication | no | POST |
api/v1/logout | To logout from token request | yes | GET |
api/v1/auth | To check API authentication | yes | GET |
api/v1/posts | To get the posts (with filter or no) | yes | GET, POST |
api/v1/posts/tagged/{slug} | To get the posts contains with specific tag | yes | GET |
api/v1/posts/author/{username} | To get the posts contains with specific author | yes | GET |
api/v1/posts/detail/{slug} | To get the detail post | yes | GET, PUT, DELETE |
api/v1/tags | To get the tags | yes | GET, POST |
api/v1/tags/detail/{slug} | To get the detail tag | yes | GET |
api/v1/users | To get the users | yes | GET |
api/v1/users/detail/{username} | To get the detail user | yes | GET, PUT |