API Specification
Contributors: Alicia Wang, Conner Swenberg
{
"error": "Your error message here"
}Expected Functionality
Get all posts
<HTTP STATUS CODE 200>
{
"posts": [
{
"id": 0,
"upvotes": 1,
"title": "My cat is the cutest!",
"link": "https://i.imgur.com/jseZqNK.jpg",
"username": "alicia98"
},
{
"id": 1,
"upvotes": 3,
"title": "Cat loaf",
"link": "https://i.imgur.com/TJ46wX4.jpg",
"username": "alicia98"
},
...
]
}Create a post
Get a specific post
Delete a specific post
Get comments for a specific post
Post a comment for a specific post
Edit a comment for a specific post
Last updated
Was this helpful?