{
  "opencollection": "1.0.0",
  "info": {
    "name": "Salesforce Experience Cloud Salesforce CMS Connect Actions Topics 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": "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/cms/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/cms/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/cms/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/cms/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/cms/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."
        }
      ]
    }
  ],
  "bundled": true
}