webflow-api 3.3.0-beta → 3.3.1

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 (563) hide show
  1. package/BaseClient.d.ts +1 -1
  2. package/Client.d.ts +1 -7
  3. package/Client.js +31 -41
  4. package/LICENSE +18 -18
  5. package/README.md +55 -28
  6. package/api/resources/assets/client/Client.d.ts +4 -4
  7. package/api/resources/assets/client/Client.js +7 -8
  8. package/api/resources/assets/client/requests/AssetsListRequest.d.ts +2 -2
  9. package/api/resources/collections/client/Client.d.ts +2 -2
  10. package/api/resources/collections/client/Client.js +3 -6
  11. package/api/resources/collections/resources/fields/client/Client.d.ts +2 -2
  12. package/api/resources/collections/resources/fields/client/Client.js +4 -6
  13. package/api/resources/collections/resources/items/client/Client.d.ts +6 -6
  14. package/api/resources/collections/resources/items/client/Client.js +24 -12
  15. package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
  16. package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
  17. package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +1 -1
  18. package/{dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts → api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts} +1 -1
  19. package/api/resources/collections/resources/items/types/index.d.ts +1 -1
  20. package/api/resources/collections/resources/items/types/index.js +1 -1
  21. package/api/resources/components/client/Client.d.ts +8 -8
  22. package/api/resources/components/client/Client.js +10 -12
  23. package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +2 -2
  24. package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +2 -2
  25. package/api/resources/components/client/requests/ComponentsListRequest.d.ts +2 -2
  26. package/api/resources/ecommerce/client/Client.d.ts +2 -2
  27. package/api/resources/ecommerce/client/Client.js +2 -6
  28. package/api/resources/forms/client/Client.d.ts +6 -6
  29. package/api/resources/forms/client/Client.js +7 -10
  30. package/api/resources/forms/client/requests/FormsListRequest.d.ts +2 -2
  31. package/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
  32. package/api/resources/index.d.ts +0 -6
  33. package/api/resources/index.js +1 -7
  34. package/api/resources/inventory/client/Client.d.ts +2 -2
  35. package/api/resources/inventory/client/Client.js +3 -6
  36. package/api/resources/orders/client/Client.d.ts +4 -4
  37. package/api/resources/orders/client/Client.js +8 -8
  38. package/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -2
  39. package/api/resources/pages/client/Client.d.ts +6 -6
  40. package/api/resources/pages/client/Client.js +8 -10
  41. package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +2 -2
  42. package/api/resources/pages/client/requests/PagesListRequest.d.ts +2 -2
  43. package/api/resources/pages/resources/scripts/client/Client.d.ts +2 -2
  44. package/api/resources/pages/resources/scripts/client/Client.js +3 -6
  45. package/api/resources/products/client/Client.d.ts +4 -4
  46. package/api/resources/products/client/Client.js +8 -8
  47. package/api/resources/products/client/requests/ProductsListRequest.d.ts +2 -2
  48. package/api/resources/scripts/client/Client.d.ts +2 -2
  49. package/api/resources/scripts/client/Client.js +4 -6
  50. package/api/resources/sites/client/Client.d.ts +2 -2
  51. package/api/resources/sites/client/Client.js +5 -6
  52. package/api/resources/sites/resources/activityLogs/client/Client.d.ts +4 -4
  53. package/api/resources/sites/resources/activityLogs/client/Client.js +4 -8
  54. package/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +2 -2
  55. package/api/resources/sites/resources/comments/client/Client.d.ts +8 -8
  56. package/api/resources/sites/resources/comments/client/Client.js +14 -12
  57. package/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +2 -2
  58. package/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +2 -2
  59. package/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +2 -2
  60. package/api/resources/sites/resources/forms/client/Client.d.ts +6 -6
  61. package/api/resources/sites/resources/forms/client/Client.js +7 -10
  62. package/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +2 -2
  63. package/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
  64. package/api/resources/sites/resources/plans/client/Client.d.ts +2 -2
  65. package/api/resources/sites/resources/plans/client/Client.js +2 -6
  66. package/api/resources/sites/resources/redirects/client/Client.d.ts +4 -4
  67. package/api/resources/sites/resources/redirects/client/Client.js +6 -8
  68. package/api/resources/sites/resources/robotsTxt/client/Client.d.ts +2 -2
  69. package/api/resources/sites/resources/robotsTxt/client/Client.js +5 -6
  70. package/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
  71. package/api/resources/sites/resources/scripts/client/Client.js +5 -8
  72. package/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +2 -2
  73. package/api/resources/sites/resources/wellKnown/client/Client.d.ts +2 -2
  74. package/api/resources/sites/resources/wellKnown/client/Client.js +4 -6
  75. package/api/resources/token/client/Client.d.ts +2 -2
  76. package/api/resources/token/client/Client.js +2 -6
  77. package/api/resources/webhooks/client/Client.d.ts +2 -2
  78. package/api/resources/webhooks/client/Client.js +3 -6
  79. package/api/resources/workspaces/client/Client.d.ts +1 -1
  80. package/api/resources/workspaces/client/Client.js +1 -1
  81. package/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +4 -4
  82. package/api/resources/workspaces/resources/auditLogs/client/Client.js +6 -8
  83. package/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +2 -2
  84. package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +1 -0
  85. package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +1 -0
  86. package/api/types/AssetVariant.d.ts +6 -6
  87. package/api/types/ComponentDom.d.ts +1 -1
  88. package/api/types/ForbiddenErrorBody.d.ts +1 -1
  89. package/api/types/ProductFieldData.d.ts +1 -1
  90. package/api/types/SettingChange.d.ts +7 -0
  91. package/api/types/SettingChangeAuditLogItem.d.ts +5 -0
  92. package/api/types/TriggerType.d.ts +0 -3
  93. package/api/types/TriggerType.js +0 -3
  94. package/api/types/WorkspaceAuditLogItem.d.ts +4 -1
  95. package/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +5 -0
  96. package/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.js +8 -0
  97. package/api/types/index.d.ts +3 -13
  98. package/api/types/index.js +3 -13
  99. package/dist/BaseClient.d.ts +1 -1
  100. package/dist/Client.d.ts +1 -7
  101. package/dist/Client.js +31 -41
  102. package/dist/api/resources/assets/client/Client.d.ts +4 -4
  103. package/dist/api/resources/assets/client/Client.js +7 -8
  104. package/dist/api/resources/assets/client/requests/AssetsListRequest.d.ts +2 -2
  105. package/dist/api/resources/collections/client/Client.d.ts +2 -2
  106. package/dist/api/resources/collections/client/Client.js +3 -6
  107. package/dist/api/resources/collections/resources/fields/client/Client.d.ts +2 -2
  108. package/dist/api/resources/collections/resources/fields/client/Client.js +4 -6
  109. package/dist/api/resources/collections/resources/items/client/Client.d.ts +6 -6
  110. package/dist/api/resources/collections/resources/items/client/Client.js +24 -12
  111. package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
  112. package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
  113. package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +1 -1
  114. package/{api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts → dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts} +1 -1
  115. package/dist/api/resources/collections/resources/items/types/index.d.ts +1 -1
  116. package/dist/api/resources/collections/resources/items/types/index.js +1 -1
  117. package/dist/api/resources/components/client/Client.d.ts +8 -8
  118. package/dist/api/resources/components/client/Client.js +10 -12
  119. package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +2 -2
  120. package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +2 -2
  121. package/dist/api/resources/components/client/requests/ComponentsListRequest.d.ts +2 -2
  122. package/dist/api/resources/ecommerce/client/Client.d.ts +2 -2
  123. package/dist/api/resources/ecommerce/client/Client.js +2 -6
  124. package/dist/api/resources/forms/client/Client.d.ts +6 -6
  125. package/dist/api/resources/forms/client/Client.js +7 -10
  126. package/dist/api/resources/forms/client/requests/FormsListRequest.d.ts +2 -2
  127. package/dist/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
  128. package/dist/api/resources/index.d.ts +0 -6
  129. package/dist/api/resources/index.js +1 -7
  130. package/dist/api/resources/inventory/client/Client.d.ts +2 -2
  131. package/dist/api/resources/inventory/client/Client.js +3 -6
  132. package/dist/api/resources/orders/client/Client.d.ts +4 -4
  133. package/dist/api/resources/orders/client/Client.js +8 -8
  134. package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -2
  135. package/dist/api/resources/pages/client/Client.d.ts +6 -6
  136. package/dist/api/resources/pages/client/Client.js +8 -10
  137. package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +2 -2
  138. package/dist/api/resources/pages/client/requests/PagesListRequest.d.ts +2 -2
  139. package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +2 -2
  140. package/dist/api/resources/pages/resources/scripts/client/Client.js +3 -6
  141. package/dist/api/resources/products/client/Client.d.ts +4 -4
  142. package/dist/api/resources/products/client/Client.js +8 -8
  143. package/dist/api/resources/products/client/requests/ProductsListRequest.d.ts +2 -2
  144. package/dist/api/resources/scripts/client/Client.d.ts +2 -2
  145. package/dist/api/resources/scripts/client/Client.js +4 -6
  146. package/dist/api/resources/sites/client/Client.d.ts +2 -2
  147. package/dist/api/resources/sites/client/Client.js +5 -6
  148. package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +4 -4
  149. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +4 -8
  150. package/dist/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +2 -2
  151. package/dist/api/resources/sites/resources/comments/client/Client.d.ts +8 -8
  152. package/dist/api/resources/sites/resources/comments/client/Client.js +14 -12
  153. package/dist/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +2 -2
  154. package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +2 -2
  155. package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +2 -2
  156. package/dist/api/resources/sites/resources/forms/client/Client.d.ts +6 -6
  157. package/dist/api/resources/sites/resources/forms/client/Client.js +7 -10
  158. package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +2 -2
  159. package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
  160. package/dist/api/resources/sites/resources/plans/client/Client.d.ts +2 -2
  161. package/dist/api/resources/sites/resources/plans/client/Client.js +2 -6
  162. package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +4 -4
  163. package/dist/api/resources/sites/resources/redirects/client/Client.js +6 -8
  164. package/dist/api/resources/sites/resources/robotsTxt/client/Client.d.ts +2 -2
  165. package/dist/api/resources/sites/resources/robotsTxt/client/Client.js +5 -6
  166. package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
  167. package/dist/api/resources/sites/resources/scripts/client/Client.js +5 -8
  168. package/dist/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +2 -2
  169. package/dist/api/resources/sites/resources/wellKnown/client/Client.d.ts +2 -2
  170. package/dist/api/resources/sites/resources/wellKnown/client/Client.js +4 -6
  171. package/dist/api/resources/token/client/Client.d.ts +2 -2
  172. package/dist/api/resources/token/client/Client.js +2 -6
  173. package/dist/api/resources/webhooks/client/Client.d.ts +2 -2
  174. package/dist/api/resources/webhooks/client/Client.js +3 -6
  175. package/dist/api/resources/workspaces/client/Client.d.ts +1 -1
  176. package/dist/api/resources/workspaces/client/Client.js +1 -1
  177. package/dist/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +4 -4
  178. package/dist/api/resources/workspaces/resources/auditLogs/client/Client.js +6 -8
  179. package/dist/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +2 -2
  180. package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +1 -0
  181. package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +1 -0
  182. package/dist/api/types/AssetVariant.d.ts +6 -6
  183. package/dist/api/types/ComponentDom.d.ts +1 -1
  184. package/dist/api/types/ForbiddenErrorBody.d.ts +1 -1
  185. package/dist/api/types/ProductFieldData.d.ts +1 -1
  186. package/dist/api/types/SettingChange.d.ts +7 -0
  187. package/dist/api/types/SettingChangeAuditLogItem.d.ts +5 -0
  188. package/dist/api/types/TriggerType.d.ts +0 -3
  189. package/dist/api/types/TriggerType.js +0 -3
  190. package/dist/api/types/WorkspaceAuditLogItem.d.ts +4 -1
  191. package/dist/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +5 -0
  192. package/dist/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.js +8 -0
  193. package/dist/api/types/index.d.ts +3 -13
  194. package/dist/api/types/index.js +3 -13
  195. package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -2
  196. package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +2 -2
  197. package/{serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts → dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts} +2 -2
  198. package/{serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js → dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js} +2 -2
  199. package/dist/serialization/resources/collections/resources/items/types/index.d.ts +1 -1
  200. package/dist/serialization/resources/collections/resources/items/types/index.js +1 -1
  201. package/dist/serialization/resources/index.d.ts +0 -5
  202. package/dist/serialization/resources/index.js +1 -6
  203. package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +1 -1
  204. package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +1 -0
  205. package/dist/serialization/types/AssetVariant.d.ts +6 -6
  206. package/dist/serialization/types/AssetVariant.js +6 -6
  207. package/dist/serialization/types/ForbiddenErrorBody.d.ts +2 -2
  208. package/dist/serialization/types/ForbiddenErrorBody.js +2 -2
  209. package/dist/serialization/types/SettingChange.d.ts +13 -0
  210. package/dist/serialization/types/{AccessGroup.js → SettingChange.js} +7 -7
  211. package/dist/serialization/types/SettingChangeAuditLogItem.d.ts +11 -0
  212. package/dist/serialization/types/{UserAccessGroupsItem.js → SettingChangeAuditLogItem.js} +5 -5
  213. package/dist/serialization/types/TriggerType.d.ts +1 -1
  214. package/dist/serialization/types/TriggerType.js +0 -3
  215. package/dist/serialization/types/WorkspaceAuditLogItem.d.ts +5 -1
  216. package/dist/serialization/types/WorkspaceAuditLogItem.js +2 -0
  217. package/dist/serialization/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +7 -0
  218. package/dist/serialization/types/{UserStatus.js → WorkspaceAuditLogItemPayloadSettingChangeMethod.js} +2 -2
  219. package/dist/serialization/types/index.d.ts +3 -13
  220. package/dist/serialization/types/index.js +3 -13
  221. package/dist/version.d.ts +1 -1
  222. package/dist/version.js +1 -1
  223. package/dist/wrapper/AssetsUtilitiesClient.d.ts +1 -1
  224. package/dist/wrapper/FormsClient.js +5 -5
  225. package/dist/wrapper/ItemsClient.js +20 -20
  226. package/dist/wrapper/PagesClient.js +5 -5
  227. package/dist/wrapper/WebflowClient.js +1 -1
  228. package/jest.config.mjs +1 -1
  229. package/package.json +2 -1
  230. package/reference.md +68 -544
  231. package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -2
  232. package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +2 -2
  233. package/{dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts → serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts} +2 -2
  234. package/{dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js → serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js} +2 -2
  235. package/serialization/resources/collections/resources/items/types/index.d.ts +1 -1
  236. package/serialization/resources/collections/resources/items/types/index.js +1 -1
  237. package/serialization/resources/index.d.ts +0 -5
  238. package/serialization/resources/index.js +1 -6
  239. package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +1 -1
  240. package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +1 -0
  241. package/serialization/types/AssetVariant.d.ts +6 -6
  242. package/serialization/types/AssetVariant.js +6 -6
  243. package/serialization/types/ForbiddenErrorBody.d.ts +2 -2
  244. package/serialization/types/ForbiddenErrorBody.js +2 -2
  245. package/serialization/types/SettingChange.d.ts +13 -0
  246. package/{dist/serialization/types/AccessGroupList.js → serialization/types/SettingChange.js} +7 -8
  247. package/serialization/types/SettingChangeAuditLogItem.d.ts +11 -0
  248. package/serialization/types/{UserAccessGroupsItem.js → SettingChangeAuditLogItem.js} +5 -5
  249. package/serialization/types/TriggerType.d.ts +1 -1
  250. package/serialization/types/TriggerType.js +0 -3
  251. package/serialization/types/WorkspaceAuditLogItem.d.ts +5 -1
  252. package/serialization/types/WorkspaceAuditLogItem.js +2 -0
  253. package/serialization/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +7 -0
  254. package/{dist/serialization/types/UserLimitReached.js → serialization/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.js} +2 -2
  255. package/serialization/types/index.d.ts +3 -13
  256. package/serialization/types/index.js +3 -13
  257. package/version.d.ts +1 -1
  258. package/version.js +1 -1
  259. package/wrapper/AssetsUtilitiesClient.d.ts +1 -1
  260. package/wrapper/FormsClient.js +5 -5
  261. package/wrapper/ItemsClient.js +20 -20
  262. package/wrapper/PagesClient.js +5 -5
  263. package/wrapper/WebflowClient.js +1 -1
  264. package/.mock/definition/__package__.yml +0 -4471
  265. package/.mock/definition/accessGroups.yml +0 -87
  266. package/.mock/definition/api.yml +0 -18
  267. package/.mock/definition/assets.yml +0 -487
  268. package/.mock/definition/collections/fields.yml +0 -212
  269. package/.mock/definition/collections/items.yml +0 -2145
  270. package/.mock/definition/collections.yml +0 -350
  271. package/.mock/definition/comments.yml +0 -41
  272. package/.mock/definition/components.yml +0 -548
  273. package/.mock/definition/ecommerce.yml +0 -45
  274. package/.mock/definition/forms.yml +0 -399
  275. package/.mock/definition/inventory.yml +0 -152
  276. package/.mock/definition/items.yml +0 -112
  277. package/.mock/definition/orders.yml +0 -1971
  278. package/.mock/definition/pages/scripts.yml +0 -155
  279. package/.mock/definition/pages.yml +0 -611
  280. package/.mock/definition/products.yml +0 -642
  281. package/.mock/definition/scripts.yml +0 -236
  282. package/.mock/definition/sites/activityLogs.yml +0 -77
  283. package/.mock/definition/sites/comments.yml +0 -352
  284. package/.mock/definition/sites/forms.yml +0 -316
  285. package/.mock/definition/sites/plans.yml +0 -48
  286. package/.mock/definition/sites/redirects.yml +0 -221
  287. package/.mock/definition/sites/robotsTxt.yml +0 -229
  288. package/.mock/definition/sites/scripts.yml +0 -243
  289. package/.mock/definition/sites/wellKnown.yml +0 -130
  290. package/.mock/definition/sites.yml +0 -558
  291. package/.mock/definition/token.yml +0 -75
  292. package/.mock/definition/users.yml +0 -594
  293. package/.mock/definition/webhooks.yml +0 -188
  294. package/.mock/definition/workspaces/auditLogs.yml +0 -125
  295. package/.mock/fern.config.json +0 -4
  296. package/api/resources/accessGroups/client/Client.d.ts +0 -39
  297. package/api/resources/accessGroups/client/Client.js +0 -197
  298. package/api/resources/accessGroups/client/index.d.ts +0 -1
  299. package/api/resources/accessGroups/client/index.js +0 -17
  300. package/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +0 -20
  301. package/api/resources/accessGroups/client/requests/index.d.ts +0 -1
  302. package/api/resources/accessGroups/client/requests/index.js +0 -2
  303. package/api/resources/accessGroups/index.d.ts +0 -2
  304. package/api/resources/accessGroups/index.js +0 -18
  305. package/api/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -9
  306. package/api/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -12
  307. package/api/resources/accessGroups/types/index.d.ts +0 -1
  308. package/api/resources/accessGroups/types/index.js +0 -17
  309. package/api/resources/users/client/Client.d.ts +0 -145
  310. package/api/resources/users/client/Client.js +0 -670
  311. package/api/resources/users/client/index.d.ts +0 -1
  312. package/api/resources/users/client/index.js +0 -17
  313. package/api/resources/users/client/requests/UsersInviteRequest.d.ts +0 -13
  314. package/api/resources/users/client/requests/UsersListRequest.d.ts +0 -23
  315. package/api/resources/users/client/requests/index.d.ts +0 -2
  316. package/api/resources/users/client/requests/index.js +0 -2
  317. package/api/resources/users/index.d.ts +0 -2
  318. package/api/resources/users/index.js +0 -18
  319. package/api/resources/users/types/UserAccountAddedPayload.d.ts +0 -5
  320. package/api/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -20
  321. package/api/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -9
  322. package/api/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -3
  323. package/api/resources/users/types/UserAccountDeletedPayload.d.ts +0 -5
  324. package/api/resources/users/types/UserAccountDeletedPayload.js +0 -3
  325. package/api/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -20
  326. package/api/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -3
  327. package/api/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -9
  328. package/api/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -3
  329. package/api/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -5
  330. package/api/resources/users/types/UserAccountUpdatedPayload.js +0 -3
  331. package/api/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -20
  332. package/api/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -3
  333. package/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -9
  334. package/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -3
  335. package/api/resources/users/types/UsersListRequestSort.d.ts +0 -33
  336. package/api/resources/users/types/UsersListRequestSort.js +0 -36
  337. package/api/resources/users/types/index.d.ts +0 -10
  338. package/api/resources/users/types/index.js +0 -26
  339. package/api/types/AccessGroup.d.ts +0 -12
  340. package/api/types/AccessGroup.js +0 -3
  341. package/api/types/AccessGroupList.d.ts +0 -16
  342. package/api/types/AccessGroupList.js +0 -3
  343. package/api/types/ConflictErrorBody.d.ts +0 -2
  344. package/api/types/ConflictErrorBody.js +0 -3
  345. package/api/types/DuplicateUserEmail.d.ts +0 -1
  346. package/api/types/DuplicateUserEmail.js +0 -3
  347. package/api/types/User.d.ts +0 -22
  348. package/api/types/User.js +0 -3
  349. package/api/types/UserAccessGroupsItem.d.ts +0 -14
  350. package/api/types/UserAccessGroupsItem.js +0 -3
  351. package/api/types/UserAccessGroupsItemType.d.ts +0 -10
  352. package/api/types/UserAccessGroupsItemType.js +0 -13
  353. package/api/types/UserData.d.ts +0 -7
  354. package/api/types/UserData.js +0 -3
  355. package/api/types/UserDataData.d.ts +0 -12
  356. package/api/types/UserDataData.js +0 -3
  357. package/api/types/UserLimitReached.d.ts +0 -1
  358. package/api/types/UserLimitReached.js +0 -3
  359. package/api/types/UserList.d.ts +0 -16
  360. package/api/types/UserList.js +0 -3
  361. package/api/types/UserStatus.d.ts +0 -7
  362. package/api/types/UserStatus.js +0 -10
  363. package/api/types/UsersNotEnabled.d.ts +0 -1
  364. package/api/types/UsersNotEnabled.js +0 -3
  365. package/dist/api/resources/accessGroups/client/Client.d.ts +0 -39
  366. package/dist/api/resources/accessGroups/client/Client.js +0 -197
  367. package/dist/api/resources/accessGroups/client/index.d.ts +0 -1
  368. package/dist/api/resources/accessGroups/client/index.js +0 -17
  369. package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +0 -20
  370. package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.js +0 -3
  371. package/dist/api/resources/accessGroups/client/requests/index.d.ts +0 -1
  372. package/dist/api/resources/accessGroups/client/requests/index.js +0 -2
  373. package/dist/api/resources/accessGroups/index.d.ts +0 -2
  374. package/dist/api/resources/accessGroups/index.js +0 -18
  375. package/dist/api/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -9
  376. package/dist/api/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -12
  377. package/dist/api/resources/accessGroups/types/index.d.ts +0 -1
  378. package/dist/api/resources/accessGroups/types/index.js +0 -17
  379. package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js +0 -3
  380. package/dist/api/resources/users/client/Client.d.ts +0 -145
  381. package/dist/api/resources/users/client/Client.js +0 -670
  382. package/dist/api/resources/users/client/index.d.ts +0 -1
  383. package/dist/api/resources/users/client/index.js +0 -17
  384. package/dist/api/resources/users/client/requests/UsersInviteRequest.d.ts +0 -13
  385. package/dist/api/resources/users/client/requests/UsersInviteRequest.js +0 -3
  386. package/dist/api/resources/users/client/requests/UsersListRequest.d.ts +0 -23
  387. package/dist/api/resources/users/client/requests/UsersListRequest.js +0 -3
  388. package/dist/api/resources/users/client/requests/index.d.ts +0 -2
  389. package/dist/api/resources/users/client/requests/index.js +0 -2
  390. package/dist/api/resources/users/index.d.ts +0 -2
  391. package/dist/api/resources/users/index.js +0 -18
  392. package/dist/api/resources/users/types/UserAccountAddedPayload.d.ts +0 -5
  393. package/dist/api/resources/users/types/UserAccountAddedPayload.js +0 -3
  394. package/dist/api/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -20
  395. package/dist/api/resources/users/types/UserAccountAddedPayloadPayload.js +0 -3
  396. package/dist/api/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -9
  397. package/dist/api/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -3
  398. package/dist/api/resources/users/types/UserAccountDeletedPayload.d.ts +0 -5
  399. package/dist/api/resources/users/types/UserAccountDeletedPayload.js +0 -3
  400. package/dist/api/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -20
  401. package/dist/api/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -3
  402. package/dist/api/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -9
  403. package/dist/api/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -3
  404. package/dist/api/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -5
  405. package/dist/api/resources/users/types/UserAccountUpdatedPayload.js +0 -3
  406. package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -20
  407. package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -3
  408. package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -9
  409. package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -3
  410. package/dist/api/resources/users/types/UsersListRequestSort.d.ts +0 -33
  411. package/dist/api/resources/users/types/UsersListRequestSort.js +0 -36
  412. package/dist/api/resources/users/types/index.d.ts +0 -10
  413. package/dist/api/resources/users/types/index.js +0 -26
  414. package/dist/api/types/AccessGroup.d.ts +0 -12
  415. package/dist/api/types/AccessGroup.js +0 -3
  416. package/dist/api/types/AccessGroupList.d.ts +0 -16
  417. package/dist/api/types/AccessGroupList.js +0 -3
  418. package/dist/api/types/ConflictErrorBody.d.ts +0 -2
  419. package/dist/api/types/ConflictErrorBody.js +0 -3
  420. package/dist/api/types/DuplicateUserEmail.d.ts +0 -1
  421. package/dist/api/types/DuplicateUserEmail.js +0 -3
  422. package/dist/api/types/User.d.ts +0 -22
  423. package/dist/api/types/User.js +0 -3
  424. package/dist/api/types/UserAccessGroupsItem.d.ts +0 -14
  425. package/dist/api/types/UserAccessGroupsItem.js +0 -3
  426. package/dist/api/types/UserAccessGroupsItemType.d.ts +0 -10
  427. package/dist/api/types/UserAccessGroupsItemType.js +0 -13
  428. package/dist/api/types/UserData.d.ts +0 -7
  429. package/dist/api/types/UserData.js +0 -3
  430. package/dist/api/types/UserDataData.d.ts +0 -12
  431. package/dist/api/types/UserDataData.js +0 -3
  432. package/dist/api/types/UserLimitReached.d.ts +0 -1
  433. package/dist/api/types/UserLimitReached.js +0 -3
  434. package/dist/api/types/UserList.d.ts +0 -16
  435. package/dist/api/types/UserList.js +0 -3
  436. package/dist/api/types/UserStatus.d.ts +0 -7
  437. package/dist/api/types/UserStatus.js +0 -10
  438. package/dist/api/types/UsersNotEnabled.d.ts +0 -1
  439. package/dist/api/types/UsersNotEnabled.js +0 -3
  440. package/dist/serialization/resources/accessGroups/index.d.ts +0 -1
  441. package/dist/serialization/resources/accessGroups/index.js +0 -17
  442. package/dist/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -7
  443. package/dist/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -39
  444. package/dist/serialization/resources/accessGroups/types/index.d.ts +0 -1
  445. package/dist/serialization/resources/accessGroups/types/index.js +0 -17
  446. package/dist/serialization/resources/users/client/index.d.ts +0 -1
  447. package/dist/serialization/resources/users/client/index.js +0 -17
  448. package/dist/serialization/resources/users/client/requests/UsersInviteRequest.d.ts +0 -10
  449. package/dist/serialization/resources/users/client/requests/UsersInviteRequest.js +0 -42
  450. package/dist/serialization/resources/users/client/requests/index.d.ts +0 -1
  451. package/dist/serialization/resources/users/client/requests/index.js +0 -5
  452. package/dist/serialization/resources/users/index.d.ts +0 -2
  453. package/dist/serialization/resources/users/index.js +0 -18
  454. package/dist/serialization/resources/users/types/UserAccountAddedPayload.d.ts +0 -11
  455. package/dist/serialization/resources/users/types/UserAccountAddedPayload.js +0 -43
  456. package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -20
  457. package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayload.js +0 -52
  458. package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -12
  459. package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -44
  460. package/dist/serialization/resources/users/types/UserAccountDeletedPayload.d.ts +0 -11
  461. package/dist/serialization/resources/users/types/UserAccountDeletedPayload.js +0 -43
  462. package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -20
  463. package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -52
  464. package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -12
  465. package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -44
  466. package/dist/serialization/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -11
  467. package/dist/serialization/resources/users/types/UserAccountUpdatedPayload.js +0 -43
  468. package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -20
  469. package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -52
  470. package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -12
  471. package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -44
  472. package/dist/serialization/resources/users/types/UsersListRequestSort.d.ts +0 -7
  473. package/dist/serialization/resources/users/types/UsersListRequestSort.js +0 -50
  474. package/dist/serialization/resources/users/types/index.d.ts +0 -10
  475. package/dist/serialization/resources/users/types/index.js +0 -26
  476. package/dist/serialization/types/AccessGroup.d.ts +0 -13
  477. package/dist/serialization/types/AccessGroupList.d.ts +0 -14
  478. package/dist/serialization/types/ConflictErrorBody.d.ts +0 -9
  479. package/dist/serialization/types/ConflictErrorBody.js +0 -41
  480. package/dist/serialization/types/DuplicateUserEmail.d.ts +0 -7
  481. package/dist/serialization/types/DuplicateUserEmail.js +0 -39
  482. package/dist/serialization/types/User.d.ts +0 -20
  483. package/dist/serialization/types/User.js +0 -52
  484. package/dist/serialization/types/UserAccessGroupsItem.d.ts +0 -11
  485. package/dist/serialization/types/UserAccessGroupsItemType.d.ts +0 -7
  486. package/dist/serialization/types/UserAccessGroupsItemType.js +0 -39
  487. package/dist/serialization/types/UserData.d.ts +0 -10
  488. package/dist/serialization/types/UserData.js +0 -42
  489. package/dist/serialization/types/UserDataData.d.ts +0 -13
  490. package/dist/serialization/types/UserDataData.js +0 -45
  491. package/dist/serialization/types/UserLimitReached.d.ts +0 -7
  492. package/dist/serialization/types/UserList.d.ts +0 -14
  493. package/dist/serialization/types/UserList.js +0 -46
  494. package/dist/serialization/types/UserStatus.d.ts +0 -7
  495. package/dist/serialization/types/UsersNotEnabled.d.ts +0 -7
  496. package/dist/serialization/types/UsersNotEnabled.js +0 -39
  497. package/serialization/resources/accessGroups/index.d.ts +0 -1
  498. package/serialization/resources/accessGroups/index.js +0 -17
  499. package/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -7
  500. package/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -39
  501. package/serialization/resources/accessGroups/types/index.d.ts +0 -1
  502. package/serialization/resources/accessGroups/types/index.js +0 -17
  503. package/serialization/resources/users/client/index.d.ts +0 -1
  504. package/serialization/resources/users/client/index.js +0 -17
  505. package/serialization/resources/users/client/requests/UsersInviteRequest.d.ts +0 -10
  506. package/serialization/resources/users/client/requests/UsersInviteRequest.js +0 -42
  507. package/serialization/resources/users/client/requests/index.d.ts +0 -1
  508. package/serialization/resources/users/client/requests/index.js +0 -5
  509. package/serialization/resources/users/index.d.ts +0 -2
  510. package/serialization/resources/users/index.js +0 -18
  511. package/serialization/resources/users/types/UserAccountAddedPayload.d.ts +0 -11
  512. package/serialization/resources/users/types/UserAccountAddedPayload.js +0 -43
  513. package/serialization/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -20
  514. package/serialization/resources/users/types/UserAccountAddedPayloadPayload.js +0 -52
  515. package/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -12
  516. package/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -44
  517. package/serialization/resources/users/types/UserAccountDeletedPayload.d.ts +0 -11
  518. package/serialization/resources/users/types/UserAccountDeletedPayload.js +0 -43
  519. package/serialization/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -20
  520. package/serialization/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -52
  521. package/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -12
  522. package/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -44
  523. package/serialization/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -11
  524. package/serialization/resources/users/types/UserAccountUpdatedPayload.js +0 -43
  525. package/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -20
  526. package/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -52
  527. package/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -12
  528. package/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -44
  529. package/serialization/resources/users/types/UsersListRequestSort.d.ts +0 -7
  530. package/serialization/resources/users/types/UsersListRequestSort.js +0 -50
  531. package/serialization/resources/users/types/index.d.ts +0 -10
  532. package/serialization/resources/users/types/index.js +0 -26
  533. package/serialization/types/AccessGroup.d.ts +0 -13
  534. package/serialization/types/AccessGroup.js +0 -45
  535. package/serialization/types/AccessGroupList.d.ts +0 -14
  536. package/serialization/types/AccessGroupList.js +0 -46
  537. package/serialization/types/ConflictErrorBody.d.ts +0 -9
  538. package/serialization/types/ConflictErrorBody.js +0 -41
  539. package/serialization/types/DuplicateUserEmail.d.ts +0 -7
  540. package/serialization/types/DuplicateUserEmail.js +0 -39
  541. package/serialization/types/User.d.ts +0 -20
  542. package/serialization/types/User.js +0 -52
  543. package/serialization/types/UserAccessGroupsItem.d.ts +0 -11
  544. package/serialization/types/UserAccessGroupsItemType.d.ts +0 -7
  545. package/serialization/types/UserAccessGroupsItemType.js +0 -39
  546. package/serialization/types/UserData.d.ts +0 -10
  547. package/serialization/types/UserData.js +0 -42
  548. package/serialization/types/UserDataData.d.ts +0 -13
  549. package/serialization/types/UserDataData.js +0 -45
  550. package/serialization/types/UserLimitReached.d.ts +0 -7
  551. package/serialization/types/UserLimitReached.js +0 -39
  552. package/serialization/types/UserList.d.ts +0 -14
  553. package/serialization/types/UserList.js +0 -46
  554. package/serialization/types/UserStatus.d.ts +0 -7
  555. package/serialization/types/UserStatus.js +0 -39
  556. package/serialization/types/UsersNotEnabled.d.ts +0 -7
  557. package/serialization/types/UsersNotEnabled.js +0 -39
  558. /package/api/resources/{accessGroups/client/requests/AccessGroupsListRequest.js → collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js} +0 -0
  559. /package/api/{resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js → types/SettingChange.js} +0 -0
  560. /package/api/{resources/users/client/requests/UsersInviteRequest.js → types/SettingChangeAuditLogItem.js} +0 -0
  561. /package/{api/resources/users/client/requests/UsersListRequest.js → dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js} +0 -0
  562. /package/{api/resources/users/types/UserAccountAddedPayload.js → dist/api/types/SettingChange.js} +0 -0
  563. /package/{api/resources/users/types/UserAccountAddedPayloadPayload.js → dist/api/types/SettingChangeAuditLogItem.js} +0 -0
@@ -1,611 +0,0 @@
1
- imports:
2
- root: __package__.yml
3
- service:
4
- auth: false
5
- base-path: ''
6
- endpoints:
7
- list:
8
- path: /sites/{site_id}/pages
9
- method: GET
10
- auth:
11
- - OAuth2:
12
- - page:read
13
- docs: |
14
- List of all pages for a site.
15
-
16
- Required scope | `pages:read`
17
- source:
18
- openapi: ../../../openapi/referenced-specs/v2.yml
19
- path-parameters:
20
- site_id:
21
- type: string
22
- docs: Unique identifier for a Site
23
- display-name: List Pages
24
- request:
25
- name: PagesListRequest
26
- query-parameters:
27
- localeId:
28
- type: optional<string>
29
- docs: >
30
- Unique identifier for a specific Locale.
31
-
32
-
33
- [Lear more about
34
- localization.](/data/v2.0.0/docs/working-with-localization)
35
- limit:
36
- type: optional<double>
37
- docs: 'Maximum number of records to be returned (max limit: 100)'
38
- offset:
39
- type: optional<double>
40
- docs: >-
41
- Offset used for pagination if the results have more than limit
42
- records
43
- response:
44
- docs: Request was successful
45
- type: root.PageList
46
- status-code: 200
47
- errors:
48
- - root.BadRequestError
49
- - root.UnauthorizedError
50
- - root.NotFoundError
51
- - root.TooManyRequestsError
52
- - root.InternalServerError
53
- examples:
54
- - path-parameters:
55
- site_id: 580e63e98c9a982ac9b8b741
56
- query-parameters:
57
- localeId: 65427cf400e02b306eaa04a0
58
- limit: 1.1
59
- offset: 1.1
60
- response:
61
- body:
62
- pages:
63
- - id: 6596da6045e56dee495bcbba
64
- siteId: 6258612d1ee792848f805dcf
65
- title: Guide to the Galaxy
66
- slug: guide-to-the-galaxy
67
- parentId: 6419db964a9c435aa3af6251
68
- collectionId: 6390c49774a71f12831a08e3
69
- createdOn: '2024-03-11T10:42:00Z'
70
- lastUpdated: '2024-03-11T10:42:42Z'
71
- archived: false
72
- draft: false
73
- canBranch: false
74
- isBranch: true
75
- branchId: 68026fa68ef6dc744c75b833
76
- seo:
77
- title: The Ultimate Hitchhiker's Guide to the Galaxy
78
- description: >-
79
- Everything you need to know about the galaxy, from
80
- avoiding Vogon poetry to the importance of towels.
81
- openGraph:
82
- title: Explore the Cosmos with The Ultimate Guide
83
- titleCopied: false
84
- description: >-
85
- Dive deep into the mysteries of the universe with your
86
- guide to everything galactic.
87
- descriptionCopied: false
88
- localeId: 653fd9af6a07fc9cfd7a5e57
89
- publishedPath: /en-us/guide-to-the-galaxy
90
- - id: 6596da6045e56dee495bcbad
91
- siteId: 6258612d1ee792848f805dcf
92
- title: Towel Day Celebrations
93
- slug: towel-day
94
- parentId: 6419db964a9c435aa3af6251
95
- collectionId: 6390c49774a71f12831a08e3
96
- createdOn: '2024-05-25T09:00:00Z'
97
- lastUpdated: '2024-05-25T09:42:00Z'
98
- archived: false
99
- draft: false
100
- canBranch: true
101
- isBranch: false
102
- branchId: 68026fa68ef6dc744c75b833
103
- seo:
104
- title: Celebrate Towel Day - The Hitchhiker's Guide to the Galaxy
105
- description: >-
106
- A guide to celebrating Towel Day, in honor of the most
107
- massively useful thing an interstellar hitchhiker can
108
- have.
109
- openGraph:
110
- title: Towel Day - Don't Panic
111
- titleCopied: false
112
- description: >-
113
- Join the galaxy in celebrating Towel Day, the day
114
- dedicated to carrying towels everywhere in memory of
115
- Douglas Adams.
116
- descriptionCopied: false
117
- localeId: 653fd9af6a07fc9cfd7a5e57
118
- publishedPath: /en-us/towel-day
119
- pagination:
120
- limit: 20
121
- offset: 0
122
- total: 2
123
- get-metadata:
124
- path: /pages/{page_id}
125
- method: GET
126
- auth:
127
- - OAuth2:
128
- - page:read
129
- docs: |
130
- Get metadata information for a single page.
131
-
132
- Required scope | `pages:read`
133
- source:
134
- openapi: ../../../openapi/referenced-specs/v2.yml
135
- path-parameters:
136
- page_id:
137
- type: string
138
- docs: Unique identifier for a Page
139
- display-name: Get Page Metadata
140
- request:
141
- name: PagesGetMetadataRequest
142
- query-parameters:
143
- localeId:
144
- type: optional<string>
145
- docs: >
146
- Unique identifier for a specific Locale.
147
-
148
-
149
- [Lear more about
150
- localization.](/data/v2.0.0/docs/working-with-localization)
151
- response:
152
- docs: Request was successful
153
- type: root.Page
154
- status-code: 200
155
- errors:
156
- - root.BadRequestError
157
- - root.UnauthorizedError
158
- - root.NotFoundError
159
- - root.TooManyRequestsError
160
- - root.InternalServerError
161
- examples:
162
- - path-parameters:
163
- page_id: 63c720f9347c2139b248e552
164
- query-parameters:
165
- localeId: 65427cf400e02b306eaa04a0
166
- response:
167
- body:
168
- id: 6596da6045e56dee495bcbba
169
- siteId: 6258612d1ee792848f805dcf
170
- title: Guide to the Galaxy
171
- slug: guide-to-the-galaxy
172
- parentId: 6419db964a9c435aa3af6251
173
- collectionId: 6390c49774a71f12831a08e3
174
- createdOn: '2024-03-11T10:42:00Z'
175
- lastUpdated: '2024-03-11T10:42:42Z'
176
- archived: false
177
- draft: false
178
- canBranch: false
179
- isBranch: true
180
- branchId: 68026fa68ef6dc744c75b833
181
- seo:
182
- title: The Ultimate Hitchhiker's Guide to the Galaxy
183
- description: >-
184
- Everything you need to know about the galaxy, from avoiding
185
- Vogon poetry to the importance of towels.
186
- openGraph:
187
- title: Explore the Cosmos with The Ultimate Guide
188
- titleCopied: false
189
- description: >-
190
- Dive deep into the mysteries of the universe with your guide
191
- to everything galactic.
192
- descriptionCopied: false
193
- localeId: 653fd9af6a07fc9cfd7a5e57
194
- publishedPath: /en-us/guide-to-the-galaxy
195
- update-page-settings:
196
- path: /pages/{page_id}
197
- method: PUT
198
- auth:
199
- - OAuth2:
200
- - page:write
201
- docs: |
202
- Update Page-level metadata, including SEO and Open Graph fields.
203
-
204
- Required scope | `pages:write`
205
- source:
206
- openapi: ../../../openapi/referenced-specs/v2.yml
207
- path-parameters:
208
- page_id:
209
- type: string
210
- docs: Unique identifier for a Page
211
- display-name: Update Page Metadata
212
- request:
213
- name: PageMetadataWrite
214
- query-parameters:
215
- localeId:
216
- type: optional<string>
217
- docs: >
218
- Unique identifier for a specific Locale.
219
-
220
-
221
- [Lear more about
222
- localization.](/data/v2.0.0/docs/working-with-localization)
223
- body:
224
- properties:
225
- title:
226
- type: optional<string>
227
- docs: Title for the page
228
- slug:
229
- type: optional<string>
230
- docs: >
231
- Slug for the page.
232
-
233
-
234
-
235
- **Note:** Updating slugs in secondary locales is only supported
236
- in <a href="https://webflow.com/localization">Advanced and
237
- Enterprise localization add-on plans.</a>
238
- seo:
239
- type: optional<PageMetadataWriteSeo>
240
- docs: SEO-related fields for the Page
241
- openGraph:
242
- type: optional<PageMetadataWriteOpenGraph>
243
- docs: Open Graph fields for the Page
244
- content-type: application/json
245
- response:
246
- docs: Request was successful
247
- type: root.Page
248
- status-code: 200
249
- errors:
250
- - root.BadRequestError
251
- - root.UnauthorizedError
252
- - root.NotFoundError
253
- - root.TooManyRequestsError
254
- - root.InternalServerError
255
- examples:
256
- - path-parameters:
257
- page_id: 63c720f9347c2139b248e552
258
- query-parameters:
259
- localeId: 65427cf400e02b306eaa04a0
260
- request:
261
- title: Guide to the Galaxy
262
- slug: guide-to-the-galaxy
263
- seo:
264
- title: The Ultimate Hitchhiker's Guide to the Galaxy
265
- description: >-
266
- Everything you need to know about the galaxy, from avoiding
267
- Vogon poetry to the importance of towels.
268
- openGraph:
269
- title: Explore the Cosmos with The Ultimate Guide
270
- titleCopied: false
271
- description: >-
272
- Dive deep into the mysteries of the universe with your guide to
273
- everything galactic.
274
- descriptionCopied: false
275
- response:
276
- body:
277
- id: 6596da6045e56dee495bcbba
278
- siteId: 6258612d1ee792848f805dcf
279
- title: Guide to the Galaxy
280
- slug: guide-to-the-galaxy
281
- parentId: 6419db964a9c435aa3af6251
282
- collectionId: 6390c49774a71f12831a08e3
283
- createdOn: '2024-03-11T10:42:00Z'
284
- lastUpdated: '2024-03-11T10:42:42Z'
285
- archived: false
286
- draft: false
287
- canBranch: false
288
- isBranch: true
289
- branchId: 68026fa68ef6dc744c75b833
290
- seo:
291
- title: The Ultimate Hitchhiker's Guide to the Galaxy
292
- description: >-
293
- Everything you need to know about the galaxy, from avoiding
294
- Vogon poetry to the importance of towels.
295
- openGraph:
296
- title: Explore the Cosmos with The Ultimate Guide
297
- titleCopied: false
298
- description: >-
299
- Dive deep into the mysteries of the universe with your guide
300
- to everything galactic.
301
- descriptionCopied: false
302
- localeId: 653fd9af6a07fc9cfd7a5e57
303
- publishedPath: /en-us/guide-to-the-galaxy
304
- get-content:
305
- path: /pages/{page_id}/dom
306
- method: GET
307
- auth:
308
- - OAuth2:
309
- - page:read
310
- docs: |
311
- Get text and component instance content from a static page.
312
-
313
- <Badge intent="info">Localization</Badge>
314
-
315
- Required scope | `pages:read`
316
- source:
317
- openapi: ../../../openapi/referenced-specs/v2.yml
318
- path-parameters:
319
- page_id:
320
- type: string
321
- docs: Unique identifier for a Page
322
- display-name: Get Page Content
323
- request:
324
- name: PagesGetContentRequest
325
- query-parameters:
326
- localeId:
327
- type: optional<string>
328
- docs: >
329
- Unique identifier for a specific Locale.
330
-
331
-
332
- [Lear more about
333
- localization.](/data/v2.0.0/docs/working-with-localization)
334
- limit:
335
- type: optional<double>
336
- docs: 'Maximum number of records to be returned (max limit: 100)'
337
- offset:
338
- type: optional<double>
339
- docs: >-
340
- Offset used for pagination if the results have more than limit
341
- records
342
- response:
343
- docs: Request was successful
344
- type: root.Dom
345
- status-code: 200
346
- errors:
347
- - root.BadRequestError
348
- - root.UnauthorizedError
349
- - root.ForbiddenError
350
- - root.NotFoundError
351
- - root.TooManyRequestsError
352
- - root.InternalServerError
353
- examples:
354
- - path-parameters:
355
- page_id: 63c720f9347c2139b248e552
356
- query-parameters:
357
- localeId: 65427cf400e02b306eaa04a0
358
- limit: 1.1
359
- offset: 1.1
360
- response:
361
- body:
362
- pageId: 658205daa3e8206a523b5ad4
363
- branchId: 68026fa68ef6dc744c75b833
364
- nodes:
365
- - id: id
366
- text: {}
367
- attributes:
368
- key: value
369
- type: text
370
- - id: id
371
- text: {}
372
- attributes:
373
- key: value
374
- type: text
375
- - id: id
376
- image: {}
377
- attributes:
378
- key: value
379
- type: image
380
- - id: id
381
- choices:
382
- - value: value
383
- text: text
384
- attributes:
385
- key: value
386
- type: select
387
- - id: id
388
- placeholder: placeholder
389
- attributes:
390
- key: value
391
- type: text-input
392
- - id: id
393
- text: {}
394
- attributes:
395
- key: value
396
- type: text
397
- - id: id
398
- componentId: componentId
399
- propertyOverrides:
400
- - propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
401
- type: component-instance
402
- pagination:
403
- limit: 4
404
- offset: 0
405
- total: 4
406
- lastUpdated: '2016-10-24T19:42:38Z'
407
- update-static-content:
408
- path: /pages/{page_id}/dom
409
- method: POST
410
- auth:
411
- - OAuth2:
412
- - page:write
413
- docs: >
414
- This endpoint updates content on a static page in **secondary locales**.
415
- It supports updating up to 1000 nodes in a single request.
416
-
417
-
418
- Before making updates:
419
-
420
- 1. Use the [get page
421
- content](/data/reference/pages-and-components/pages/get-content)
422
- endpoint to identify available content nodes and their types.
423
-
424
- 2. If the page has component instances, retrieve the component's
425
- properties that you'll override using the [get component
426
- properties](/data/reference/pages-and-components/components/get-properties)
427
- endpoint.
428
-
429
- 3. DOM elements may include a `data-w-id` attribute. This attribute is
430
- used by Webflow to maintain custom attributes and links across locales.
431
- Always include the original `data-w-id` value in your update requests to
432
- ensure consistent behavior across all locales.
433
-
434
-
435
- <Note>
436
- This endpoint is specifically for localized pages. Ensure that the specified `localeId` is a valid **secondary locale** for the site otherwise the request will fail.
437
- </Note>
438
-
439
-
440
- Required scope | `pages:write`
441
- source:
442
- openapi: ../../../openapi/referenced-specs/v2.yml
443
- path-parameters:
444
- page_id:
445
- type: string
446
- docs: Unique identifier for a Page
447
- display-name: Update Page Content
448
- request:
449
- name: PageDomWrite
450
- query-parameters:
451
- localeId:
452
- type: string
453
- docs: The locale identifier.
454
- body:
455
- properties:
456
- nodes:
457
- docs: >-
458
- List of DOM Nodes with the new content that will be updated in
459
- each node.
460
- type: list<PageDomWriteNodesItem>
461
- content-type: application/json
462
- response:
463
- docs: Request was successful
464
- type: UpdateStaticContentResponse
465
- status-code: 200
466
- errors:
467
- - root.BadRequestError
468
- - root.UnauthorizedError
469
- - root.ForbiddenError
470
- - root.NotFoundError
471
- - root.TooManyRequestsError
472
- - root.InternalServerError
473
- examples:
474
- - path-parameters:
475
- page_id: 63c720f9347c2139b248e552
476
- query-parameters:
477
- localeId: localeId
478
- request:
479
- nodes:
480
- - nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad623
481
- text: <h1>The Hitchhiker's Guide to the Galaxy</h1>
482
- - nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad627
483
- text: >-
484
- <div><h3>Don't Panic!</h3><p>Always know where your towel
485
- is.</p></div>
486
- - nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad635
487
- choices:
488
- - value: choice-1
489
- text: First choice
490
- - value: choice-2
491
- text: Second choice
492
- - nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad642
493
- placeholder: Enter something here...
494
- - nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad671
495
- value: Submit
496
- waitingText: Submitting...
497
- - nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad629
498
- propertyOverrides:
499
- - propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
500
- text: <div><h1>Time is an <em>illusion</em></h1></div>
501
- - propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f1
502
- text: Life, the Universe and Everything
503
- response:
504
- body:
505
- errors:
506
- - errors
507
- source:
508
- openapi: ../../../openapi/referenced-specs/v2.yml
509
- display-name: Pages
510
- docs: Pages are the pages in your Webflow site.
511
- types:
512
- PageMetadataWriteSeo:
513
- docs: SEO-related fields for the Page
514
- properties:
515
- title:
516
- type: optional<string>
517
- docs: The Page title shown in search engine results
518
- description:
519
- type: optional<string>
520
- docs: The Page description shown in search engine results
521
- source:
522
- openapi: ../../../openapi/referenced-specs/v2.yml
523
- inline: true
524
- PageMetadataWriteOpenGraph:
525
- docs: Open Graph fields for the Page
526
- properties:
527
- title:
528
- type: optional<string>
529
- docs: The title supplied to Open Graph annotations
530
- titleCopied:
531
- type: optional<boolean>
532
- docs: Indicates the Open Graph title was copied from the SEO title
533
- description:
534
- type: optional<string>
535
- docs: The description supplied to Open Graph annotations
536
- descriptionCopied:
537
- type: optional<boolean>
538
- docs: >-
539
- Indicates the Open Graph description was copied from the SEO
540
- description
541
- source:
542
- openapi: ../../../openapi/referenced-specs/v2.yml
543
- inline: true
544
- PageDomWriteNodesItem:
545
- discriminated: false
546
- union:
547
- - type: root.TextNodeWrite
548
- - type: root.ComponentInstanceNodePropertyOverridesWrite
549
- - type: root.Select
550
- - type: root.TextInputNodeWrite
551
- - type: root.SubmitButtonNodeWrite
552
- - type: root.SearchButtonNodeWrite
553
- source:
554
- openapi: ../../../openapi/referenced-specs/v2.yml
555
- inline: true
556
- UpdateStaticContentResponse:
557
- properties:
558
- errors:
559
- docs: A list of error messages, if any.
560
- type: list<string>
561
- source:
562
- openapi: ../../../openapi/referenced-specs/v2.yml
563
- webhooks:
564
- page_created:
565
- audiences: []
566
- method: POST
567
- display-name: Page Created
568
- headers: {}
569
- payload: root.PageCreatedWebhook
570
- examples:
571
- - payload:
572
- triggerType: page_created
573
- payload:
574
- siteId: 65427cf400e02b306eaa049c
575
- pageId: 66a3cfb276641574f5d58311
576
- pageTitle: Heart of Gold Specs
577
- createdOn: '2024-07-26T16:32:50Z'
578
- publishedPath: /blog/earth
579
- docs: Information about a new pages
580
- page_metadata_updated:
581
- audiences: []
582
- method: POST
583
- display-name: Page Metadata Updated
584
- headers: {}
585
- payload: root.PageMetadataUpdatedWebhook
586
- examples:
587
- - payload:
588
- triggerType: page_metadata_updated
589
- payload:
590
- siteId: 65427cf400e02b306eaa049c
591
- pageId: 66a3cfb276641574f5d58311
592
- pageTitle: Heart of Gold Specs
593
- lastUpdated: '2024-07-26T16:32:50Z'
594
- publishedPath: /blog/earth
595
- docs: Information about a page's updated metadata and/or settings
596
- page_deleted:
597
- audiences: []
598
- method: POST
599
- display-name: Page Deleted
600
- headers: {}
601
- payload: root.PageDeletedWebhook
602
- examples:
603
- - payload:
604
- triggerType: page_deleted
605
- payload:
606
- siteId: 65427cf400e02b306eaa049c
607
- pageId: 66a3cfb276641574f5d58311
608
- pageTitle: Heart of Gold Specs
609
- deletedOn: '2024-07-26T16:32:50Z'
610
- publishedPath: /blog/earth
611
- docs: Information about a page that was deleted