You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`<name>` (_required_) - A unique name for this connector.
2
2
-`<url>` (_required_) - The URL to the target Confluence Cloud instance.
3
-
-`<user-email>` (_required_) - The email address of the user who has access to the instance.
4
-
-`<api-token>` (_required_) - The Confluence API token that provides access to the instance.
5
3
-`<max-num-of-spaces>` - The maximum number of Confluence spaces to access within the Confluence Cloud instance. The default is `500` unless otherwise specified.
6
4
-`<max-num-of-docs-from-each-space>` - The maximum number of documents to access within each space. The default is `150` unless otherwise specified.
7
-
-`spaces` is an array of strings, with each `<space-name>` specifying the name of a space to access, for example: `["luke","paul"]`. By default, if no space names are specified, and the `<max-num-of-spaces>` is exceeded for the instance, be aware that you might get unexpected results.
5
+
-`spaces` is an array of strings, with each `<space-name>` specifying the name of a space to access, for example: `["luke","paul"]`. By default, if no space names are specified, and the `<max-num-of-spaces>` is exceeded for the instance, be aware that you might get unexpected results.
6
+
7
+
For API token authentication:
8
+
9
+
-`<username>` - The name or email address of the target user.
10
+
-`<api-token>` - The user's API token value.
11
+
- For `cloud`, `true` if you are using Confluence Cloud. The default is `false` if not otherwise specified.
12
+
13
+
For personal access token (PAT) authentication:
14
+
15
+
-`<personal-access-token>` - The target user's PAT value.
16
+
-`cloud` should always be `false`.
17
+
18
+
For password authentication:
19
+
20
+
-`<username>` - The name or email address of the target user.
21
+
-`<password>` - The user's password.
22
+
- For `cloud`, `true` if you are using Confluence Cloud. The default is `false` if not otherwise specified.
Copy file name to clipboardExpand all lines: snippets/general-shared-text/confluence-cli-api.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,16 +10,16 @@ import AdditionalIngestDependencies from '/snippets/general-shared-text/ingest-d
10
10
11
11
The following environment variables:
12
12
13
-
-`CONFLUENCE_URL` - The URL of the Confluence instance, represented by `--url` (CLI) or `url` (Python).
13
+
-`CONFLUENCE_URL` - The target Confluence site's URL, represented by `--url` (CLI) or `url` (Python).
14
14
- One of the following:
15
15
16
-
-`CONFLUENCE_API_TOKEN` - The value of the Confluence API token for authenticating with the Confluence instance, represented by `--api-token` (CLI) or `api_token` (Python).
17
-
-`CONFLUENCE_ACCESS_TOKEN` - The value of the Confluence personal access token for authenticating with the Confluence instance, represented by `--access-token` (CLI) or `access_token` (Python).
18
-
19
-
-`CONFLUENCE_USER_EMAIL` - The user's email address for authenticating with the Confluence instance, represented by `--user-email` (CLI) or `user_email` (Python).
16
+
- For API token authentication: `CONFLUENCE_USERNAME` and `CONFLUENCE_TOKEN` - The name or email address,and API token of the target Confluence user, represented by `--username` (CLI) or `username` (Python) and `--token` (CLI) or `token` (Python), respectively.
17
+
- For personal access token (PAT) authentication: `CONFLUENCE_TOKEN` - The PAT for the target Confluence user, represented by `--token` (CLI) or `token` (Python).
18
+
- For password authentication: `CONFLUENCE_USERNAME` and `CONFLUENCE_PASSWORD` - The name or email address, and password of the target Confluence user, represented by `--username` (CLI) or `username` (Python) and `--password` (CLI) or `password` (Python), respectively.
20
19
21
20
Additional settings include:
22
21
23
22
-`--spaces` (CLI) or `spaces` (Python): Optionally, the list of the names of the specific spaces to access, expressed as a comma-separated list of strings (CLI) or an array of strings (Python), with each string representing a space's name. The default is no specific spaces, if not otherwise specified.
24
23
-`--max-num-of-spaces` (CLI) or `max_num_of_spaces` (Python): Optionally, the maximum number of spaces to access, expressed as an integer. The default value is `500` if not otherwise specified.
25
24
-`--max-num-of-docs-from-each-space` (CLI) or `max_num_of_docs_from_each_space` (Python): Optionally, the maximum number of documents to access from each space, expressed as an integer. The default value is `100` if not otherwise specified.
25
+
-`--cloud` or `--no-cloud` (CLI) or `cloud` (Python): Optionally, whether to use Confluence Cloud (`--cloud` for CLI or `cloud=True` for Python). The default is `--no-cloud` (CLI) or `cloud=False` (Python) if not otherwise specified.
-**Name** (_required_): A unique name for this connector.
4
-
-**URL** (_required_): The URL to the target Confluence Cloud instance.
5
-
-**User Email** (_required_): The email address of the user who has access to the instance.
6
-
-**API Token** (_required_): The Confluence API token that provides access to the instance.
7
-
-**Max Number of Spaces**: The maximum number of Confluence spaces to access within the Confluence Cloud instance.
4
+
-**URL** (_required_): The target Confluence site's URL.
5
+
-For personal access token (PAT) authentication: for **Authentication Method**, select **Personal Access Token**. Then enter the PAT into the **Personal Access Token** field.
6
+
-For API token or password authentication: for **Authentication Method**, select **Password or API token**. Then enter the user's name or email address into the **Username** field and the API token or password into the **Password** field. Also, if you are using Confluence Cloud, check the **Cloud** box.
7
+
-**Max number of spaces**: The maximum number of Confluence spaces to access within the Confluence Cloud instance.
8
8
The default is 500 unless otherwise specified.
9
-
-**Max Number of Docs Per Space**: The maximum number of documents to access within each space.
9
+
-**Max number of docs per space**: The maximum number of documents to access within each space.
10
10
The default is 150 unless otherwise specified.
11
-
-**List of Spaces**: A comma-separated string that lists the names of all of the spaces to access, for example: `luke,paul`.
11
+
-**List of spaces**: A comma-separated string that lists the names of all of the spaces to access, for example: `luke,paul`.
12
12
By default, if no space names are specified, and the **Max Number of Spaces** is reached for the instance, be aware that you might get
- A [Confluence Cloud account](https://www.atlassian.com/software/confluence/pricing) or
2
+
[Confluence Data Center installation](https://confluence.atlassian.com/doc/installing-confluence-data-center-203603.html).
3
+
- The site URL for your [Confluence Cloud account](https://community.atlassian.com/t5/Confluence-questions/confluence-cloud-url/qaq-p/1157148) or
4
+
[Confluence Data Center installation](https://confluence.atlassian.com/confkb/how-to-find-your-site-url-to-set-up-the-confluence-data-center-and-server-mobile-app-938025792.html).
5
+
- A user in your [Confluence Cloud account](https://confluence.atlassian.com/cloud/invite-edit-and-remove-users-744721624.html) or
6
+
[Confluence Data Center installation](https://confluence.atlassian.com/doc/add-and-invite-users-138313.html).
7
+
- The user must have the correct permissions in your
8
+
[Conflunce Cloud account](https://support.atlassian.com/confluence-cloud/docs/what-are-confluence-cloud-permissions-and-restrictions/) or
9
+
[Confluence Data Center installation](https://confluence.atlassian.com/doc/permissions-and-restrictions-139557.html) to
10
+
access the target spaces and pages.
11
+
- One of the following:
12
+
13
+
- For Confluence Cloud or Confluence Data Center, the target user's name or email address, and password.
14
+
[Change a Confluence Cloud user's password](https://support.atlassian.com/confluence-cloud/docs/change-your-confluence-password/).
15
+
[Change a Confluence Data Center user's password](https://confluence.atlassian.com/doc/change-your-password-139416.html).
16
+
- For Confluence Cloud only, the target user's name or email address, and API token.
17
+
[Create an API token](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/).
18
+
- For Confluence Data Center only, the target user's personal access token (PAT).
19
+
[Create a PAT](https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html).
20
+
21
+
- Optionally, the names of the specific [spaces](https://support.atlassian.com/confluence-cloud/docs/navigate-spaces/) in the Confluence instance to access.
22
+
23
+
The following video provides related setup information for Confluence Cloud:
- A [Confluence account](https://www.atlassian.com/software/confluence).
12
-
- The URL for the target Confluence instance.
13
-
- A [Confluence user](https://confluence.atlassian.com/doc/add-and-invite-users-138313.html) with
14
-
the correct [permissions](https://support.atlassian.com/confluence-cloud/docs/what-are-confluence-cloud-permissions-and-restrictions/) to
15
-
access the target spaces and pages in the Confluence instance.
16
-
- One of the following:
17
-
18
-
- A [Confluence Cloud API token](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/) for the target Confluence user.
19
-
- For Unstructured Ingest only, a [Confluence personal access token](https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html) for the target Confluence user.
20
-
21
-
- Optionally, the names of the specific [spaces](https://support.atlassian.com/confluence-cloud/docs/navigate-spaces/) in the Confluence instance to access.
0 commit comments