Create a new bookmark
post
/api/bookmarkCreate a bookmark for the logged-in user.
Request
Security:
Bearer AuthBody application/json
collection_idnumber
required
ID of the collection.
namestring
required
Name of the bookmark.
urlstring
required
Url of the bookmark.
descriptionstring
Description of the bookmark.
iconstring
Icon of the bookmark.
tagsstring[]
Tags of the bookmark.
Response
Schema:
application/jsonBody application/json
json
// SUCCESS
{
"code": "0",
"message": "Ok"
}// SUCCESS
{
"code": "0",
"message": "Ok"
}json
// BOOKMARK_ALREADY_EXISTS
{
"code": "202",
"message": "Bookmark already exists"
}// BOOKMARK_ALREADY_EXISTS
{
"code": "202",
"message": "Bookmark already exists"
}json
// BOOKMARK_CREATE_FAILED
{
"code": "203",
"message": "Bookmark create failed"
}// BOOKMARK_CREATE_FAILED
{
"code": "203",
"message": "Bookmark create failed"
}