-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Sh Lin edited this page May 17, 2017
·
8 revisions
Welcome to the PixNyanNyan-api wiki!
RECAPTCHA_SITE_KEY={PUBLIC SITE KEY}
RECAPTCHA_SECRET_KEY={SECRET RECAPTCHA KEY}
SECRET_KEY_BASE={SECRET RAILS KEY}
JWT_SECRET={JWT KEY}
MAX_IMAGE_KB_SIZE=5120
MAX_POST_MESSAGE_WORDCOUNT=300
ALLOWED_ORIGIN=http://localhost:4200|http://example.com|http://example2.com
#BYPASS_RECAPTCHA=1
The following shows detail API usage and descriptions, however, they're subject to change in the future.
- Broadcasting changes made to posts
- Retrieve backend configurations.
- Display posts in nested structure
- Submit post
- Delete posts
- Search posts
- Login using credentials
- Renew JWT auth token
- CRUD admins (require superadmin privilege)
- User filing complaint against unwanted/inappropriate contents.
- Admins reviewing complaints
- TBA