Follow logic is backwards
@julianlam is already working on this.
Since Jul 14, 2020.
Assessment
This issue has not been assessed yet.
Description
For rewriting when this API is merged into core...
Follow's API is of the format /api/v2/users/:uid/follow where :uid is the person to follow, and _uid (or the uid from the non-master key) is the person whose edit list we are editing.
- This does not follow the convention of assuming that
:uidis always referring to the subject. - This also does not allow for situations where an admin with a non-master token wants to edit a user's follow list (the API will always only allow them to edit their own list
The API should be: /api/v2/users/:uid/follow/:targetUid where:
_uidis the calling user (for permissions checking and so on)uidis the user whose follow list you are editingtargetUidis the user you are (un)following
- Dominant language
- JavaScript
- Stars
- 136
- Forks
- 75
- Avg merge
- 1m
- Merged PRs (30d)
- 8
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NodeBB/nodebb-plugin-write-api
-
Dependency Dashboard Open
Difficulty 4/5 3-5 days Newbie friendliness 20/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
NodeBB/nodebb-plugin-write-api#127 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
NodeBB/nodebb-plugin-write-api#118 · 4 comments ·
-
enhancement
NodeBB/nodebb-plugin-write-api#87 · 5 comments · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
All issues in NodeBB/nodebb-plugin-write-api
Similar issues
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Automattic/safe-publish#594 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
dream-num/dsh-univer-office#104 ·
-
comp/dashboard invalid P3
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
NousResearch/hermes-agent#121143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
avniproject/avni-webapp#1811 ·
-
area/auroraboot area/webui bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100