Skip to content

Commit 5f284c1

Browse files
Merge pull request #3135 from airbytehq/publish/confluence-v0.1.13
chore(confluence): bump to 0.1.13
2 parents 1564005 + 46be761 commit 5f284c1

File tree

11 files changed

+117
-83
lines changed

11 files changed

+117
-83
lines changed

connectors/confluence/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Confluence changelog
22

3+
## [0.1.13] - 2026-04-09
4+
- Updated connector definition (YAML version 1.0.0)
5+
- Source commit: 3cecc817
6+
- SDK version: 0.1.0
7+
38
## [0.1.12] - 2026-04-08
49
- Updated connector definition (YAML version 1.0.0)
510
- Source commit: eeaf9a60

connectors/confluence/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ This connector supports the following entities and actions. For more details, se
9696

9797
| Entity | Actions |
9898
|--------|---------|
99-
| Spaces | [List](./REFERENCE.md#spaces-list), [Get](./REFERENCE.md#spaces-get), [Search](./REFERENCE.md#spaces-search) |
100-
| Pages | [List](./REFERENCE.md#pages-list), [Get](./REFERENCE.md#pages-get), [Search](./REFERENCE.md#pages-search) |
101-
| Blog Posts | [List](./REFERENCE.md#blog-posts-list), [Get](./REFERENCE.md#blog-posts-get), [Search](./REFERENCE.md#blog-posts-search) |
102-
| Groups | [List](./REFERENCE.md#groups-list), [Search](./REFERENCE.md#groups-search) |
103-
| Audit | [List](./REFERENCE.md#audit-list), [Search](./REFERENCE.md#audit-search) |
99+
| Spaces | [List](./REFERENCE.md#spaces-list), [Get](./REFERENCE.md#spaces-get), [Context Store Search](./REFERENCE.md#spaces-context-store-search) |
100+
| Pages | [List](./REFERENCE.md#pages-list), [Get](./REFERENCE.md#pages-get), [Context Store Search](./REFERENCE.md#pages-context-store-search) |
101+
| Blog Posts | [List](./REFERENCE.md#blog-posts-list), [Get](./REFERENCE.md#blog-posts-get), [Context Store Search](./REFERENCE.md#blog-posts-context-store-search) |
102+
| Groups | [List](./REFERENCE.md#groups-list), [Context Store Search](./REFERENCE.md#groups-context-store-search) |
103+
| Audit | [List](./REFERENCE.md#audit-list), [Context Store Search](./REFERENCE.md#audit-context-store-search) |
104104

105105

106106
### Authentication
@@ -113,7 +113,7 @@ See the official [Confluence API reference](https://developer.atlassian.com/clou
113113

114114
## Version information
115115

116-
- **Package version:** 0.1.12
116+
- **Package version:** 0.1.13
117117
- **Connector version:** 1.0.0
118-
- **Generated with Connector SDK commit SHA:** eeaf9a603e6c650b89bac7339c63f31ef77f5bcf
118+
- **Generated with Connector SDK commit SHA:** 3cecc817f060335c13c5d88bc9ad34a4dace961f
119119
- **Changelog:** [View changelog](https://github.com/airbytehq/airbyte-agent-connectors/blob/main/connectors/confluence/CHANGELOG.md)

connectors/confluence/REFERENCE.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ The Confluence connector supports the following entities and actions.
88

99
| Entity | Actions |
1010
|--------|---------|
11-
| Spaces | [List](#spaces-list), [Get](#spaces-get), [Search](#spaces-search) |
12-
| Pages | [List](#pages-list), [Get](#pages-get), [Search](#pages-search) |
13-
| Blog Posts | [List](#blog-posts-list), [Get](#blog-posts-get), [Search](#blog-posts-search) |
14-
| Groups | [List](#groups-list), [Search](#groups-search) |
15-
| Audit | [List](#audit-list), [Search](#audit-search) |
11+
| Spaces | [List](#spaces-list), [Get](#spaces-get), [Context Store Search](#spaces-context-store-search) |
12+
| Pages | [List](#pages-list), [Get](#pages-get), [Context Store Search](#pages-context-store-search) |
13+
| Blog Posts | [List](#blog-posts-list), [Get](#blog-posts-get), [Context Store Search](#blog-posts-context-store-search) |
14+
| Groups | [List](#groups-list), [Context Store Search](#groups-context-store-search) |
15+
| Audit | [List](#audit-list), [Context Store Search](#audit-context-store-search) |
1616

1717
## Spaces
1818

@@ -141,14 +141,14 @@ curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_con
141141

142142
</details>
143143

144-
### Spaces Search
144+
### Spaces Context Store Search
145145

146146
Search and filter spaces records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
147147

148148
#### Python SDK
149149

150150
```python
151-
await confluence.spaces.search(
151+
await confluence.spaces.context_store_search(
152152
query={"filter": {"eq": {"_links": {}}}}
153153
)
154154
```
@@ -161,7 +161,7 @@ curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_con
161161
--header 'Authorization: Bearer {your_auth_token}' \
162162
--data '{
163163
"entity": "spaces",
164-
"action": "search",
164+
"action": "context_store_search",
165165
"params": {
166166
"query": {"filter": {"eq": {"_links": {}}}}
167167
}
@@ -350,14 +350,14 @@ curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_con
350350

351351
</details>
352352

353-
### Pages Search
353+
### Pages Context Store Search
354354

355355
Search and filter pages records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
356356

357357
#### Python SDK
358358

359359
```python
360-
await confluence.pages.search(
360+
await confluence.pages.context_store_search(
361361
query={"filter": {"eq": {"_links": {}}}}
362362
)
363363
```
@@ -370,7 +370,7 @@ curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_con
370370
--header 'Authorization: Bearer {your_auth_token}' \
371371
--data '{
372372
"entity": "pages",
373-
"action": "search",
373+
"action": "context_store_search",
374374
"params": {
375375
"query": {"filter": {"eq": {"_links": {}}}}
376376
}
@@ -555,14 +555,14 @@ curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_con
555555

556556
</details>
557557

558-
### Blog Posts Search
558+
### Blog Posts Context Store Search
559559

560560
Search and filter blog posts records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
561561

562562
#### Python SDK
563563

564564
```python
565-
await confluence.blog_posts.search(
565+
await confluence.blog_posts.context_store_search(
566566
query={"filter": {"eq": {"_links": {}}}}
567567
)
568568
```
@@ -575,7 +575,7 @@ curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_con
575575
--header 'Authorization: Bearer {your_auth_token}' \
576576
--data '{
577577
"entity": "blog_posts",
578-
"action": "search",
578+
"action": "context_store_search",
579579
"params": {
580580
"query": {"filter": {"eq": {"_links": {}}}}
581581
}
@@ -688,14 +688,14 @@ curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_con
688688

689689
</details>
690690

691-
### Groups Search
691+
### Groups Context Store Search
692692

693693
Search and filter groups records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
694694

695695
#### Python SDK
696696

697697
```python
698-
await confluence.groups.search(
698+
await confluence.groups.context_store_search(
699699
query={"filter": {"eq": {"_links": {}}}}
700700
)
701701
```
@@ -708,7 +708,7 @@ curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_con
708708
--header 'Authorization: Bearer {your_auth_token}' \
709709
--data '{
710710
"entity": "groups",
711-
"action": "search",
711+
"action": "context_store_search",
712712
"params": {
713713
"query": {"filter": {"eq": {"_links": {}}}}
714714
}
@@ -818,14 +818,14 @@ curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_con
818818

819819
</details>
820820

821-
### Audit Search
821+
### Audit Context Store Search
822822

823823
Search and filter audit records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
824824

825825
#### Python SDK
826826

827827
```python
828-
await confluence.audit.search(
828+
await confluence.audit.context_store_search(
829829
query={"filter": {"eq": {"affectedObject": {}}}}
830830
)
831831
```
@@ -838,7 +838,7 @@ curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_con
838838
--header 'Authorization: Bearer {your_auth_token}' \
839839
--data '{
840840
"entity": "audit",
841-
"action": "search",
841+
"action": "context_store_search",
842842
"params": {
843843
"query": {"filter": {"eq": {"affectedObject": {}}}}
844844
}

connectors/confluence/airbyte_agent_confluence/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
Space,
1212
SpacesListLinks,
1313
SpacesList,
14-
PageLinks,
15-
PageBody,
1614
PageVersion,
15+
PageBody,
16+
PageLinks,
1717
Page,
1818
PagesListLinks,
1919
PagesList,
@@ -28,8 +28,8 @@
2828
GroupsListLinks,
2929
GroupsList,
3030
AuditRecordAssociatedobjectsItem,
31-
AuditRecordAffectedobject,
3231
AuditRecordAuthor,
32+
AuditRecordAffectedobject,
3333
AuditRecord,
3434
AuditRecordsListLinks,
3535
AuditRecordsList,
@@ -96,9 +96,9 @@
9696
"Space",
9797
"SpacesListLinks",
9898
"SpacesList",
99-
"PageLinks",
100-
"PageBody",
10199
"PageVersion",
100+
"PageBody",
101+
"PageLinks",
102102
"Page",
103103
"PagesListLinks",
104104
"PagesList",
@@ -113,8 +113,8 @@
113113
"GroupsListLinks",
114114
"GroupsList",
115115
"AuditRecordAssociatedobjectsItem",
116-
"AuditRecordAffectedobject",
117116
"AuditRecordAuthor",
117+
"AuditRecordAffectedobject",
118118
"AuditRecord",
119119
"AuditRecordsListLinks",
120120
"AuditRecordsList",

connectors/confluence/airbyte_agent_confluence/_vendored/connector_sdk/introspection.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,18 @@ def _format_search_param_signature() -> str:
197197
return f"({', '.join(params)})"
198198

199199

200+
def get_cached_search_questions(example_questions: Any) -> list[str]:
201+
context_store_search_questions = getattr(example_questions, "context_store_search", None)
202+
if isinstance(context_store_search_questions, list):
203+
return context_store_search_questions
204+
205+
legacy_search_questions = getattr(example_questions, "search", None)
206+
if isinstance(legacy_search_questions, list):
207+
return legacy_search_questions
208+
209+
return []
210+
211+
200212
class EndpointProtocol(Protocol):
201213
"""Protocol defining the expected interface for endpoint parameters.
202214
@@ -497,10 +509,9 @@ def generate_tool_description(
497509
example_questions = getattr(info, "x_airbyte_example_questions", None)
498510
if example_questions:
499511
direct_questions = getattr(example_questions, "direct", None)
500-
search_questions = getattr(example_questions, "search", None)
512+
search_questions = get_cached_search_questions(example_questions)
501513

502514
direct_questions = direct_questions if isinstance(direct_questions, list) else []
503-
search_questions = search_questions if isinstance(search_questions, list) else []
504515

505516
selected_questions: list[str] = []
506517
if direct_questions or search_questions:

connectors/confluence/airbyte_agent_confluence/_vendored/connector_sdk/schema/base.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,25 @@ class ExampleQuestions(BaseModel):
3030
default_factory=list,
3131
description="Example questions answerable via direct API operations",
3232
)
33+
context_store_search: list[str] = Field(
34+
default_factory=list,
35+
description="Example questions requiring cached context store search operations",
36+
)
3337
search: list[str] = Field(
3438
default_factory=list,
35-
description="Example questions requiring cached search operations",
39+
description="Deprecated alias for context_store_search example questions",
3640
)
3741
unsupported: list[str] = Field(
3842
default_factory=list,
3943
description="Example questions the connector cannot handle",
4044
)
4145

46+
@model_validator(mode="after")
47+
def sync_legacy_search_questions(self) -> "ExampleQuestions":
48+
if not self.context_store_search and self.search:
49+
self.context_store_search = list(self.search)
50+
return self
51+
4252

4353
class Contact(BaseModel):
4454
"""

connectors/confluence/airbyte_agent_confluence/_vendored/connector_sdk/validation/overview.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,9 @@ def _extract_exceptions(info: dict, config) -> Dict[str, Any]:
316316

317317
def _extract_example_questions(info: dict) -> Dict[str, Any]:
318318
questions = info.get("x-airbyte-example-questions", {}) or {}
319+
context_store_search = questions.get("context_store_search", []) or []
320+
search = context_store_search or questions.get("search", []) or []
319321
direct = questions.get("direct", []) or []
320-
search = questions.get("search", []) or []
321322
unsupported = questions.get("unsupported", []) or []
322323

323324
return {

0 commit comments

Comments
 (0)