Favorites
Add favorite
Requires Authorization.
POST /v3/me/favorites/{profileId}Response:
Empty object ({}).
Remove favorite
Requires Authorization.
DELETE /v3/me/favorites/{profileId}Response:
Empty object ({}).
Get all notes
Requires Authorization.
GET /v1/favorites/notesResponse:
Array of FavoriteNoteWithCounterparty.
Get note
Requires Authorization.
GET /v1/favorites/notes/{targetProfileId}Response:
notes— string, empty for nonexistent notesphoneNumber— string, might be empty
Add note
Requires Authorization.
The counterpartyId parameter seems to be ignored, it's unknown what its purpose is.
PUT /v1/favorites/notes/{targetProfileId}Body:
notes— string, empty for nonexistent notesphoneNumber— string, might be empty
Response:
Empty, HTTP status 204.
Delete note
Requires Authorization.
Essentially equivalent to Add note with notes set to "".
DELETE /v1/favorites/notes/{targetProfileId}FavoriteNote
notes— string, empty for nonexistent notesphoneNumber— string, might be empty
FavoriteNoteWithCounterparty
- everything from FavoriteNote
counterpartyId— long integer, profile ID