Sometimes, you want to use javascript to load your assets - and we've got you covered.


We have a few endpoints:

/api/v1

GET REQUESTS


/POSTS

/ - to load your posts, pass the same parameters you would in the liquid tags.
/ - to load a specific post


/USERS

/ - to load your user, pass the same parameters you would in the liquid tags.
/ - to load a specific user

/COMMENTS

/comments/ - to load the comments of a post where the parent_id is the id of the post.


POST REQUESTS


/COMMENTS
/ - creates a comment, requires the parent_id, which is the post_id and the body of the comment
/like - likes a comment, requires only the id of the comment
/delete - deletes a comment, requires only the id of the comment