{
  "opencollection": "1.0.0",
  "info": {
    "name": "Salesforce Experience Cloud Salesforce Connect REST API (Communities)",
    "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": "Feeds",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Salesforce Experience Cloud Get News Feed",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/communities/:communityId/chatter/feeds/news/me/feed-elements",
            "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": "sort",
                "value": "",
                "type": "query",
                "description": "Sort order of feed elements"
              }
            ]
          },
          "docs": "Returns the news feed for the context user within the specified Experience Cloud site. Includes feed items from people and records the user follows, groups the user is a member of, and site-wide posts."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Post a Feed Element",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/communities/:communityId/chatter/feeds/news/me/feed-elements",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path",
                "description": "The ID of the Experience Cloud site (community)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new feed element (post) on the news feed of the specified Experience Cloud site. Supports text posts, link posts, and content posts with mentions and hashtags."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Get a Feed Element",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/communities/:communityId/chatter/feed-elements/:feedElementId",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path",
                "description": "The ID of the Experience Cloud site (community)"
              },
              {
                "name": "feedElementId",
                "value": "",
                "type": "path",
                "description": "The ID of the feed element"
              }
            ]
          },
          "docs": "Returns a specific feed element by its ID within the specified Experience Cloud site, including the body, comments, and likes."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Delete a Feed Element",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/communities/:communityId/chatter/feed-elements/:feedElementId",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path",
                "description": "The ID of the Experience Cloud site (community)"
              },
              {
                "name": "feedElementId",
                "value": "",
                "type": "path",
                "description": "The ID of the feed element"
              }
            ]
          },
          "docs": "Deletes the specified feed element from the Experience Cloud site. Requires ownership of the feed element or moderation permissions."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Get Comments on a Feed Element",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/communities/:communityId/chatter/feed-elements/:feedElementId/capabilities/comments/items",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path",
                "description": "The ID of the Experience Cloud site (community)"
              },
              {
                "name": "feedElementId",
                "value": "",
                "type": "path",
                "description": "The ID of the feed element"
              },
              {
                "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"
              }
            ]
          },
          "docs": "Returns the comments on a specific feed element within the Experience Cloud site."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Post a Comment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/communities/:communityId/chatter/feed-elements/:feedElementId/capabilities/comments/items",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path",
                "description": "The ID of the Experience Cloud site (community)"
              },
              {
                "name": "feedElementId",
                "value": "",
                "type": "path",
                "description": "The ID of the feed element"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new comment on the specified feed element within the Experience Cloud site."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Get Likes on a Feed Element",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/communities/:communityId/chatter/feed-elements/:feedElementId/capabilities/chatter-likes/items",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path",
                "description": "The ID of the Experience Cloud site (community)"
              },
              {
                "name": "feedElementId",
                "value": "",
                "type": "path",
                "description": "The ID of the feed element"
              },
              {
                "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"
              }
            ]
          },
          "docs": "Returns the likes on a specific feed element within the Experience Cloud site."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Like a Feed Element",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/communities/:communityId/chatter/feed-elements/:feedElementId/capabilities/chatter-likes/items",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path",
                "description": "The ID of the Experience Cloud site (community)"
              },
              {
                "name": "feedElementId",
                "value": "",
                "type": "path",
                "description": "The ID of the feed element"
              }
            ]
          },
          "docs": "Adds a like to the specified feed element in the Experience Cloud site on behalf of the context user."
        }
      ]
    },
    {
      "info": {
        "name": "Topics",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Salesforce Experience Cloud List Topics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/communities/:communityId/topics",
            "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 topics by name"
              },
              {
                "name": "exactMatch",
                "value": "",
                "type": "query",
                "description": "Whether to match the search term exactly"
              }
            ]
          },
          "docs": "Returns a list of topics in the specified Experience Cloud site. Topics organize content and enable community members to find relevant discussions and knowledge."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Create a Topic",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/communities/:communityId/topics",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path",
                "description": "The ID of the Experience Cloud site (community)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new topic in the specified Experience Cloud site."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Get a Topic",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/communities/:communityId/topics/:topicId",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path",
                "description": "The ID of the Experience Cloud site (community)"
              },
              {
                "name": "topicId",
                "value": "",
                "type": "path",
                "description": "The ID of the topic"
              }
            ]
          },
          "docs": "Returns details about a specific topic in the Experience Cloud site, including name, description, and related feed items."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Update a Topic",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/communities/:communityId/topics/:topicId",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path",
                "description": "The ID of the Experience Cloud site (community)"
              },
              {
                "name": "topicId",
                "value": "",
                "type": "path",
                "description": "The ID of the topic"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the name or description of an existing topic in the Experience Cloud site."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Delete a Topic",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/communities/:communityId/topics/:topicId",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path",
                "description": "The ID of the Experience Cloud site (community)"
              },
              {
                "name": "topicId",
                "value": "",
                "type": "path",
                "description": "The ID of the topic"
              }
            ]
          },
          "docs": "Deletes the specified topic from the Experience Cloud site. Requires appropriate moderation permissions."
        }
      ]
    },
    {
      "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/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/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/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."
        }
      ]
    },
    {
      "info": {
        "name": "Knowledge",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Salesforce Experience Cloud Get Knowledge Articles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/communities/:communityId/managed-content/delivery",
            "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": "language",
                "value": "",
                "type": "query",
                "description": "Language code to filter articles"
              },
              {
                "name": "managedContentType",
                "value": "",
                "type": "query",
                "description": "Content type to filter by"
              }
            ]
          },
          "docs": "Returns knowledge articles published to the specified Experience Cloud site. Supports filtering by category and language."
        }
      ]
    },
    {
      "info": {
        "name": "Moderation",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Salesforce Experience Cloud Get Flagged Elements",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/communities/:communityId/moderation/flagged-elements",
            "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": "visibility",
                "value": "",
                "type": "query",
                "description": "Filter by flagged element visibility"
              }
            ]
          },
          "docs": "Returns content that has been flagged for moderation within the Experience Cloud site. Requires moderation permissions."
        }
      ]
    }
  ],
  "bundled": true
}