Note: all non-GET methods require X-CSRF-Token
API endpoints used for OAuth-ing Mastodon and Twitter.
- instance: string - Instance URL
OAuth callback endpoint
API endpoints relating to accounts
Get the object of user currently logged in with. Login required.
- returns user object
Get your followers who is registered in Quesdon. Login required.
-
max_id: string - Max follower ID (twitter is not supported)
-
returns
{ accounts: 'followersObject', max_id: 'new max id' }
Update Quesdon profile. Login rquired.
- description: string
- questionBoxName: string
- allAnon: boolean
- stopNewQuestion: boolean
Get object of specified user :id
.
- returns user object
Redirects to pushbullet authorization screen. Login required.
Pushbullet callback endpoint. Login required.
Disconnect pushbullet and delete pushbullet token. Login required.
Get object of the specified user :acct
.
- returns user object
Ask a question to user :acct
- question: string
Get answered questions of :acct
- returns array of questions
Same as GET /api/web/accounts/:acct/questions
API endpoints relating to questions
Get unanswered questions of current user. Login required.
- returns array of questions
Get number of remaining unanswered questions. Login required.
- returns number of remaining questions
Get 20 most recent answered questions
- returns array of questions
Answer question :id
Login required.
- answer: string - answer to the question
- isNSFW: boolean - true if NSFW
- visibility: string - visibility of the answer (public, unlisted, or private)
Delete question :id
Login required.
Like question :id
Login required.
Unlike question :id
Login required.
Get question :id
- returns question object
Delete all questions. Login required.
Delete current session.