-
Notifications
You must be signed in to change notification settings - Fork 6
Routes
Charmander edited this page Mar 23, 2014
·
2 revisions
route | description |
---|---|
/ |
Home page |
/login |
Log in |
/logout |
Log out |
/register |
Registration |
/staff |
Staff list |
/terms |
Terms of service |
/aup |
Acceptable use policy |
/submission-agreement |
Submission agreement |
route | description | read | write |
---|---|---|---|
/submissions/ |
All submissions | everyone | users |
/submissions/artwork/ |
All visual art | everyone | n/a |
/submissions/writing/ |
All written work | everyone | n/a |
/submissions/music/ |
All multimedia work | everyone | n/a |
/user/:username/ |
User profile | everyone, users, or owner and administration | owner and administration |
/user/:username/commissions/ |
Commission info | everyone, users, or owner and administration | owner and administration* |
/user/:username/submissions/ |
User submissions | everyone, users, or owner and administration | owner and administration* |
/user/:username/journals/ |
User journals | everyone, users, or owner and administration | owner and administration* |
/user/:username/favorites/ |
User favorites | everyone, users, or owner and administration | owner |
/notes/ |
User notes | owner and administration** | owner |
/tickets/ |
Support tickets | owner and administration | owner |
Content routes generally include:
-
/
to list all content -
/:id/:slug
to view one item -
/:id/:slug/edit
for an editing form -
/:id/:slug/history
for history -
/search
to search -
/edit
for an editing form -
POST /
to create new content -
PUT /:id/:slug
to edit an item -
DELETE /:id/:slug
to delete an item
Submissions and journals also have /favorites
routes, accessible in read-only by their owners, to list users who have favourited them; user pages have a similar /watchers
route.
* delete-only privileges
** only when given explicit permission by the owner
route | description |
---|---|
/settings/ |
Site settings |
/settings/sessions |
Session history |
/settings/activity |
Activity log |