{
  "opencollection": "1.0.0",
  "info": {
    "name": "Salesforce Experience Cloud Salesforce CMS Connect Actions Members API",
    "version": "59.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://login.salesforce.com/services/oauth2/authorize",
      "accessTokenUrl": "https://login.salesforce.com/services/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Members",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Salesforce Experience Cloud Get Current User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/cms/communities/:communityId/chatter/users/me",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path",
                "description": "The ID of the Experience Cloud site (community)"
              }
            ]
          },
          "docs": "Returns information about the context user in the specified Experience Cloud site, including profile details, reputation, and community membership information."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud List Community Members",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/cms/communities/:communityId/chatter/users",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path",
                "description": "The ID of the Experience Cloud site (community)"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Number of items to return per page (default 25, max 100)"
              },
              {
                "name": "pageToken",
                "value": "",
                "type": "query",
                "description": "Token for retrieving the next page of results"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "Search term to filter members by name"
              }
            ]
          },
          "docs": "Returns a list of users in the specified Experience Cloud site. Supports pagination and filtering."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Get User Reputation",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/cms/communities/:communityId/chatter/users/:userId/reputation",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path",
                "description": "The ID of the Experience Cloud site (community)"
              },
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "The ID of the user"
              }
            ]
          },
          "docs": "Returns the reputation score and level for a specific user within the Experience Cloud site."
        }
      ]
    }
  ],
  "bundled": true
}