You can use the following parameters in your make user a node follower request:
Other options: wrap
Permissions & Notes:
You must have the Follow questions, users, topics, and categories permission under Standard Roles in the Advanced Editor.
In order to use the follower parameter, you must have the Edit users and groups permission under Site Administration Roles in the Advanced Editor.
- The follower parameter specifies the user that will become a follower of the node.
- The follower parameter, will be the user's userId.
We added this request in version 1.6.3.
A PUT make a user a node follower request to make the API authenticated user (userId: 7) a follower of a node (nodeId: 806) sent to https://apidocs.cloud.answerhub.com using a human-readable Username/Password (answerhub/test123) would look like this:
curl -u answerhub:test123 -H "Accept: application/json" -H "Content-type: application/json" -X PUT "https://apidocs.cloud.answerhub.com/services/v2/node/806/follow.json?follower=7" -v
- HTTP Status 200 - OK