Add archive endpoints

This commit is contained in:
Sascha Ißbrücker
2021-02-16 04:24:22 +01:00
parent 0980e6a2b2
commit 79dd4179d2
2 changed files with 30 additions and 1 deletions

18
API.md
View File

@@ -59,7 +59,7 @@ Example response:
}
```
**Archived**
**List Archived**
```
GET /api/bookmarks/archived/
@@ -121,6 +121,22 @@ Example payload:
}
```
**Archive**
```
POST /api/bookmarks/<id>/archive/
```
Archives a bookmark.
**Unarchive**
```
POST /api/bookmarks/<id>/unarchive/
```
Unarchives a bookmark.
**Delete**
```