Skip to content

Commit

Permalink
README update
Browse files Browse the repository at this point in the history
  • Loading branch information
Dromader2137 committed Apr 6, 2024
1 parent 543cfc1 commit f1836e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@
- Post: Image (max 25MB)
- Return: 200 (image-id) / 400 ("Invalid image format" / "File type error" / ) / 500 ("File read error")
- Headers: 'Content-Type: multipart/form-data'
#### /api/post/add-image-to-post
- Post: AddImageToPostRequest
- Effect: Image is added to post
- Return: 200 ("Image added to post") / 400 ("Image already added to this post") / 401 ("Wrong token" / "User not authorized") / 404 ("Image not found" / "Post not found")
- Headers: 'Content-Type: application/json' 'Content-Type: text/plain'
### Types
```
Post {
Expand Down

0 comments on commit f1836e0

Please sign in to comment.