{ "opencollection": "1.0.0", "info": { "name": "Helpcenter Followers API", "version": "1.0.0" }, "items": [ { "info": { "name": "Followers", "type": "folder" }, "items": [ { "info": { "name": "Get Entity followers count", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/:moduleAPIName/:entityId/followersCount", "params": [ { "name": "userType", "value": "", "type": "query", "description": "To get the followers count based on userType allowed values !@ AGENTS@!, !@ END_USERS@!, default value : all users will be processed" }, { "name": "moduleAPIName", "value": "", "type": "path" }, { "name": "entityId", "value": "", "type": "path" } ] }, "docs": "This API fetches the count of follower list based on given filter" }, { "info": { "name": "Get Entity followers details", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/:moduleAPIName/:entityId/followers", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Number of followers to list" }, { "name": "from", "value": "", "type": "query", "description": "Index number, starting from which the followers must be listed. Default value is 1." }, { "name": "userType", "value": "", "type": "query", "description": "To get the followers count based on userType allowed values !@ AGENTS@!, !@ END_USERS@!, default value : all users will be processed" }, { "name": "moduleAPIName", "value": "", "type": "path" }, { "name": "entityId", "value": "", "type": "path" } ] }, "docs": "This API fetches the list of follower details based on the given filter" }, { "info": { "name": "UnFollow the entity", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v1/:moduleAPIName/:entityId/unfollow", "params": [ { "name": "moduleAPIName", "value": "", "type": "path" }, { "name": "entityId", "value": "", "type": "path" } ] }, "docs": "This API unfollows the requested entity by the requested user" }, { "info": { "name": "Follow the Entity", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v1/:moduleAPIName/:entityId/follow", "params": [ { "name": "moduleAPIName", "value": "", "type": "path" }, { "name": "entityId", "value": "", "type": "path" } ] }, "docs": "This API follows the requested entity by the requested user" } ] } ], "bundled": true }