Commit graph

7 commits

Author SHA1 Message Date
lalka2018
71c59023cf
Improve API (#975)
* Add API for notifications

* Add editing methods

* Add apis for likes and polls

* Add attaching polls

* can_edit

* Fix getting voters in anonymous posts and use c...

...anBeEditedBy instead of checking user's id
2023-11-14 22:44:39 +03:00
NoPlagiarism
12c41dcdd6
[API] Fix null user in Likes.isLiked + requireUser in some funcs + return 1 in Polls (#801)
* Fix returning 200 response for non-existing user

* requireUser in getCounters and createComment

* return 1, where it should in Polls API
2023-05-30 11:41:03 +03:00
celestora
0f2a88aa68 Add rate limits for API too 2023-02-08 13:20:50 +02:00
Maxim Leshchenko
771595ef9c
VKAPI: Make code match the code style 2022-07-21 20:13:09 +01:00
veselcraft
0b63c25d9e
VKAPI: Rename Likes.remove to Likes.delete
The reason is simple - compatibility. That's why we're making VK compatible API :DDD
2022-07-21 00:45:40 +03:00
Maxim Leshchenko
fe2010560a
Global: Make code more consistent with code style 2022-05-08 12:11:18 +02:00
veselcraft
f7a2da2cbf
VKAPI: Add Likes.add, Likes.remove and Likes.isLiked methods 2022-03-29 14:04:11 +03:00