smartmemory-connectors 2.0.17__cp313-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. smartmemory_connectors/__init__.pyc +0 -0
  2. smartmemory_connectors/config_schemas.pyc +0 -0
  3. smartmemory_connectors/connectors/__init__.pyc +0 -0
  4. smartmemory_connectors/connectors/_msgraph.pyc +0 -0
  5. smartmemory_connectors/connectors/_pinned.pyc +0 -0
  6. smartmemory_connectors/connectors/_public_fetch.pyc +0 -0
  7. smartmemory_connectors/connectors/_verified_git_copy.pyc +0 -0
  8. smartmemory_connectors/connectors/atlassian.pyc +0 -0
  9. smartmemory_connectors/connectors/bluesky.pyc +0 -0
  10. smartmemory_connectors/connectors/confluence.pyc +0 -0
  11. smartmemory_connectors/connectors/confluence_storage.pyc +0 -0
  12. smartmemory_connectors/connectors/dropbox.pyc +0 -0
  13. smartmemory_connectors/connectors/git.pyc +0 -0
  14. smartmemory_connectors/connectors/github.pyc +0 -0
  15. smartmemory_connectors/connectors/gitlab.pyc +0 -0
  16. smartmemory_connectors/connectors/google_calendar.pyc +0 -0
  17. smartmemory_connectors/connectors/google_drive.pyc +0 -0
  18. smartmemory_connectors/connectors/google_gmail.pyc +0 -0
  19. smartmemory_connectors/connectors/google_sheets.pyc +0 -0
  20. smartmemory_connectors/connectors/graph_source/__init__.pyc +0 -0
  21. smartmemory_connectors/connectors/graph_source/connector.pyc +0 -0
  22. smartmemory_connectors/connectors/graph_source/cypher.pyc +0 -0
  23. smartmemory_connectors/connectors/graph_source/engines.pyc +0 -0
  24. smartmemory_connectors/connectors/graph_source/mapping.pyc +0 -0
  25. smartmemory_connectors/connectors/hackernews.pyc +0 -0
  26. smartmemory_connectors/connectors/jira.pyc +0 -0
  27. smartmemory_connectors/connectors/linear.pyc +0 -0
  28. smartmemory_connectors/connectors/local_fs/__init__.pyc +0 -0
  29. smartmemory_connectors/connectors/local_fs/connector.pyc +0 -0
  30. smartmemory_connectors/connectors/local_fs/fs.pyc +0 -0
  31. smartmemory_connectors/connectors/local_fs/presets.pyc +0 -0
  32. smartmemory_connectors/connectors/local_fs/writer_log.pyc +0 -0
  33. smartmemory_connectors/connectors/local_git.pyc +0 -0
  34. smartmemory_connectors/connectors/mastodon.pyc +0 -0
  35. smartmemory_connectors/connectors/mongo_source/__init__.pyc +0 -0
  36. smartmemory_connectors/connectors/mongo_source/connector.pyc +0 -0
  37. smartmemory_connectors/connectors/mongo_source/docs.pyc +0 -0
  38. smartmemory_connectors/connectors/mongo_source/hosts.pyc +0 -0
  39. smartmemory_connectors/connectors/mongo_source/query.pyc +0 -0
  40. smartmemory_connectors/connectors/mongo_source/uri.pyc +0 -0
  41. smartmemory_connectors/connectors/notion.pyc +0 -0
  42. smartmemory_connectors/connectors/onedrive.pyc +0 -0
  43. smartmemory_connectors/connectors/outlook.pyc +0 -0
  44. smartmemory_connectors/connectors/outlook_calendar.pyc +0 -0
  45. smartmemory_connectors/connectors/raindrop.pyc +0 -0
  46. smartmemory_connectors/connectors/readwise.pyc +0 -0
  47. smartmemory_connectors/connectors/rss.pyc +0 -0
  48. smartmemory_connectors/connectors/sentry.pyc +0 -0
  49. smartmemory_connectors/connectors/sql_source/__init__.pyc +0 -0
  50. smartmemory_connectors/connectors/sql_source/connector.pyc +0 -0
  51. smartmemory_connectors/connectors/sql_source/engines.pyc +0 -0
  52. smartmemory_connectors/connectors/sql_source/hosts.pyc +0 -0
  53. smartmemory_connectors/connectors/sql_source/rows.pyc +0 -0
  54. smartmemory_connectors/connectors/sql_source/statement.pyc +0 -0
  55. smartmemory_connectors/credentials.pyc +0 -0
  56. smartmemory_connectors/errors.pyc +0 -0
  57. smartmemory_connectors/fixtures/confluence/accessible_resources.json +55 -0
  58. smartmemory_connectors/fixtures/confluence/comments_403.json +20 -0
  59. smartmemory_connectors/fixtures/confluence/comments_ok.json +39 -0
  60. smartmemory_connectors/fixtures/confluence/page_restricted_404.json +20 -0
  61. smartmemory_connectors/fixtures/confluence/rate_limited_429.json +24 -0
  62. smartmemory_connectors/fixtures/confluence/revoked_401.json +22 -0
  63. smartmemory_connectors/fixtures/confluence/revoked_403.json +22 -0
  64. smartmemory_connectors/fixtures/confluence/snapshot_final.json +62 -0
  65. smartmemory_connectors/fixtures/confluence/snapshot_page_1.json +83 -0
  66. smartmemory_connectors/fixtures/confluence/space_lookup.json +31 -0
  67. smartmemory_connectors/fixtures/confluence/space_not_visible.json +22 -0
  68. smartmemory_connectors/fixtures/confluence/state_rejected_cursor.json +27 -0
  69. smartmemory_connectors/fixtures/confluence/sync_empty.json +51 -0
  70. smartmemory_connectors/fixtures/confluence/sync_incremental.json +103 -0
  71. smartmemory_connectors/fixtures/git/fetch_failed.json +25 -0
  72. smartmemory_connectors/fixtures/git/history_rewritten.json +27 -0
  73. smartmemory_connectors/fixtures/git/incremental_commits.json +39 -0
  74. smartmemory_connectors/fixtures/git/rename_follow.json +45 -0
  75. smartmemory_connectors/fixtures/git/snapshot_final.json +41 -0
  76. smartmemory_connectors/fixtures/git/snapshot_page_1.json +42 -0
  77. smartmemory_connectors/fixtures/github/forbidden_403.json +32 -0
  78. smartmemory_connectors/fixtures/github/incremental_changes.json +90 -0
  79. smartmemory_connectors/fixtures/github/incremental_empty.json +44 -0
  80. smartmemory_connectors/fixtures/github/incremental_not_modified.json +44 -0
  81. smartmemory_connectors/fixtures/github/rate_limited_primary.json +36 -0
  82. smartmemory_connectors/fixtures/github/rate_limited_secondary.json +34 -0
  83. smartmemory_connectors/fixtures/github/readme_200.json +31 -0
  84. smartmemory_connectors/fixtures/github/repo_not_visible_404.json +32 -0
  85. smartmemory_connectors/fixtures/github/revoked_401.json +32 -0
  86. smartmemory_connectors/fixtures/github/snapshot_final.json +64 -0
  87. smartmemory_connectors/fixtures/github/snapshot_page_1.json +82 -0
  88. smartmemory_connectors/fixtures/google_calendar/revoked_401.json +33 -0
  89. smartmemory_connectors/fixtures/google_calendar/revoked_403.json +33 -0
  90. smartmemory_connectors/fixtures/google_calendar/scope_mismatch.json +24 -0
  91. smartmemory_connectors/fixtures/google_calendar/snapshot_final.json +56 -0
  92. smartmemory_connectors/fixtures/google_calendar/snapshot_page_1.json +69 -0
  93. smartmemory_connectors/fixtures/google_calendar/state_rejected_410.json +34 -0
  94. smartmemory_connectors/fixtures/google_calendar/sync_incremental.json +59 -0
  95. smartmemory_connectors/fixtures/google_calendar/wrong_account.json +24 -0
  96. smartmemory_connectors/fixtures/google_drive/changes_incremental.json +59 -0
  97. smartmemory_connectors/fixtures/google_drive/revoked_401.json +33 -0
  98. smartmemory_connectors/fixtures/google_drive/revoked_403.json +33 -0
  99. smartmemory_connectors/fixtures/google_drive/scope_mismatch.json +24 -0
  100. smartmemory_connectors/fixtures/google_drive/snapshot_final.json +58 -0
  101. smartmemory_connectors/fixtures/google_drive/snapshot_page_1.json +71 -0
  102. smartmemory_connectors/fixtures/google_drive/start_page_token.json +26 -0
  103. smartmemory_connectors/fixtures/google_drive/state_rejected_410.json +34 -0
  104. smartmemory_connectors/fixtures/google_drive/wrong_account.json +24 -0
  105. smartmemory_connectors/fixtures/google_gmail/history_incremental.json +88 -0
  106. smartmemory_connectors/fixtures/google_gmail/message_metadata.json +64 -0
  107. smartmemory_connectors/fixtures/google_gmail/profile_watermark.json +27 -0
  108. smartmemory_connectors/fixtures/google_gmail/revoked_401.json +36 -0
  109. smartmemory_connectors/fixtures/google_gmail/revoked_403.json +36 -0
  110. smartmemory_connectors/fixtures/google_gmail/scope_mismatch.json +24 -0
  111. smartmemory_connectors/fixtures/google_gmail/snapshot_final.json +47 -0
  112. smartmemory_connectors/fixtures/google_gmail/snapshot_page_1.json +49 -0
  113. smartmemory_connectors/fixtures/google_gmail/state_rejected_404.json +35 -0
  114. smartmemory_connectors/fixtures/google_gmail/wrong_account.json +24 -0
  115. smartmemory_connectors/fixtures/identity/stable_ref.json +164 -0
  116. smartmemory_connectors/fixtures/jira/accessible_resources.json +49 -0
  117. smartmemory_connectors/fixtures/jira/bad_jql_400.json +24 -0
  118. smartmemory_connectors/fixtures/jira/comments_partial.json +157 -0
  119. smartmemory_connectors/fixtures/jira/rate_limited_429.json +21 -0
  120. smartmemory_connectors/fixtures/jira/revoked_401.json +22 -0
  121. smartmemory_connectors/fixtures/jira/revoked_403.json +22 -0
  122. smartmemory_connectors/fixtures/jira/snapshot_final.json +91 -0
  123. smartmemory_connectors/fixtures/jira/snapshot_page_1.json +201 -0
  124. smartmemory_connectors/fixtures/jira/state_rejected_page_token.json +30 -0
  125. smartmemory_connectors/fixtures/jira/sync_empty.json +29 -0
  126. smartmemory_connectors/fixtures/jira/sync_incremental.json +145 -0
  127. smartmemory_connectors/fixtures/linear/forbidden_403.json +32 -0
  128. smartmemory_connectors/fixtures/linear/incremental_issues.json +192 -0
  129. smartmemory_connectors/fixtures/linear/incremental_nothing_new.json +39 -0
  130. smartmemory_connectors/fixtures/linear/incremental_projects.json +85 -0
  131. smartmemory_connectors/fixtures/linear/ratelimited_400.json +32 -0
  132. smartmemory_connectors/fixtures/linear/revoked_401.json +32 -0
  133. smartmemory_connectors/fixtures/linear/server_error_503.json +22 -0
  134. smartmemory_connectors/fixtures/linear/snapshot_comments.json +73 -0
  135. smartmemory_connectors/fixtures/linear/snapshot_empty.json +36 -0
  136. smartmemory_connectors/fixtures/linear/snapshot_final.json +115 -0
  137. smartmemory_connectors/fixtures/linear/snapshot_page_1.json +113 -0
  138. smartmemory_connectors/fixtures/linear/state_rejected_invalid_input.json +38 -0
  139. smartmemory_connectors/fixtures/local_fs/backstop_rescan.json +41 -0
  140. smartmemory_connectors/fixtures/local_fs/root_replaced.json +22 -0
  141. smartmemory_connectors/fixtures/local_fs/snapshot_final.json +38 -0
  142. smartmemory_connectors/fixtures/local_fs/snapshot_page_1.json +45 -0
  143. smartmemory_connectors/fixtures/local_fs/symlink_escape.json +41 -0
  144. smartmemory_connectors/fixtures/local_fs/watch_events.json +53 -0
  145. smartmemory_connectors/fixtures/onepassword_connect/error_401.json +5 -0
  146. smartmemory_connectors/fixtures/onepassword_connect/error_403.json +5 -0
  147. smartmemory_connectors/fixtures/onepassword_connect/error_404.json +5 -0
  148. smartmemory_connectors/fixtures/onepassword_connect/error_429.json +5 -0
  149. smartmemory_connectors/fixtures/onepassword_connect/item.json +17 -0
  150. smartmemory_connectors/fixtures/onepassword_connect/items.json +8 -0
  151. smartmemory_connectors/fixtures/onepassword_connect/vaults.json +8 -0
  152. smartmemory_connectors/fixtures/raindrop/rate_limited_429.json +36 -0
  153. smartmemory_connectors/fixtures/raindrop/revoked_401.json +32 -0
  154. smartmemory_connectors/fixtures/raindrop/snapshot_final.json +69 -0
  155. smartmemory_connectors/fixtures/raindrop/snapshot_page_1.json +95 -0
  156. smartmemory_connectors/fixtures/raindrop/state_rejected_unsorted.json +88 -0
  157. smartmemory_connectors/fixtures/raindrop/sync_empty.json +36 -0
  158. smartmemory_connectors/fixtures/raindrop/sync_incremental.json +122 -0
  159. smartmemory_connectors/fixtures/readwise/rate_limited_429.json +23 -0
  160. smartmemory_connectors/fixtures/readwise/revoked_401.json +23 -0
  161. smartmemory_connectors/fixtures/readwise/snapshot_final.json +81 -0
  162. smartmemory_connectors/fixtures/readwise/snapshot_page_1.json +140 -0
  163. smartmemory_connectors/fixtures/readwise/state_rejected_400.json +31 -0
  164. smartmemory_connectors/fixtures/readwise/sync_empty.json +33 -0
  165. smartmemory_connectors/fixtures/readwise/sync_incremental.json +164 -0
  166. smartmemory_connectors/listing.pyc +0 -0
  167. smartmemory_connectors/local_runner.pyc +0 -0
  168. smartmemory_connectors/onepassword.pyc +0 -0
  169. smartmemory_connectors/outcomes.pyc +0 -0
  170. smartmemory_connectors/protocol.pyc +0 -0
  171. smartmemory_connectors/py.typed +0 -0
  172. smartmemory_connectors/registry.pyc +0 -0
  173. smartmemory_connectors/transport.pyc +0 -0
  174. smartmemory_connectors-2.0.17.dist-info/METADATA +185 -0
  175. smartmemory_connectors-2.0.17.dist-info/RECORD +178 -0
  176. smartmemory_connectors-2.0.17.dist-info/WHEEL +5 -0
  177. smartmemory_connectors-2.0.17.dist-info/licenses/LICENSE +110 -0
  178. smartmemory_connectors-2.0.17.dist-info/top_level.txt +1 -0
Binary file
Binary file
Binary file
@@ -0,0 +1,55 @@
1
+ {
2
+ "case": "accessible_resources",
3
+ "expect": {
4
+ "site_ids": [
5
+ "11111111-2222-3333-4444-555555555555"
6
+ ]
7
+ },
8
+ "integration_id": "confluence",
9
+ "request": {
10
+ "doc": "https://developer.atlassian.com/cloud/confluence/oauth-2-3lo-apps/",
11
+ "method": "GET",
12
+ "url": "https://api.atlassian.com/oauth/token/accessible-resources"
13
+ },
14
+ "response": {
15
+ "body": [
16
+ {
17
+ "avatarUrl": "https://example.invalid/a.png",
18
+ "id": "11111111-2222-3333-4444-555555555555",
19
+ "name": "Example Site",
20
+ "scopes": [
21
+ "read:page:confluence",
22
+ "read:space:confluence"
23
+ ],
24
+ "url": "https://example.atlassian.net"
25
+ },
26
+ {
27
+ "id": "99999999-8888-7777-6666-555555555555",
28
+ "name": "Jira only",
29
+ "scopes": [
30
+ "read:jira-work"
31
+ ],
32
+ "url": "https://other.atlassian.net"
33
+ },
34
+ {
35
+ "id": "not a uuid",
36
+ "name": "Bad",
37
+ "scopes": [
38
+ "read:page:confluence"
39
+ ],
40
+ "url": "https://bad.atlassian.net"
41
+ },
42
+ {
43
+ "id": "aaaaaaaa-1111-2222-3333-444444444444",
44
+ "name": "Server",
45
+ "scopes": [
46
+ "read:page:confluence"
47
+ ],
48
+ "url": "https://wiki.corp.example"
49
+ }
50
+ ],
51
+ "headers": {},
52
+ "status": 200
53
+ },
54
+ "synthetic": true
55
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "case": "comments_403",
3
+ "expect": {
4
+ "skipped_comments": 1
5
+ },
6
+ "integration_id": "confluence",
7
+ "request": {
8
+ "doc": "https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-comment/",
9
+ "method": "GET",
10
+ "url": "https://api.atlassian.com/ex/confluence/11111111-2222-3333-4444-555555555555/wiki/api/v2/pages/20001/footer-comments"
11
+ },
12
+ "response": {
13
+ "body": {
14
+ "message": "Forbidden"
15
+ },
16
+ "headers": {},
17
+ "status": 403
18
+ },
19
+ "synthetic": true
20
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "case": "comments_ok",
3
+ "expect": {
4
+ "comment_ids": [
5
+ "30001"
6
+ ]
7
+ },
8
+ "integration_id": "confluence",
9
+ "request": {
10
+ "doc": "https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-comment/",
11
+ "method": "GET",
12
+ "url": "https://api.atlassian.com/ex/confluence/11111111-2222-3333-4444-555555555555/wiki/api/v2/pages/20001/footer-comments"
13
+ },
14
+ "response": {
15
+ "body": {
16
+ "_links": {},
17
+ "results": [
18
+ {
19
+ "body": {
20
+ "storage": {
21
+ "representation": "storage",
22
+ "value": "<p>Looks <em>good</em></p>"
23
+ }
24
+ },
25
+ "id": "30001",
26
+ "pageId": "20001",
27
+ "status": "current",
28
+ "version": {
29
+ "createdAt": "2026-10-05T10:00:00.000Z",
30
+ "number": 1
31
+ }
32
+ }
33
+ ]
34
+ },
35
+ "headers": {},
36
+ "status": 200
37
+ },
38
+ "synthetic": true
39
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "case": "page_restricted_404",
3
+ "expect": {
4
+ "skipped_pages": 1
5
+ },
6
+ "integration_id": "confluence",
7
+ "request": {
8
+ "doc": "https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/",
9
+ "method": "GET",
10
+ "url": "https://api.atlassian.com/ex/confluence/11111111-2222-3333-4444-555555555555/wiki/api/v2/pages/20004"
11
+ },
12
+ "response": {
13
+ "body": {
14
+ "message": "Not found"
15
+ },
16
+ "headers": {},
17
+ "status": 404
18
+ },
19
+ "synthetic": true
20
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "case": "rate_limited_429",
3
+ "expect": {
4
+ "code": "throttled",
5
+ "raises": "ConnectorError"
6
+ },
7
+ "integration_id": "confluence",
8
+ "request": {
9
+ "doc": "https://developer.atlassian.com/cloud/confluence/rate-limiting/",
10
+ "method": "GET",
11
+ "state": null,
12
+ "url": "https://api.atlassian.com/ex/confluence/11111111-2222-3333-4444-555555555555/wiki/api/v2/pages"
13
+ },
14
+ "response": {
15
+ "body": {
16
+ "message": "slow down"
17
+ },
18
+ "headers": {
19
+ "Retry-After": "2"
20
+ },
21
+ "status": 429
22
+ },
23
+ "synthetic": true
24
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "case": "revoked_401",
3
+ "expect": {
4
+ "code": "invalid_credential",
5
+ "raises": "ConnectorError"
6
+ },
7
+ "integration_id": "confluence",
8
+ "request": {
9
+ "doc": "https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/",
10
+ "method": "GET",
11
+ "state": null,
12
+ "url": "https://api.atlassian.com/ex/confluence/11111111-2222-3333-4444-555555555555/wiki/api/v2/pages"
13
+ },
14
+ "response": {
15
+ "body": {
16
+ "message": "Unauthorized"
17
+ },
18
+ "headers": {},
19
+ "status": 401
20
+ },
21
+ "synthetic": true
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "case": "revoked_403",
3
+ "expect": {
4
+ "code": "permission_lost",
5
+ "raises": "ConnectorError"
6
+ },
7
+ "integration_id": "confluence",
8
+ "request": {
9
+ "doc": "https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/",
10
+ "method": "GET",
11
+ "state": null,
12
+ "url": "https://api.atlassian.com/ex/confluence/11111111-2222-3333-4444-555555555555/wiki/api/v2/pages"
13
+ },
14
+ "response": {
15
+ "body": {
16
+ "message": "Forbidden"
17
+ },
18
+ "headers": {},
19
+ "status": 403
20
+ },
21
+ "synthetic": true
22
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "case": "snapshot_final",
3
+ "expect": {
4
+ "completion": "snapshot_complete",
5
+ "next_state": null,
6
+ "records": [
7
+ "20003"
8
+ ],
9
+ "watermark": "1791363600000"
10
+ },
11
+ "integration_id": "confluence",
12
+ "request": {
13
+ "doc": "https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/",
14
+ "method": "GET",
15
+ "page_size": 2,
16
+ "state": {
17
+ "page_state": {
18
+ "high": "1791277200000",
19
+ "page_token": "cur-2"
20
+ },
21
+ "watermark": null
22
+ },
23
+ "url": "https://api.atlassian.com/ex/confluence/11111111-2222-3333-4444-555555555555/wiki/api/v2/pages"
24
+ },
25
+ "response": {
26
+ "body": {
27
+ "_links": {
28
+ "base": "https://example.atlassian.net/wiki"
29
+ },
30
+ "results": [
31
+ {
32
+ "_links": {
33
+ "webui": "/spaces/ENG/pages/20003/Design"
34
+ },
35
+ "authorId": "acct-redacted",
36
+ "body": {
37
+ "storage": {
38
+ "representation": "storage",
39
+ "value": "<p>Design notes</p>"
40
+ }
41
+ },
42
+ "createdAt": "2026-09-01T09:00:00.000Z",
43
+ "id": "20003",
44
+ "parentId": "20001",
45
+ "parentType": "page",
46
+ "position": 1,
47
+ "spaceId": "98765",
48
+ "status": "current",
49
+ "title": "Design",
50
+ "version": {
51
+ "authorId": "acct-redacted",
52
+ "createdAt": "2026-10-07T09:00:00.000Z",
53
+ "number": 2
54
+ }
55
+ }
56
+ ]
57
+ },
58
+ "headers": {},
59
+ "status": 200
60
+ },
61
+ "synthetic": true
62
+ }
@@ -0,0 +1,83 @@
1
+ {
2
+ "case": "snapshot_page_1",
3
+ "expect": {
4
+ "completion": "page_continuation",
5
+ "next_state": {
6
+ "high": "1791277200000",
7
+ "page_token": "cur-2"
8
+ },
9
+ "records": [
10
+ "20001",
11
+ "20002"
12
+ ],
13
+ "watermark": null
14
+ },
15
+ "integration_id": "confluence",
16
+ "request": {
17
+ "doc": "https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/",
18
+ "method": "GET",
19
+ "page_size": 2,
20
+ "state": null,
21
+ "url": "https://api.atlassian.com/ex/confluence/11111111-2222-3333-4444-555555555555/wiki/api/v2/pages"
22
+ },
23
+ "response": {
24
+ "body": {
25
+ "_links": {
26
+ "base": "https://example.atlassian.net/wiki",
27
+ "next": "/wiki/api/v2/pages?space-id=98765&cursor=cur-2&limit=2"
28
+ },
29
+ "results": [
30
+ {
31
+ "_links": {
32
+ "webui": "/spaces/ENG/pages/20001/Home"
33
+ },
34
+ "authorId": "acct-redacted",
35
+ "body": {
36
+ "storage": {
37
+ "representation": "storage",
38
+ "value": "<p>Welcome to <strong>engineering</strong>.</p>"
39
+ }
40
+ },
41
+ "createdAt": "2026-09-01T09:00:00.000Z",
42
+ "id": "20001",
43
+ "spaceId": "98765",
44
+ "status": "current",
45
+ "title": "Home",
46
+ "version": {
47
+ "authorId": "acct-redacted",
48
+ "createdAt": "2026-10-05T09:00:00.000Z",
49
+ "number": 3
50
+ }
51
+ },
52
+ {
53
+ "_links": {
54
+ "webui": "/spaces/ENG/pages/20002/Runbook"
55
+ },
56
+ "authorId": "acct-redacted",
57
+ "body": {
58
+ "storage": {
59
+ "representation": "storage",
60
+ "value": "<h1>Runbook</h1><ul><li>restart</li></ul>"
61
+ }
62
+ },
63
+ "createdAt": "2026-09-01T09:00:00.000Z",
64
+ "id": "20002",
65
+ "parentId": "20001",
66
+ "parentType": "page",
67
+ "position": 0,
68
+ "spaceId": "98765",
69
+ "status": "current",
70
+ "title": "Runbook",
71
+ "version": {
72
+ "authorId": "acct-redacted",
73
+ "createdAt": "2026-10-06T09:00:00.000Z",
74
+ "number": 1
75
+ }
76
+ }
77
+ ]
78
+ },
79
+ "headers": {},
80
+ "status": 200
81
+ },
82
+ "synthetic": true
83
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "case": "space_lookup",
3
+ "expect": {
4
+ "name": "Engineering",
5
+ "space_id": "98765"
6
+ },
7
+ "integration_id": "confluence",
8
+ "request": {
9
+ "doc": "https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space/",
10
+ "method": "GET",
11
+ "url": "https://api.atlassian.com/ex/confluence/11111111-2222-3333-4444-555555555555/wiki/api/v2/spaces"
12
+ },
13
+ "response": {
14
+ "body": {
15
+ "_links": {},
16
+ "results": [
17
+ {
18
+ "homepageId": "20001",
19
+ "id": "98765",
20
+ "key": "ENG",
21
+ "name": "Engineering",
22
+ "status": "current",
23
+ "type": "global"
24
+ }
25
+ ]
26
+ },
27
+ "headers": {},
28
+ "status": 200
29
+ },
30
+ "synthetic": true
31
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "case": "space_not_visible",
3
+ "expect": {
4
+ "code": "not_found",
5
+ "raises": "ConnectorError"
6
+ },
7
+ "integration_id": "confluence",
8
+ "request": {
9
+ "doc": "https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space/",
10
+ "method": "GET",
11
+ "url": "https://api.atlassian.com/ex/confluence/11111111-2222-3333-4444-555555555555/wiki/api/v2/spaces"
12
+ },
13
+ "response": {
14
+ "body": {
15
+ "_links": {},
16
+ "results": []
17
+ },
18
+ "headers": {},
19
+ "status": 200
20
+ },
21
+ "synthetic": true
22
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "case": "state_rejected_cursor",
3
+ "expect": {
4
+ "raises": "StateRejected"
5
+ },
6
+ "integration_id": "confluence",
7
+ "request": {
8
+ "doc": "https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/",
9
+ "method": "GET",
10
+ "state": {
11
+ "page_state": {
12
+ "high": "1",
13
+ "page_token": "expired"
14
+ },
15
+ "watermark": null
16
+ },
17
+ "url": "https://api.atlassian.com/ex/confluence/11111111-2222-3333-4444-555555555555/wiki/api/v2/pages"
18
+ },
19
+ "response": {
20
+ "body": {
21
+ "message": "bad cursor"
22
+ },
23
+ "headers": {},
24
+ "status": 400
25
+ },
26
+ "synthetic": true
27
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "case": "sync_empty",
3
+ "expect": {
4
+ "completion": "incremental_watermark",
5
+ "next_state": null,
6
+ "records": [],
7
+ "watermark": "1791450000000"
8
+ },
9
+ "integration_id": "confluence",
10
+ "request": {
11
+ "doc": "https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/",
12
+ "method": "GET",
13
+ "state": {
14
+ "page_state": null,
15
+ "watermark": "1791450000000"
16
+ },
17
+ "url": "https://api.atlassian.com/ex/confluence/11111111-2222-3333-4444-555555555555/wiki/api/v2/pages"
18
+ },
19
+ "response": {
20
+ "body": {
21
+ "_links": {},
22
+ "results": [
23
+ {
24
+ "_links": {
25
+ "webui": "/spaces/ENG/pages/20009/Old"
26
+ },
27
+ "authorId": "acct-redacted",
28
+ "body": {
29
+ "storage": {
30
+ "representation": "storage",
31
+ "value": "<p>old</p>"
32
+ }
33
+ },
34
+ "createdAt": "2026-09-01T09:00:00.000Z",
35
+ "id": "20009",
36
+ "spaceId": "98765",
37
+ "status": "current",
38
+ "title": "Old",
39
+ "version": {
40
+ "authorId": "acct-redacted",
41
+ "createdAt": "2026-10-01T09:00:00.000Z",
42
+ "number": 1
43
+ }
44
+ }
45
+ ]
46
+ },
47
+ "headers": {},
48
+ "status": 200
49
+ },
50
+ "synthetic": true
51
+ }