{
  "opencollection": "1.0.0",
  "info": {
    "name": "Helpcenter CommunityUser API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "CommunityUser",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get community user details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/communityUsers/:userId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This API fetches the details of an user from the community."
        },
        {
          "info": {
            "name": "Update user status in community",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/api/v1/communityUsers/:userId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This API updates the moderation status of end-users in the user community."
        },
        {
          "info": {
            "name": "List followers of community user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/communityUsers/:userId/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"
              },
              {
                "name": "userId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This API lists followers of a user, based on the limit defined."
        },
        {
          "info": {
            "name": "Unmoderate community users",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/communityUsers/unmoderate",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This API disables moderation for end-users in the user community. "
        },
        {
          "info": {
            "name": "List moderated community users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/communityModeratedUsers",
            "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"
              }
            ]
          },
          "docs": "This API lists a particular number of moderated end-users, based on the limit defined. "
        },
        {
          "info": {
            "name": "Follow community user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/communityUsers/:userId/follow",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This API helps to follow users."
        },
        {
          "info": {
            "name": "Unfollow community user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/communityUsers/:userId/unfollow",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This API helps to unfollow users."
        }
      ]
    }
  ],
  "bundled": true
}