423 B
423 B
Api specification
Review
Review model
{
id: number,
location: string,
title: string,
content: string,
stars: number
}
GET reviews
Response
{
Review[]
}
Post createReview
Request
{
location: string,
title: string,
content: string,
stars: number
}
Response
{
message: "Ok" | "Invalid request"
}