Public Underrättelse Board - Where you go to get your news
Get all posts.
response: {posts: [Post]}
Get one specific post by ID.
response: {post: Post}
If 'id' does not correspond to any post, a 404 status instead.
Create a new post and return the id of the newly created post
body:
{
title, // String
content, // String
author, // String
tags, // [String]
}
response: {id}
Deletes a post by its ID
response: 200 if found and deleted, 400 if not found for deletion
Post := {
title, // String
content, // String
author, // String
post-date, // Date
tags, // [String]
id, // String
}