API
API Endpoint
https://doper.io
API Authentication
header: "Authorization: token {access token}"
API List
Authenticated user profile
GET /api/user
User Profile
GET /api/users/{username}
User statuses
GET /api/users/{username}/statuses
GET /api/users/{username}/statuses?p={page number}&c={count}
User news
GET /api/users/{username}/news
GET /api/users/{username}/news?p={page number}&c={count}
User stories
GET /api/users/{username}/stories
GET /api/users/{username}/stories?p={page number}&c={count}
News List
GET /api/news
GET /api/news?p={page number}&c={count}
News Detail
GET /api/news/{id}
Post news
POST /api/news
Parameter title string (required) url string (required) text string
Post news comment
POST /api/news/{id}/comment
Parameter text string (required)
Statuses
GET /api/statuses
GET /api/statuses?p={page number}&c={count}
Status
GET /api/statuses/{id}
Post status
POST /api/statuses
Parameter text string (required)
Post status comment
POST /api/statuses/{id}/comment
Parameter text string (required)
Stories
GET /api/stories
GET /api/stories?p={page number}&c={count}
Story
GET /api/stories/{id}
Post story
POST /api/stories
Parameter title string (required) text string (required)
Post story comment
POST /api/stories/{id}/comment
Parameter text string (required)