rapitapir 0.1.2 → 2.1.0

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 (161) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +7 -7
  3. data/.rubocop_todo.yml +88 -0
  4. data/CHANGELOG.md +29 -1
  5. data/README.md +1339 -236
  6. data/RUBY_WEEKLY_LAUNCH_POST.md +200 -0
  7. data/docs/RAILS_INTEGRATION_IMPLEMENTATION.md +209 -0
  8. data/docs/SINATRA_EXTENSION.md +399 -348
  9. data/docs/STRICT_VALIDATION.md +229 -0
  10. data/docs/VALIDATION_IMPROVEMENTS.md +218 -0
  11. data/docs/adr/0001-base-class-strategy.md +33 -0
  12. data/docs/adr/0002-type-shortcut-and-type-system.md +30 -0
  13. data/docs/adr/0003-openapi-source-of-truth.md +32 -0
  14. data/docs/adr/0004-client-generation-typescript-first.md +34 -0
  15. data/docs/adr/0005-auth-architecture.md +32 -0
  16. data/docs/adr/0006-observability-defaults.md +30 -0
  17. data/docs/adr/0007-ai-scope-and-boundaries.md +30 -0
  18. data/docs/adr/README.md +46 -0
  19. data/docs/adr/template.md +24 -0
  20. data/docs/ai-integration-plan.md +112 -0
  21. data/docs/auto-derivation.md +505 -92
  22. data/docs/blueprint.md +92 -4
  23. data/docs/endpoint-definition.md +536 -129
  24. data/docs/implementation-status.md +1 -1
  25. data/docs/n8n-integration.md +212 -0
  26. data/docs/observability.md +810 -500
  27. data/docs/using-mcp.md +93 -0
  28. data/examples/ai/knowledge_base_rag.rb +83 -0
  29. data/examples/ai/user_management_mcp.rb +92 -0
  30. data/examples/ai/user_validation_llm.rb +187 -0
  31. data/examples/auto_derivation_ruby_friendly.rb +44 -113
  32. data/examples/cli/user_api_endpoints.rb +63 -36
  33. data/examples/demo_api.rb +57 -18
  34. data/examples/enterprise_extension_demo.rb +13 -13
  35. data/examples/enterprise_rapitapir_api.rb +81 -93
  36. data/examples/nocodb/nocodb_scaffold/Gemfile +22 -0
  37. data/examples/nocodb/nocodb_scaffold/README.md +10 -0
  38. data/examples/nocodb/nocodb_scaffold/Rakefile +7 -0
  39. data/examples/nocodb/nocodb_scaffold/app/api/app.rb +1139 -0
  40. data/examples/nocodb/nocodb_scaffold/app/models/email_template.rb +6 -0
  41. data/examples/nocodb/nocodb_scaffold/app/models/faq.rb +6 -0
  42. data/examples/nocodb/nocodb_scaffold/app/models/feature.rb +6 -0
  43. data/examples/nocodb/nocodb_scaffold/app/models/idea.rb +6 -0
  44. data/examples/nocodb/nocodb_scaffold/app/models/itinerary_day.rb +6 -0
  45. data/examples/nocodb/nocodb_scaffold/app/models/route.rb +6 -0
  46. data/examples/nocodb/nocodb_scaffold/app/models/subscriber.rb +6 -0
  47. data/examples/nocodb/nocodb_scaffold/app/models/tour.rb +6 -0
  48. data/examples/nocodb/nocodb_scaffold/app/models/webhook.rb +6 -0
  49. data/examples/nocodb/nocodb_scaffold/app/models_loader.rb +3 -0
  50. data/examples/nocodb/nocodb_scaffold/config/database.yml +11 -0
  51. data/examples/nocodb/nocodb_scaffold/config.ru +9 -0
  52. data/examples/nocodb/nocodb_scaffold/db/migrate/20250808152012_create_features.rb +10 -0
  53. data/examples/nocodb/nocodb_scaffold/db/migrate/20250808152013_create_tours.rb +10 -0
  54. data/examples/nocodb/nocodb_scaffold/db/migrate/20250808152014_create_routes.rb +10 -0
  55. data/examples/nocodb/nocodb_scaffold/db/migrate/20250808152015_create_itinerary_days.rb +10 -0
  56. data/examples/nocodb/nocodb_scaffold/db/migrate/20250808152016_create_subscribers.rb +10 -0
  57. data/examples/nocodb/nocodb_scaffold/db/migrate/20250808152017_create_email_templates.rb +10 -0
  58. data/examples/nocodb/nocodb_scaffold/db/migrate/20250808152018_create_faqs.rb +10 -0
  59. data/examples/nocodb/nocodb_scaffold/db/migrate/20250808152019_create_webhooks.rb +10 -0
  60. data/examples/nocodb/nocodb_scaffold/db/migrate/20250808152020_create_ideas.rb +10 -0
  61. data/examples/nocodb/swagger.json +4378 -0
  62. data/examples/production_ready_example.rb +78 -58
  63. data/examples/rails/RAILS_8_GUIDE.md +165 -0
  64. data/examples/rails/RAILS_LOADING_FIX.rb +35 -0
  65. data/examples/rails/README.md +497 -0
  66. data/examples/rails/comprehensive_test.rb +91 -0
  67. data/examples/rails/config/routes.rb +48 -0
  68. data/examples/rails/debug_controller.rb +63 -0
  69. data/examples/rails/detailed_test.rb +46 -0
  70. data/examples/rails/enhanced_users_controller.rb +278 -0
  71. data/examples/rails/final_server_test.rb +50 -0
  72. data/examples/rails/hello_world_app.rb +116 -0
  73. data/examples/rails/hello_world_controller.rb +186 -0
  74. data/examples/rails/hello_world_routes.rb +28 -0
  75. data/examples/rails/rails8_minimal_demo.rb +132 -0
  76. data/examples/rails/rails8_simple_demo.rb +140 -0
  77. data/examples/rails/rails8_working_demo.rb +255 -0
  78. data/examples/rails/real_world_blog_api.rb +510 -0
  79. data/examples/rails/server_test.rb +46 -0
  80. data/examples/rails/test_direct_processing.rb +41 -0
  81. data/examples/rails/test_hello_world.rb +80 -0
  82. data/examples/rails/test_rails_integration.rb +54 -0
  83. data/examples/rails/traditional_app/Gemfile +37 -0
  84. data/examples/rails/traditional_app/README.md +265 -0
  85. data/examples/rails/traditional_app/app/controllers/api/v1/posts_controller.rb +254 -0
  86. data/examples/rails/traditional_app/app/controllers/api/v1/users_controller.rb +220 -0
  87. data/examples/rails/traditional_app/app/controllers/application_controller.rb +86 -0
  88. data/examples/rails/traditional_app/app/controllers/application_controller_simplified.rb +87 -0
  89. data/examples/rails/traditional_app/app/controllers/documentation_controller.rb +149 -0
  90. data/examples/rails/traditional_app/app/controllers/health_controller.rb +42 -0
  91. data/examples/rails/traditional_app/config/routes.rb +25 -0
  92. data/examples/rails/traditional_app/config/routes_best_practice.rb +25 -0
  93. data/examples/rails/traditional_app/config/routes_simplified.rb +36 -0
  94. data/examples/rails/traditional_app_runnable.rb +406 -0
  95. data/examples/rails/users_controller.rb +4 -1
  96. data/examples/serverless/Gemfile +43 -0
  97. data/examples/serverless/QUICKSTART.md +331 -0
  98. data/examples/serverless/README.md +520 -0
  99. data/examples/serverless/aws_lambda_example.rb +307 -0
  100. data/examples/serverless/aws_sam_template.yaml +215 -0
  101. data/examples/serverless/azure_functions_example.rb +407 -0
  102. data/examples/serverless/deploy.rb +204 -0
  103. data/examples/serverless/gcp_cloud_functions_example.rb +367 -0
  104. data/examples/serverless/gcp_function.yaml +23 -0
  105. data/examples/serverless/host.json +24 -0
  106. data/examples/serverless/package.json +32 -0
  107. data/examples/serverless/spec/aws_lambda_spec.rb +196 -0
  108. data/examples/serverless/spec/spec_helper.rb +89 -0
  109. data/examples/serverless/vercel.json +31 -0
  110. data/examples/serverless/vercel_example.rb +404 -0
  111. data/examples/simple_demo_api.rb +40 -7
  112. data/examples/strict_validation_examples.rb +104 -0
  113. data/examples/user_api.rb +130 -132
  114. data/examples/validation_error_examples.rb +173 -0
  115. data/lib/rapitapir/ai/llm_instruction.rb +456 -0
  116. data/lib/rapitapir/ai/mcp.rb +134 -0
  117. data/lib/rapitapir/ai/rag.rb +287 -0
  118. data/lib/rapitapir/ai/rag_middleware.rb +147 -0
  119. data/lib/rapitapir/auth/oauth2.rb +44 -58
  120. data/lib/rapitapir/cli/command.rb +392 -6
  121. data/lib/rapitapir/cli/mcp_export.rb +18 -0
  122. data/lib/rapitapir/cli/scaffold_generator.rb +639 -0
  123. data/lib/rapitapir/cli/validator.rb +3 -7
  124. data/lib/rapitapir/core/endpoint.rb +59 -6
  125. data/lib/rapitapir/core/enhanced_endpoint.rb +3 -7
  126. data/lib/rapitapir/dsl/enhanced_structures.rb +1 -1
  127. data/lib/rapitapir/dsl/fluent_endpoint_builder.rb +53 -0
  128. data/lib/rapitapir/endpoint_registry.rb +47 -0
  129. data/lib/rapitapir/observability/health_check.rb +4 -4
  130. data/lib/rapitapir/observability/logging.rb +10 -10
  131. data/lib/rapitapir/openapi/schema_generator.rb +46 -2
  132. data/lib/rapitapir/schema.rb +2 -2
  133. data/lib/rapitapir/server/enhanced_rack_adapter.rb +11 -8
  134. data/lib/rapitapir/server/middleware.rb +2 -2
  135. data/lib/rapitapir/server/rack_adapter.rb +1 -3
  136. data/lib/rapitapir/server/rails/configuration.rb +77 -0
  137. data/lib/rapitapir/server/rails/controller_base.rb +185 -0
  138. data/lib/rapitapir/server/rails/documentation_helpers.rb +76 -0
  139. data/lib/rapitapir/server/rails/resource_builder.rb +181 -0
  140. data/lib/rapitapir/server/rails/routes.rb +114 -0
  141. data/lib/rapitapir/server/rails_adapter.rb +10 -3
  142. data/lib/rapitapir/server/rails_adapter_class.rb +1 -3
  143. data/lib/rapitapir/server/rails_controller.rb +1 -3
  144. data/lib/rapitapir/server/rails_integration.rb +67 -0
  145. data/lib/rapitapir/server/rails_response_handler.rb +16 -3
  146. data/lib/rapitapir/server/sinatra_adapter.rb +29 -5
  147. data/lib/rapitapir/server/sinatra_integration.rb +4 -4
  148. data/lib/rapitapir/sinatra/extension.rb +2 -2
  149. data/lib/rapitapir/sinatra/oauth2_helpers.rb +34 -40
  150. data/lib/rapitapir/types/array.rb +4 -0
  151. data/lib/rapitapir/types/auto_derivation.rb +4 -20
  152. data/lib/rapitapir/types/datetime.rb +1 -3
  153. data/lib/rapitapir/types/float.rb +2 -6
  154. data/lib/rapitapir/types/hash.rb +40 -2
  155. data/lib/rapitapir/types/integer.rb +4 -12
  156. data/lib/rapitapir/types/object.rb +6 -2
  157. data/lib/rapitapir/types.rb +6 -2
  158. data/lib/rapitapir/version.rb +1 -1
  159. data/lib/rapitapir.rb +5 -3
  160. data/rapitapir.gemspec +3 -2
  161. metadata +142 -8
@@ -0,0 +1,4378 @@
1
+ {
2
+ "openapi": "3.0.0",
3
+ "info": {
4
+ "title": "nocodb",
5
+ "version": "2.0"
6
+ },
7
+ "servers": [
8
+ {
9
+ "url": "https://api.nocodb.com"
10
+ },
11
+ {
12
+ "url": "{customUrl}",
13
+ "variables": {
14
+ "customUrl": {
15
+ "default": "https://api.nocodb.com",
16
+ "description": "Provide custom nocodb app base url"
17
+ }
18
+ }
19
+ }
20
+ ],
21
+ "paths": {
22
+ "/api/v2/tables/mtt03xolo8m1kve/records": {
23
+ "get": {
24
+ "summary": "Features list",
25
+ "operationId": "features-db-table-row-list",
26
+ "description": "List of all rows from Features table and response data fields can be filtered based on query params.",
27
+ "tags": [
28
+ "Features"
29
+ ],
30
+ "parameters": [
31
+ {
32
+ "schema": {
33
+ "type": "string",
34
+ "enum": [
35
+ "vwa6csrzocx682zu"
36
+ ]
37
+ },
38
+ "description": "Allows you to fetch records that are currently visible within a specific view.\n\nViews:\n* vwa6csrzocx682zu - Default view",
39
+ "name": "viewId",
40
+ "in": "query",
41
+ "required": false
42
+ },
43
+ {
44
+ "schema": {
45
+ "type": "string"
46
+ },
47
+ "in": "query",
48
+ "name": "fields",
49
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
50
+ },
51
+ {
52
+ "schema": {
53
+ "type": "string"
54
+ },
55
+ "in": "query",
56
+ "name": "sort",
57
+ "description": "Comma separated field names to sort rows, rows will sort in ascending order based on provided columns. To sort in descending order provide `-` prefix along with column name, like `-field`. Example : `sort=field1,-field2`"
58
+ },
59
+ {
60
+ "schema": {
61
+ "type": "string"
62
+ },
63
+ "in": "query",
64
+ "name": "where",
65
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
66
+ },
67
+ {
68
+ "schema": {
69
+ "type": "number",
70
+ "minimum": 1
71
+ },
72
+ "in": "query",
73
+ "name": "limit",
74
+ "description": "The `limit` parameter used for pagination, the response collection size depends on limit value with default value `25` and maximum value `1000`, which can be overridden by environment variables `DB_QUERY_LIMIT_DEFAULT` and `DB_QUERY_LIMIT_MAX` respectively.",
75
+ "example": 25
76
+ },
77
+ {
78
+ "schema": {
79
+ "type": "number",
80
+ "minimum": 0,
81
+ "maximum": 1
82
+ },
83
+ "in": "query",
84
+ "name": "shuffle",
85
+ "description": "The `shuffle` parameter used for pagination, the response will be shuffled if it is set to 1.",
86
+ "example": 0
87
+ },
88
+ {
89
+ "schema": {
90
+ "type": "number",
91
+ "minimum": 0
92
+ },
93
+ "in": "query",
94
+ "name": "offset",
95
+ "description": "The `offset` parameter used for pagination, the value helps to select collection from a certain index.",
96
+ "example": 0
97
+ }
98
+ ],
99
+ "responses": {
100
+ "200": {
101
+ "description": "OK",
102
+ "content": {
103
+ "application/json": {
104
+ "schema": {
105
+ "type": "object",
106
+ "properties": {
107
+ "list": {
108
+ "type": "array",
109
+ "items": {
110
+ "$ref": "#/components/schemas/FeaturesResponse"
111
+ }
112
+ },
113
+ "PageInfo": {
114
+ "$ref": "#/components/schemas/Paginated"
115
+ }
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
121
+ }
122
+ },
123
+ "post": {
124
+ "summary": "Features create",
125
+ "description": "Insert a new row in table by providing a key value pair object where key refers to the column alias. All the required fields should be included with payload excluding `autoincrement` and column with default value.",
126
+ "operationId": "features-create",
127
+ "responses": {
128
+ "200": {
129
+ "description": "OK",
130
+ "content": {
131
+ "application/json": {
132
+ "schema": {
133
+ "$ref": "#/components/schemas/FeaturesResponse"
134
+ }
135
+ }
136
+ }
137
+ },
138
+ "400": {
139
+ "$ref": "#/components/responses/BadRequest"
140
+ }
141
+ },
142
+ "tags": [
143
+ "Features"
144
+ ],
145
+ "requestBody": {
146
+ "content": {
147
+ "application/json": {
148
+ "schema": {
149
+ "oneOf": [
150
+ {
151
+ "$ref": "#/components/schemas/FeaturesRequest"
152
+ },
153
+ {
154
+ "type": "array",
155
+ "items": {
156
+ "$ref": "#/components/schemas/FeaturesRequest"
157
+ }
158
+ }
159
+ ]
160
+ }
161
+ }
162
+ }
163
+ }
164
+ },
165
+ "patch": {
166
+ "summary": "Features update",
167
+ "operationId": "features-update",
168
+ "description": "Partial update row in table by providing a key value pair object where key refers to the column alias. You need to only include columns which you want to update.",
169
+ "responses": {
170
+ "200": {
171
+ "description": "OK",
172
+ "content": {
173
+ "application/json": {
174
+ "schema": {}
175
+ }
176
+ }
177
+ },
178
+ "400": {
179
+ "$ref": "#/components/responses/BadRequest"
180
+ }
181
+ },
182
+ "tags": [
183
+ "Features"
184
+ ],
185
+ "requestBody": {
186
+ "content": {
187
+ "application/json": {
188
+ "schema": {
189
+ "oneOf": [
190
+ {
191
+ "$ref": "#/components/schemas/FeaturesRequest"
192
+ },
193
+ {
194
+ "type": "array",
195
+ "items": {
196
+ "$ref": "#/components/schemas/FeaturesRequest"
197
+ }
198
+ }
199
+ ]
200
+ }
201
+ }
202
+ }
203
+ }
204
+ },
205
+ "delete": {
206
+ "summary": "Features delete",
207
+ "operationId": "features-delete",
208
+ "responses": {
209
+ "200": {
210
+ "description": "OK"
211
+ }
212
+ },
213
+ "tags": [
214
+ "Features"
215
+ ],
216
+ "description": "Delete a row by using the **primary key** column value.",
217
+ "requestBody": {
218
+ "content": {
219
+ "application/json": {
220
+ "schema": {
221
+ "oneOf": [
222
+ {
223
+ "$ref": "#/components/schemas/FeaturesIdRequest"
224
+ },
225
+ {
226
+ "type": "array",
227
+ "items": {
228
+ "$ref": "#/components/schemas/FeaturesIdRequest"
229
+ }
230
+ }
231
+ ]
232
+ }
233
+ }
234
+ }
235
+ }
236
+ }
237
+ },
238
+ "/api/v2/tables/mtt03xolo8m1kve/records/{recordId}": {
239
+ "get": {
240
+ "parameters": [
241
+ {
242
+ "schema": {
243
+ "type": "string"
244
+ },
245
+ "name": "recordId",
246
+ "in": "path",
247
+ "required": true,
248
+ "example": 1,
249
+ "description": "Primary key of the record you want to read. If the table have composite primary key then combine them by using `___` and pass it as primary key."
250
+ },
251
+ {
252
+ "schema": {
253
+ "type": "string"
254
+ },
255
+ "in": "query",
256
+ "name": "fields",
257
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
258
+ }
259
+ ],
260
+ "summary": "Features read",
261
+ "description": "Read a row data by using the **primary key** column value.",
262
+ "operationId": "features-read",
263
+ "tags": [
264
+ "Features"
265
+ ],
266
+ "responses": {
267
+ "201": {
268
+ "description": "Created",
269
+ "content": {
270
+ "application/json": {
271
+ "schema": {
272
+ "$ref": "#/components/schemas/FeaturesResponse"
273
+ }
274
+ }
275
+ }
276
+ }
277
+ }
278
+ }
279
+ },
280
+ "/api/v2/tables/mtt03xolo8m1kve/records/count": {
281
+ "parameters": [
282
+ {
283
+ "schema": {
284
+ "type": "string",
285
+ "enum": [
286
+ "vwa6csrzocx682zu"
287
+ ]
288
+ },
289
+ "description": "Allows you to fetch records that are currently visible within a specific view.\n\nViews:\n* vwa6csrzocx682zu - Default view",
290
+ "name": "viewId",
291
+ "in": "query",
292
+ "required": false
293
+ }
294
+ ],
295
+ "get": {
296
+ "summary": "Features count",
297
+ "operationId": "features-count",
298
+ "description": "Get rows count of a table by applying optional filters.",
299
+ "tags": [
300
+ "Features"
301
+ ],
302
+ "parameters": [
303
+ {
304
+ "schema": {
305
+ "type": "string"
306
+ },
307
+ "in": "query",
308
+ "name": "where",
309
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
310
+ }
311
+ ],
312
+ "responses": {
313
+ "200": {
314
+ "description": "OK",
315
+ "content": {
316
+ "application/json": {
317
+ "schema": {
318
+ "type": "object",
319
+ "properties": {
320
+ "count": {
321
+ "type": "number"
322
+ }
323
+ },
324
+ "required": [
325
+ "list",
326
+ "pageInfo"
327
+ ]
328
+ },
329
+ "examples": {
330
+ "Example 1": {
331
+ "value": {
332
+ "count": 3
333
+ }
334
+ }
335
+ }
336
+ }
337
+ }
338
+ },
339
+ "400": {
340
+ "$ref": "#/components/responses/BadRequest"
341
+ }
342
+ }
343
+ }
344
+ },
345
+ "/api/v2/tables/mk3tjsn0g0141aj/records": {
346
+ "get": {
347
+ "summary": "Tours list",
348
+ "operationId": "tours-db-table-row-list",
349
+ "description": "List of all rows from Tours table and response data fields can be filtered based on query params.",
350
+ "tags": [
351
+ "Tours"
352
+ ],
353
+ "parameters": [
354
+ {
355
+ "schema": {
356
+ "type": "string",
357
+ "enum": [
358
+ "vwt2z2kv3xnny2rn"
359
+ ]
360
+ },
361
+ "description": "Allows you to fetch records that are currently visible within a specific view.\n\nViews:\n* vwt2z2kv3xnny2rn - Default view",
362
+ "name": "viewId",
363
+ "in": "query",
364
+ "required": false
365
+ },
366
+ {
367
+ "schema": {
368
+ "type": "string"
369
+ },
370
+ "in": "query",
371
+ "name": "fields",
372
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
373
+ },
374
+ {
375
+ "schema": {
376
+ "type": "string"
377
+ },
378
+ "in": "query",
379
+ "name": "sort",
380
+ "description": "Comma separated field names to sort rows, rows will sort in ascending order based on provided columns. To sort in descending order provide `-` prefix along with column name, like `-field`. Example : `sort=field1,-field2`"
381
+ },
382
+ {
383
+ "schema": {
384
+ "type": "string"
385
+ },
386
+ "in": "query",
387
+ "name": "where",
388
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
389
+ },
390
+ {
391
+ "schema": {
392
+ "type": "number",
393
+ "minimum": 1
394
+ },
395
+ "in": "query",
396
+ "name": "limit",
397
+ "description": "The `limit` parameter used for pagination, the response collection size depends on limit value with default value `25` and maximum value `1000`, which can be overridden by environment variables `DB_QUERY_LIMIT_DEFAULT` and `DB_QUERY_LIMIT_MAX` respectively.",
398
+ "example": 25
399
+ },
400
+ {
401
+ "schema": {
402
+ "type": "number",
403
+ "minimum": 0,
404
+ "maximum": 1
405
+ },
406
+ "in": "query",
407
+ "name": "shuffle",
408
+ "description": "The `shuffle` parameter used for pagination, the response will be shuffled if it is set to 1.",
409
+ "example": 0
410
+ },
411
+ {
412
+ "schema": {
413
+ "type": "number",
414
+ "minimum": 0
415
+ },
416
+ "in": "query",
417
+ "name": "offset",
418
+ "description": "The `offset` parameter used for pagination, the value helps to select collection from a certain index.",
419
+ "example": 0
420
+ }
421
+ ],
422
+ "responses": {
423
+ "200": {
424
+ "description": "OK",
425
+ "content": {
426
+ "application/json": {
427
+ "schema": {
428
+ "type": "object",
429
+ "properties": {
430
+ "list": {
431
+ "type": "array",
432
+ "items": {
433
+ "$ref": "#/components/schemas/ToursResponse"
434
+ }
435
+ },
436
+ "PageInfo": {
437
+ "$ref": "#/components/schemas/Paginated"
438
+ }
439
+ }
440
+ }
441
+ }
442
+ }
443
+ }
444
+ }
445
+ },
446
+ "post": {
447
+ "summary": "Tours create",
448
+ "description": "Insert a new row in table by providing a key value pair object where key refers to the column alias. All the required fields should be included with payload excluding `autoincrement` and column with default value.",
449
+ "operationId": "tours-create",
450
+ "responses": {
451
+ "200": {
452
+ "description": "OK",
453
+ "content": {
454
+ "application/json": {
455
+ "schema": {
456
+ "$ref": "#/components/schemas/ToursResponse"
457
+ }
458
+ }
459
+ }
460
+ },
461
+ "400": {
462
+ "$ref": "#/components/responses/BadRequest"
463
+ }
464
+ },
465
+ "tags": [
466
+ "Tours"
467
+ ],
468
+ "requestBody": {
469
+ "content": {
470
+ "application/json": {
471
+ "schema": {
472
+ "oneOf": [
473
+ {
474
+ "$ref": "#/components/schemas/ToursRequest"
475
+ },
476
+ {
477
+ "type": "array",
478
+ "items": {
479
+ "$ref": "#/components/schemas/ToursRequest"
480
+ }
481
+ }
482
+ ]
483
+ }
484
+ }
485
+ }
486
+ }
487
+ },
488
+ "patch": {
489
+ "summary": "Tours update",
490
+ "operationId": "tours-update",
491
+ "description": "Partial update row in table by providing a key value pair object where key refers to the column alias. You need to only include columns which you want to update.",
492
+ "responses": {
493
+ "200": {
494
+ "description": "OK",
495
+ "content": {
496
+ "application/json": {
497
+ "schema": {}
498
+ }
499
+ }
500
+ },
501
+ "400": {
502
+ "$ref": "#/components/responses/BadRequest"
503
+ }
504
+ },
505
+ "tags": [
506
+ "Tours"
507
+ ],
508
+ "requestBody": {
509
+ "content": {
510
+ "application/json": {
511
+ "schema": {
512
+ "oneOf": [
513
+ {
514
+ "$ref": "#/components/schemas/ToursRequest"
515
+ },
516
+ {
517
+ "type": "array",
518
+ "items": {
519
+ "$ref": "#/components/schemas/ToursRequest"
520
+ }
521
+ }
522
+ ]
523
+ }
524
+ }
525
+ }
526
+ }
527
+ },
528
+ "delete": {
529
+ "summary": "Tours delete",
530
+ "operationId": "tours-delete",
531
+ "responses": {
532
+ "200": {
533
+ "description": "OK"
534
+ }
535
+ },
536
+ "tags": [
537
+ "Tours"
538
+ ],
539
+ "description": "Delete a row by using the **primary key** column value.",
540
+ "requestBody": {
541
+ "content": {
542
+ "application/json": {
543
+ "schema": {
544
+ "oneOf": [
545
+ {
546
+ "$ref": "#/components/schemas/ToursIdRequest"
547
+ },
548
+ {
549
+ "type": "array",
550
+ "items": {
551
+ "$ref": "#/components/schemas/ToursIdRequest"
552
+ }
553
+ }
554
+ ]
555
+ }
556
+ }
557
+ }
558
+ }
559
+ }
560
+ },
561
+ "/api/v2/tables/mk3tjsn0g0141aj/records/{recordId}": {
562
+ "get": {
563
+ "parameters": [
564
+ {
565
+ "schema": {
566
+ "type": "string"
567
+ },
568
+ "name": "recordId",
569
+ "in": "path",
570
+ "required": true,
571
+ "example": 1,
572
+ "description": "Primary key of the record you want to read. If the table have composite primary key then combine them by using `___` and pass it as primary key."
573
+ },
574
+ {
575
+ "schema": {
576
+ "type": "string"
577
+ },
578
+ "in": "query",
579
+ "name": "fields",
580
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
581
+ }
582
+ ],
583
+ "summary": "Tours read",
584
+ "description": "Read a row data by using the **primary key** column value.",
585
+ "operationId": "tours-read",
586
+ "tags": [
587
+ "Tours"
588
+ ],
589
+ "responses": {
590
+ "201": {
591
+ "description": "Created",
592
+ "content": {
593
+ "application/json": {
594
+ "schema": {
595
+ "$ref": "#/components/schemas/ToursResponse"
596
+ }
597
+ }
598
+ }
599
+ }
600
+ }
601
+ }
602
+ },
603
+ "/api/v2/tables/mk3tjsn0g0141aj/records/count": {
604
+ "parameters": [
605
+ {
606
+ "schema": {
607
+ "type": "string",
608
+ "enum": [
609
+ "vwt2z2kv3xnny2rn"
610
+ ]
611
+ },
612
+ "description": "Allows you to fetch records that are currently visible within a specific view.\n\nViews:\n* vwt2z2kv3xnny2rn - Default view",
613
+ "name": "viewId",
614
+ "in": "query",
615
+ "required": false
616
+ }
617
+ ],
618
+ "get": {
619
+ "summary": "Tours count",
620
+ "operationId": "tours-count",
621
+ "description": "Get rows count of a table by applying optional filters.",
622
+ "tags": [
623
+ "Tours"
624
+ ],
625
+ "parameters": [
626
+ {
627
+ "schema": {
628
+ "type": "string"
629
+ },
630
+ "in": "query",
631
+ "name": "where",
632
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
633
+ }
634
+ ],
635
+ "responses": {
636
+ "200": {
637
+ "description": "OK",
638
+ "content": {
639
+ "application/json": {
640
+ "schema": {
641
+ "type": "object",
642
+ "properties": {
643
+ "count": {
644
+ "type": "number"
645
+ }
646
+ },
647
+ "required": [
648
+ "list",
649
+ "pageInfo"
650
+ ]
651
+ },
652
+ "examples": {
653
+ "Example 1": {
654
+ "value": {
655
+ "count": 3
656
+ }
657
+ }
658
+ }
659
+ }
660
+ }
661
+ },
662
+ "400": {
663
+ "$ref": "#/components/responses/BadRequest"
664
+ }
665
+ }
666
+ }
667
+ },
668
+ "/api/v2/tables/mk3tjsn0g0141aj/links/{linkFieldId}/records/{recordId}": {
669
+ "parameters": [
670
+ {
671
+ "schema": {
672
+ "type": "string",
673
+ "enum": [
674
+ "c03xxobu37h493o"
675
+ ]
676
+ },
677
+ "name": "linkFieldId",
678
+ "in": "path",
679
+ "required": true,
680
+ "description": "**Links Field Identifier** corresponding to the relation field `Links` established between tables.\n\nLink Columns:\n* c03xxobu37h493o - stages"
681
+ },
682
+ {
683
+ "schema": {
684
+ "type": "string"
685
+ },
686
+ "name": "recordId",
687
+ "in": "path",
688
+ "required": true,
689
+ "example": 1,
690
+ "description": "Primary key of the record you want to read. If the table have composite primary key then combine them by using `___` and pass it as primary key."
691
+ }
692
+ ],
693
+ "get": {
694
+ "summary": "Link Records list",
695
+ "operationId": "tours-nested-list",
696
+ "description": "This API endpoint allows you to retrieve list of linked records for a specific `Link field` and `Record ID`. The response is an array of objects containing Primary Key and its corresponding display value.",
697
+ "tags": [
698
+ "Tours"
699
+ ],
700
+ "parameters": [
701
+ {
702
+ "schema": {
703
+ "type": "string"
704
+ },
705
+ "in": "query",
706
+ "name": "fields",
707
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
708
+ },
709
+ {
710
+ "schema": {
711
+ "type": "string"
712
+ },
713
+ "in": "query",
714
+ "name": "sort",
715
+ "description": "Comma separated field names to sort rows, rows will sort in ascending order based on provided columns. To sort in descending order provide `-` prefix along with column name, like `-field`. Example : `sort=field1,-field2`"
716
+ },
717
+ {
718
+ "schema": {
719
+ "type": "string"
720
+ },
721
+ "in": "query",
722
+ "name": "where",
723
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
724
+ },
725
+ {
726
+ "schema": {
727
+ "type": "number",
728
+ "minimum": 1
729
+ },
730
+ "in": "query",
731
+ "name": "limit",
732
+ "description": "The `limit` parameter used for pagination, the response collection size depends on limit value with default value `25` and maximum value `1000`, which can be overridden by environment variables `DB_QUERY_LIMIT_DEFAULT` and `DB_QUERY_LIMIT_MAX` respectively.",
733
+ "example": 25
734
+ },
735
+ {
736
+ "schema": {
737
+ "type": "number",
738
+ "minimum": 0
739
+ },
740
+ "in": "query",
741
+ "name": "offset",
742
+ "description": "The `offset` parameter used for pagination, the value helps to select collection from a certain index.",
743
+ "example": 0
744
+ }
745
+ ],
746
+ "responses": {
747
+ "200": {
748
+ "description": "OK",
749
+ "content": {
750
+ "application/json": {
751
+ "schema": {
752
+ "type": "object",
753
+ "properties": {
754
+ "list": {
755
+ "type": "array",
756
+ "description": "List of data objects",
757
+ "items": {
758
+ "type": "object"
759
+ }
760
+ },
761
+ "pageInfo": {
762
+ "$ref": "#/components/schemas/Paginated",
763
+ "description": "Paginated Info"
764
+ }
765
+ },
766
+ "required": [
767
+ "list",
768
+ "pageInfo"
769
+ ]
770
+ }
771
+ }
772
+ }
773
+ },
774
+ "400": {
775
+ "$ref": "#/components/responses/BadRequest"
776
+ }
777
+ }
778
+ },
779
+ "post": {
780
+ "summary": "Link Records",
781
+ "operationId": "tours-nested-link",
782
+ "responses": {
783
+ "200": {
784
+ "description": "OK",
785
+ "content": {
786
+ "application/json": {
787
+ "schema": {},
788
+ "examples": {
789
+ "Example 1": {
790
+ "value": true
791
+ }
792
+ }
793
+ }
794
+ }
795
+ },
796
+ "400": {
797
+ "$ref": "#/components/responses/BadRequest"
798
+ }
799
+ },
800
+ "tags": [
801
+ "Tours"
802
+ ],
803
+ "requestBody": {
804
+ "content": {
805
+ "application/json": {
806
+ "schema": {
807
+ "oneOf": [
808
+ {
809
+ "type": "object"
810
+ },
811
+ {
812
+ "type": "array",
813
+ "items": {
814
+ "type": "object"
815
+ }
816
+ }
817
+ ]
818
+ },
819
+ "examples": {
820
+ "Example 1": {
821
+ "value": [
822
+ {
823
+ "Id": 4
824
+ },
825
+ {
826
+ "Id": 5
827
+ }
828
+ ]
829
+ },
830
+ "Example 2": {
831
+ "value": {
832
+ "Id": 4
833
+ }
834
+ }
835
+ }
836
+ }
837
+ }
838
+ },
839
+ "description": "This API endpoint allows you to link records to a specific `Link field` and `Record ID`. The request payload is an array of record-ids from the adjacent table for linking purposes. Note that any existing links, if present, will be unaffected during this operation.",
840
+ "parameters": [
841
+ {
842
+ "schema": {
843
+ "type": "string"
844
+ },
845
+ "name": "recordId",
846
+ "in": "path",
847
+ "required": true,
848
+ "example": 1,
849
+ "description": "Primary key of the record you want to read. If the table have composite primary key then combine them by using `___` and pass it as primary key."
850
+ }
851
+ ]
852
+ },
853
+ "delete": {
854
+ "summary": "Unlink Records",
855
+ "operationId": "tours-nested-unlink",
856
+ "responses": {
857
+ "200": {
858
+ "description": "OK",
859
+ "content": {
860
+ "application/json": {
861
+ "schema": {},
862
+ "examples": {
863
+ "Example 1": {
864
+ "value": true
865
+ }
866
+ }
867
+ }
868
+ }
869
+ },
870
+ "400": {
871
+ "$ref": "#/components/responses/BadRequest"
872
+ }
873
+ },
874
+ "tags": [
875
+ "Tours"
876
+ ],
877
+ "requestBody": {
878
+ "content": {
879
+ "application/json": {
880
+ "schema": {
881
+ "oneOf": [
882
+ {
883
+ "type": "array",
884
+ "items": {
885
+ "type": "object"
886
+ }
887
+ }
888
+ ]
889
+ },
890
+ "examples": {
891
+ "Example 1": {
892
+ "value": [
893
+ {
894
+ "Id": 1
895
+ },
896
+ {
897
+ "Id": 2
898
+ }
899
+ ]
900
+ }
901
+ }
902
+ }
903
+ }
904
+ },
905
+ "description": "This API endpoint allows you to unlink records from a specific `Link field` and `Record ID`. The request payload is an array of record-ids from the adjacent table for unlinking purposes. Note that, \n- duplicated record-ids will be ignored.\n- non-existent record-ids will be ignored.",
906
+ "parameters": [
907
+ {
908
+ "schema": {
909
+ "type": "string"
910
+ },
911
+ "name": "recordId",
912
+ "in": "path",
913
+ "required": true,
914
+ "example": 1,
915
+ "description": "Primary key of the record you want to read. If the table have composite primary key then combine them by using `___` and pass it as primary key."
916
+ }
917
+ ]
918
+ }
919
+ },
920
+ "/api/v2/tables/mmsajq9ewj2s4ta/records": {
921
+ "get": {
922
+ "summary": "Routes list",
923
+ "operationId": "routes-db-table-row-list",
924
+ "description": "List of all rows from Routes table and response data fields can be filtered based on query params.",
925
+ "tags": [
926
+ "Routes"
927
+ ],
928
+ "parameters": [
929
+ {
930
+ "schema": {
931
+ "type": "string",
932
+ "enum": [
933
+ "vwndrz5ffwfgynlb"
934
+ ]
935
+ },
936
+ "description": "Allows you to fetch records that are currently visible within a specific view.\n\nViews:\n* vwndrz5ffwfgynlb - Default view",
937
+ "name": "viewId",
938
+ "in": "query",
939
+ "required": false
940
+ },
941
+ {
942
+ "schema": {
943
+ "type": "string"
944
+ },
945
+ "in": "query",
946
+ "name": "fields",
947
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
948
+ },
949
+ {
950
+ "schema": {
951
+ "type": "string"
952
+ },
953
+ "in": "query",
954
+ "name": "sort",
955
+ "description": "Comma separated field names to sort rows, rows will sort in ascending order based on provided columns. To sort in descending order provide `-` prefix along with column name, like `-field`. Example : `sort=field1,-field2`"
956
+ },
957
+ {
958
+ "schema": {
959
+ "type": "string"
960
+ },
961
+ "in": "query",
962
+ "name": "where",
963
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
964
+ },
965
+ {
966
+ "schema": {
967
+ "type": "number",
968
+ "minimum": 1
969
+ },
970
+ "in": "query",
971
+ "name": "limit",
972
+ "description": "The `limit` parameter used for pagination, the response collection size depends on limit value with default value `25` and maximum value `1000`, which can be overridden by environment variables `DB_QUERY_LIMIT_DEFAULT` and `DB_QUERY_LIMIT_MAX` respectively.",
973
+ "example": 25
974
+ },
975
+ {
976
+ "schema": {
977
+ "type": "number",
978
+ "minimum": 0,
979
+ "maximum": 1
980
+ },
981
+ "in": "query",
982
+ "name": "shuffle",
983
+ "description": "The `shuffle` parameter used for pagination, the response will be shuffled if it is set to 1.",
984
+ "example": 0
985
+ },
986
+ {
987
+ "schema": {
988
+ "type": "number",
989
+ "minimum": 0
990
+ },
991
+ "in": "query",
992
+ "name": "offset",
993
+ "description": "The `offset` parameter used for pagination, the value helps to select collection from a certain index.",
994
+ "example": 0
995
+ }
996
+ ],
997
+ "responses": {
998
+ "200": {
999
+ "description": "OK",
1000
+ "content": {
1001
+ "application/json": {
1002
+ "schema": {
1003
+ "type": "object",
1004
+ "properties": {
1005
+ "list": {
1006
+ "type": "array",
1007
+ "items": {
1008
+ "$ref": "#/components/schemas/RoutesResponse"
1009
+ }
1010
+ },
1011
+ "PageInfo": {
1012
+ "$ref": "#/components/schemas/Paginated"
1013
+ }
1014
+ }
1015
+ }
1016
+ }
1017
+ }
1018
+ }
1019
+ }
1020
+ },
1021
+ "post": {
1022
+ "summary": "Routes create",
1023
+ "description": "Insert a new row in table by providing a key value pair object where key refers to the column alias. All the required fields should be included with payload excluding `autoincrement` and column with default value.",
1024
+ "operationId": "routes-create",
1025
+ "responses": {
1026
+ "200": {
1027
+ "description": "OK",
1028
+ "content": {
1029
+ "application/json": {
1030
+ "schema": {
1031
+ "$ref": "#/components/schemas/RoutesResponse"
1032
+ }
1033
+ }
1034
+ }
1035
+ },
1036
+ "400": {
1037
+ "$ref": "#/components/responses/BadRequest"
1038
+ }
1039
+ },
1040
+ "tags": [
1041
+ "Routes"
1042
+ ],
1043
+ "requestBody": {
1044
+ "content": {
1045
+ "application/json": {
1046
+ "schema": {
1047
+ "oneOf": [
1048
+ {
1049
+ "$ref": "#/components/schemas/RoutesRequest"
1050
+ },
1051
+ {
1052
+ "type": "array",
1053
+ "items": {
1054
+ "$ref": "#/components/schemas/RoutesRequest"
1055
+ }
1056
+ }
1057
+ ]
1058
+ }
1059
+ }
1060
+ }
1061
+ }
1062
+ },
1063
+ "patch": {
1064
+ "summary": "Routes update",
1065
+ "operationId": "routes-update",
1066
+ "description": "Partial update row in table by providing a key value pair object where key refers to the column alias. You need to only include columns which you want to update.",
1067
+ "responses": {
1068
+ "200": {
1069
+ "description": "OK",
1070
+ "content": {
1071
+ "application/json": {
1072
+ "schema": {}
1073
+ }
1074
+ }
1075
+ },
1076
+ "400": {
1077
+ "$ref": "#/components/responses/BadRequest"
1078
+ }
1079
+ },
1080
+ "tags": [
1081
+ "Routes"
1082
+ ],
1083
+ "requestBody": {
1084
+ "content": {
1085
+ "application/json": {
1086
+ "schema": {
1087
+ "oneOf": [
1088
+ {
1089
+ "$ref": "#/components/schemas/RoutesRequest"
1090
+ },
1091
+ {
1092
+ "type": "array",
1093
+ "items": {
1094
+ "$ref": "#/components/schemas/RoutesRequest"
1095
+ }
1096
+ }
1097
+ ]
1098
+ }
1099
+ }
1100
+ }
1101
+ }
1102
+ },
1103
+ "delete": {
1104
+ "summary": "Routes delete",
1105
+ "operationId": "routes-delete",
1106
+ "responses": {
1107
+ "200": {
1108
+ "description": "OK"
1109
+ }
1110
+ },
1111
+ "tags": [
1112
+ "Routes"
1113
+ ],
1114
+ "description": "Delete a row by using the **primary key** column value.",
1115
+ "requestBody": {
1116
+ "content": {
1117
+ "application/json": {
1118
+ "schema": {
1119
+ "oneOf": [
1120
+ {
1121
+ "$ref": "#/components/schemas/RoutesIdRequest"
1122
+ },
1123
+ {
1124
+ "type": "array",
1125
+ "items": {
1126
+ "$ref": "#/components/schemas/RoutesIdRequest"
1127
+ }
1128
+ }
1129
+ ]
1130
+ }
1131
+ }
1132
+ }
1133
+ }
1134
+ }
1135
+ },
1136
+ "/api/v2/tables/mmsajq9ewj2s4ta/records/{recordId}": {
1137
+ "get": {
1138
+ "parameters": [
1139
+ {
1140
+ "schema": {
1141
+ "type": "string"
1142
+ },
1143
+ "name": "recordId",
1144
+ "in": "path",
1145
+ "required": true,
1146
+ "example": 1,
1147
+ "description": "Primary key of the record you want to read. If the table have composite primary key then combine them by using `___` and pass it as primary key."
1148
+ },
1149
+ {
1150
+ "schema": {
1151
+ "type": "string"
1152
+ },
1153
+ "in": "query",
1154
+ "name": "fields",
1155
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
1156
+ }
1157
+ ],
1158
+ "summary": "Routes read",
1159
+ "description": "Read a row data by using the **primary key** column value.",
1160
+ "operationId": "routes-read",
1161
+ "tags": [
1162
+ "Routes"
1163
+ ],
1164
+ "responses": {
1165
+ "201": {
1166
+ "description": "Created",
1167
+ "content": {
1168
+ "application/json": {
1169
+ "schema": {
1170
+ "$ref": "#/components/schemas/RoutesResponse"
1171
+ }
1172
+ }
1173
+ }
1174
+ }
1175
+ }
1176
+ }
1177
+ },
1178
+ "/api/v2/tables/mmsajq9ewj2s4ta/records/count": {
1179
+ "parameters": [
1180
+ {
1181
+ "schema": {
1182
+ "type": "string",
1183
+ "enum": [
1184
+ "vwndrz5ffwfgynlb"
1185
+ ]
1186
+ },
1187
+ "description": "Allows you to fetch records that are currently visible within a specific view.\n\nViews:\n* vwndrz5ffwfgynlb - Default view",
1188
+ "name": "viewId",
1189
+ "in": "query",
1190
+ "required": false
1191
+ }
1192
+ ],
1193
+ "get": {
1194
+ "summary": "Routes count",
1195
+ "operationId": "routes-count",
1196
+ "description": "Get rows count of a table by applying optional filters.",
1197
+ "tags": [
1198
+ "Routes"
1199
+ ],
1200
+ "parameters": [
1201
+ {
1202
+ "schema": {
1203
+ "type": "string"
1204
+ },
1205
+ "in": "query",
1206
+ "name": "where",
1207
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
1208
+ }
1209
+ ],
1210
+ "responses": {
1211
+ "200": {
1212
+ "description": "OK",
1213
+ "content": {
1214
+ "application/json": {
1215
+ "schema": {
1216
+ "type": "object",
1217
+ "properties": {
1218
+ "count": {
1219
+ "type": "number"
1220
+ }
1221
+ },
1222
+ "required": [
1223
+ "list",
1224
+ "pageInfo"
1225
+ ]
1226
+ },
1227
+ "examples": {
1228
+ "Example 1": {
1229
+ "value": {
1230
+ "count": 3
1231
+ }
1232
+ }
1233
+ }
1234
+ }
1235
+ }
1236
+ },
1237
+ "400": {
1238
+ "$ref": "#/components/responses/BadRequest"
1239
+ }
1240
+ }
1241
+ }
1242
+ },
1243
+ "/api/v2/tables/mmsajq9ewj2s4ta/links/{linkFieldId}/records/{recordId}": {
1244
+ "parameters": [
1245
+ {
1246
+ "schema": {
1247
+ "type": "string",
1248
+ "enum": [
1249
+ "c671laqhnzlzs4e"
1250
+ ]
1251
+ },
1252
+ "name": "linkFieldId",
1253
+ "in": "path",
1254
+ "required": true,
1255
+ "description": "**Links Field Identifier** corresponding to the relation field `Links` established between tables.\n\nLink Columns:\n* c671laqhnzlzs4e - scheduled_days"
1256
+ },
1257
+ {
1258
+ "schema": {
1259
+ "type": "string"
1260
+ },
1261
+ "name": "recordId",
1262
+ "in": "path",
1263
+ "required": true,
1264
+ "example": 1,
1265
+ "description": "Primary key of the record you want to read. If the table have composite primary key then combine them by using `___` and pass it as primary key."
1266
+ }
1267
+ ],
1268
+ "get": {
1269
+ "summary": "Link Records list",
1270
+ "operationId": "routes-nested-list",
1271
+ "description": "This API endpoint allows you to retrieve list of linked records for a specific `Link field` and `Record ID`. The response is an array of objects containing Primary Key and its corresponding display value.",
1272
+ "tags": [
1273
+ "Routes"
1274
+ ],
1275
+ "parameters": [
1276
+ {
1277
+ "schema": {
1278
+ "type": "string"
1279
+ },
1280
+ "in": "query",
1281
+ "name": "fields",
1282
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
1283
+ },
1284
+ {
1285
+ "schema": {
1286
+ "type": "string"
1287
+ },
1288
+ "in": "query",
1289
+ "name": "sort",
1290
+ "description": "Comma separated field names to sort rows, rows will sort in ascending order based on provided columns. To sort in descending order provide `-` prefix along with column name, like `-field`. Example : `sort=field1,-field2`"
1291
+ },
1292
+ {
1293
+ "schema": {
1294
+ "type": "string"
1295
+ },
1296
+ "in": "query",
1297
+ "name": "where",
1298
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
1299
+ },
1300
+ {
1301
+ "schema": {
1302
+ "type": "number",
1303
+ "minimum": 1
1304
+ },
1305
+ "in": "query",
1306
+ "name": "limit",
1307
+ "description": "The `limit` parameter used for pagination, the response collection size depends on limit value with default value `25` and maximum value `1000`, which can be overridden by environment variables `DB_QUERY_LIMIT_DEFAULT` and `DB_QUERY_LIMIT_MAX` respectively.",
1308
+ "example": 25
1309
+ },
1310
+ {
1311
+ "schema": {
1312
+ "type": "number",
1313
+ "minimum": 0
1314
+ },
1315
+ "in": "query",
1316
+ "name": "offset",
1317
+ "description": "The `offset` parameter used for pagination, the value helps to select collection from a certain index.",
1318
+ "example": 0
1319
+ }
1320
+ ],
1321
+ "responses": {
1322
+ "200": {
1323
+ "description": "OK",
1324
+ "content": {
1325
+ "application/json": {
1326
+ "schema": {
1327
+ "type": "object",
1328
+ "properties": {
1329
+ "list": {
1330
+ "type": "array",
1331
+ "description": "List of data objects",
1332
+ "items": {
1333
+ "type": "object"
1334
+ }
1335
+ },
1336
+ "pageInfo": {
1337
+ "$ref": "#/components/schemas/Paginated",
1338
+ "description": "Paginated Info"
1339
+ }
1340
+ },
1341
+ "required": [
1342
+ "list",
1343
+ "pageInfo"
1344
+ ]
1345
+ }
1346
+ }
1347
+ }
1348
+ },
1349
+ "400": {
1350
+ "$ref": "#/components/responses/BadRequest"
1351
+ }
1352
+ }
1353
+ },
1354
+ "post": {
1355
+ "summary": "Link Records",
1356
+ "operationId": "routes-nested-link",
1357
+ "responses": {
1358
+ "200": {
1359
+ "description": "OK",
1360
+ "content": {
1361
+ "application/json": {
1362
+ "schema": {},
1363
+ "examples": {
1364
+ "Example 1": {
1365
+ "value": true
1366
+ }
1367
+ }
1368
+ }
1369
+ }
1370
+ },
1371
+ "400": {
1372
+ "$ref": "#/components/responses/BadRequest"
1373
+ }
1374
+ },
1375
+ "tags": [
1376
+ "Routes"
1377
+ ],
1378
+ "requestBody": {
1379
+ "content": {
1380
+ "application/json": {
1381
+ "schema": {
1382
+ "oneOf": [
1383
+ {
1384
+ "type": "object"
1385
+ },
1386
+ {
1387
+ "type": "array",
1388
+ "items": {
1389
+ "type": "object"
1390
+ }
1391
+ }
1392
+ ]
1393
+ },
1394
+ "examples": {
1395
+ "Example 1": {
1396
+ "value": [
1397
+ {
1398
+ "Id": 4
1399
+ },
1400
+ {
1401
+ "Id": 5
1402
+ }
1403
+ ]
1404
+ },
1405
+ "Example 2": {
1406
+ "value": {
1407
+ "Id": 4
1408
+ }
1409
+ }
1410
+ }
1411
+ }
1412
+ }
1413
+ },
1414
+ "description": "This API endpoint allows you to link records to a specific `Link field` and `Record ID`. The request payload is an array of record-ids from the adjacent table for linking purposes. Note that any existing links, if present, will be unaffected during this operation.",
1415
+ "parameters": [
1416
+ {
1417
+ "schema": {
1418
+ "type": "string"
1419
+ },
1420
+ "name": "recordId",
1421
+ "in": "path",
1422
+ "required": true,
1423
+ "example": 1,
1424
+ "description": "Primary key of the record you want to read. If the table have composite primary key then combine them by using `___` and pass it as primary key."
1425
+ }
1426
+ ]
1427
+ },
1428
+ "delete": {
1429
+ "summary": "Unlink Records",
1430
+ "operationId": "routes-nested-unlink",
1431
+ "responses": {
1432
+ "200": {
1433
+ "description": "OK",
1434
+ "content": {
1435
+ "application/json": {
1436
+ "schema": {},
1437
+ "examples": {
1438
+ "Example 1": {
1439
+ "value": true
1440
+ }
1441
+ }
1442
+ }
1443
+ }
1444
+ },
1445
+ "400": {
1446
+ "$ref": "#/components/responses/BadRequest"
1447
+ }
1448
+ },
1449
+ "tags": [
1450
+ "Routes"
1451
+ ],
1452
+ "requestBody": {
1453
+ "content": {
1454
+ "application/json": {
1455
+ "schema": {
1456
+ "oneOf": [
1457
+ {
1458
+ "type": "array",
1459
+ "items": {
1460
+ "type": "object"
1461
+ }
1462
+ }
1463
+ ]
1464
+ },
1465
+ "examples": {
1466
+ "Example 1": {
1467
+ "value": [
1468
+ {
1469
+ "Id": 1
1470
+ },
1471
+ {
1472
+ "Id": 2
1473
+ }
1474
+ ]
1475
+ }
1476
+ }
1477
+ }
1478
+ }
1479
+ },
1480
+ "description": "This API endpoint allows you to unlink records from a specific `Link field` and `Record ID`. The request payload is an array of record-ids from the adjacent table for unlinking purposes. Note that, \n- duplicated record-ids will be ignored.\n- non-existent record-ids will be ignored.",
1481
+ "parameters": [
1482
+ {
1483
+ "schema": {
1484
+ "type": "string"
1485
+ },
1486
+ "name": "recordId",
1487
+ "in": "path",
1488
+ "required": true,
1489
+ "example": 1,
1490
+ "description": "Primary key of the record you want to read. If the table have composite primary key then combine them by using `___` and pass it as primary key."
1491
+ }
1492
+ ]
1493
+ }
1494
+ },
1495
+ "/api/v2/tables/mol2r6h3c6fsn3m/records": {
1496
+ "get": {
1497
+ "summary": "ItineraryDays list",
1498
+ "operationId": "itinerarydays-db-table-row-list",
1499
+ "description": "List of all rows from ItineraryDays table and response data fields can be filtered based on query params.",
1500
+ "tags": [
1501
+ "ItineraryDays"
1502
+ ],
1503
+ "parameters": [
1504
+ {
1505
+ "schema": {
1506
+ "type": "string",
1507
+ "enum": [
1508
+ "vw7lp301nw9993p2"
1509
+ ]
1510
+ },
1511
+ "description": "Allows you to fetch records that are currently visible within a specific view.\n\nViews:\n* vw7lp301nw9993p2 - Default view",
1512
+ "name": "viewId",
1513
+ "in": "query",
1514
+ "required": false
1515
+ },
1516
+ {
1517
+ "schema": {
1518
+ "type": "string"
1519
+ },
1520
+ "in": "query",
1521
+ "name": "fields",
1522
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
1523
+ },
1524
+ {
1525
+ "schema": {
1526
+ "type": "string"
1527
+ },
1528
+ "in": "query",
1529
+ "name": "sort",
1530
+ "description": "Comma separated field names to sort rows, rows will sort in ascending order based on provided columns. To sort in descending order provide `-` prefix along with column name, like `-field`. Example : `sort=field1,-field2`"
1531
+ },
1532
+ {
1533
+ "schema": {
1534
+ "type": "string"
1535
+ },
1536
+ "in": "query",
1537
+ "name": "where",
1538
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
1539
+ },
1540
+ {
1541
+ "schema": {
1542
+ "type": "number",
1543
+ "minimum": 1
1544
+ },
1545
+ "in": "query",
1546
+ "name": "limit",
1547
+ "description": "The `limit` parameter used for pagination, the response collection size depends on limit value with default value `25` and maximum value `1000`, which can be overridden by environment variables `DB_QUERY_LIMIT_DEFAULT` and `DB_QUERY_LIMIT_MAX` respectively.",
1548
+ "example": 25
1549
+ },
1550
+ {
1551
+ "schema": {
1552
+ "type": "number",
1553
+ "minimum": 0,
1554
+ "maximum": 1
1555
+ },
1556
+ "in": "query",
1557
+ "name": "shuffle",
1558
+ "description": "The `shuffle` parameter used for pagination, the response will be shuffled if it is set to 1.",
1559
+ "example": 0
1560
+ },
1561
+ {
1562
+ "schema": {
1563
+ "type": "number",
1564
+ "minimum": 0
1565
+ },
1566
+ "in": "query",
1567
+ "name": "offset",
1568
+ "description": "The `offset` parameter used for pagination, the value helps to select collection from a certain index.",
1569
+ "example": 0
1570
+ },
1571
+ {
1572
+ "schema": {
1573
+ "type": "string"
1574
+ },
1575
+ "in": "query",
1576
+ "name": "nested[Tours][fields]",
1577
+ "description": "Array of field names or comma separated filed names to include in the in nested column `Tours` result. In array syntax pass it like `fields[]=field1&fields[]=field2.`. Example : `nested[Tours][fields]=field1,field2`"
1578
+ },
1579
+ {
1580
+ "schema": {
1581
+ "type": "string"
1582
+ },
1583
+ "in": "query",
1584
+ "name": "nested[Routes][fields]",
1585
+ "description": "Array of field names or comma separated filed names to include in the in nested column `Routes` result. In array syntax pass it like `fields[]=field1&fields[]=field2.`. Example : `nested[Routes][fields]=field1,field2`"
1586
+ }
1587
+ ],
1588
+ "responses": {
1589
+ "200": {
1590
+ "description": "OK",
1591
+ "content": {
1592
+ "application/json": {
1593
+ "schema": {
1594
+ "type": "object",
1595
+ "properties": {
1596
+ "list": {
1597
+ "type": "array",
1598
+ "items": {
1599
+ "$ref": "#/components/schemas/ItineraryDaysResponse"
1600
+ }
1601
+ },
1602
+ "PageInfo": {
1603
+ "$ref": "#/components/schemas/Paginated"
1604
+ }
1605
+ }
1606
+ }
1607
+ }
1608
+ }
1609
+ }
1610
+ }
1611
+ },
1612
+ "post": {
1613
+ "summary": "ItineraryDays create",
1614
+ "description": "Insert a new row in table by providing a key value pair object where key refers to the column alias. All the required fields should be included with payload excluding `autoincrement` and column with default value.",
1615
+ "operationId": "itinerarydays-create",
1616
+ "responses": {
1617
+ "200": {
1618
+ "description": "OK",
1619
+ "content": {
1620
+ "application/json": {
1621
+ "schema": {
1622
+ "$ref": "#/components/schemas/ItineraryDaysResponse"
1623
+ }
1624
+ }
1625
+ }
1626
+ },
1627
+ "400": {
1628
+ "$ref": "#/components/responses/BadRequest"
1629
+ }
1630
+ },
1631
+ "tags": [
1632
+ "ItineraryDays"
1633
+ ],
1634
+ "requestBody": {
1635
+ "content": {
1636
+ "application/json": {
1637
+ "schema": {
1638
+ "oneOf": [
1639
+ {
1640
+ "$ref": "#/components/schemas/ItineraryDaysRequest"
1641
+ },
1642
+ {
1643
+ "type": "array",
1644
+ "items": {
1645
+ "$ref": "#/components/schemas/ItineraryDaysRequest"
1646
+ }
1647
+ }
1648
+ ]
1649
+ }
1650
+ }
1651
+ }
1652
+ }
1653
+ },
1654
+ "patch": {
1655
+ "summary": "ItineraryDays update",
1656
+ "operationId": "itinerarydays-update",
1657
+ "description": "Partial update row in table by providing a key value pair object where key refers to the column alias. You need to only include columns which you want to update.",
1658
+ "responses": {
1659
+ "200": {
1660
+ "description": "OK",
1661
+ "content": {
1662
+ "application/json": {
1663
+ "schema": {}
1664
+ }
1665
+ }
1666
+ },
1667
+ "400": {
1668
+ "$ref": "#/components/responses/BadRequest"
1669
+ }
1670
+ },
1671
+ "tags": [
1672
+ "ItineraryDays"
1673
+ ],
1674
+ "requestBody": {
1675
+ "content": {
1676
+ "application/json": {
1677
+ "schema": {
1678
+ "oneOf": [
1679
+ {
1680
+ "$ref": "#/components/schemas/ItineraryDaysRequest"
1681
+ },
1682
+ {
1683
+ "type": "array",
1684
+ "items": {
1685
+ "$ref": "#/components/schemas/ItineraryDaysRequest"
1686
+ }
1687
+ }
1688
+ ]
1689
+ }
1690
+ }
1691
+ }
1692
+ }
1693
+ },
1694
+ "delete": {
1695
+ "summary": "ItineraryDays delete",
1696
+ "operationId": "itinerarydays-delete",
1697
+ "responses": {
1698
+ "200": {
1699
+ "description": "OK"
1700
+ }
1701
+ },
1702
+ "tags": [
1703
+ "ItineraryDays"
1704
+ ],
1705
+ "description": "Delete a row by using the **primary key** column value.",
1706
+ "requestBody": {
1707
+ "content": {
1708
+ "application/json": {
1709
+ "schema": {
1710
+ "oneOf": [
1711
+ {
1712
+ "$ref": "#/components/schemas/ItineraryDaysIdRequest"
1713
+ },
1714
+ {
1715
+ "type": "array",
1716
+ "items": {
1717
+ "$ref": "#/components/schemas/ItineraryDaysIdRequest"
1718
+ }
1719
+ }
1720
+ ]
1721
+ }
1722
+ }
1723
+ }
1724
+ }
1725
+ }
1726
+ },
1727
+ "/api/v2/tables/mol2r6h3c6fsn3m/records/{recordId}": {
1728
+ "get": {
1729
+ "parameters": [
1730
+ {
1731
+ "schema": {
1732
+ "type": "string"
1733
+ },
1734
+ "name": "recordId",
1735
+ "in": "path",
1736
+ "required": true,
1737
+ "example": 1,
1738
+ "description": "Primary key of the record you want to read. If the table have composite primary key then combine them by using `___` and pass it as primary key."
1739
+ },
1740
+ {
1741
+ "schema": {
1742
+ "type": "string"
1743
+ },
1744
+ "in": "query",
1745
+ "name": "fields",
1746
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
1747
+ }
1748
+ ],
1749
+ "summary": "ItineraryDays read",
1750
+ "description": "Read a row data by using the **primary key** column value.",
1751
+ "operationId": "itinerarydays-read",
1752
+ "tags": [
1753
+ "ItineraryDays"
1754
+ ],
1755
+ "responses": {
1756
+ "201": {
1757
+ "description": "Created",
1758
+ "content": {
1759
+ "application/json": {
1760
+ "schema": {
1761
+ "$ref": "#/components/schemas/ItineraryDaysResponse"
1762
+ }
1763
+ }
1764
+ }
1765
+ }
1766
+ }
1767
+ }
1768
+ },
1769
+ "/api/v2/tables/mol2r6h3c6fsn3m/records/count": {
1770
+ "parameters": [
1771
+ {
1772
+ "schema": {
1773
+ "type": "string",
1774
+ "enum": [
1775
+ "vw7lp301nw9993p2"
1776
+ ]
1777
+ },
1778
+ "description": "Allows you to fetch records that are currently visible within a specific view.\n\nViews:\n* vw7lp301nw9993p2 - Default view",
1779
+ "name": "viewId",
1780
+ "in": "query",
1781
+ "required": false
1782
+ }
1783
+ ],
1784
+ "get": {
1785
+ "summary": "ItineraryDays count",
1786
+ "operationId": "itinerarydays-count",
1787
+ "description": "Get rows count of a table by applying optional filters.",
1788
+ "tags": [
1789
+ "ItineraryDays"
1790
+ ],
1791
+ "parameters": [
1792
+ {
1793
+ "schema": {
1794
+ "type": "string"
1795
+ },
1796
+ "in": "query",
1797
+ "name": "where",
1798
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
1799
+ }
1800
+ ],
1801
+ "responses": {
1802
+ "200": {
1803
+ "description": "OK",
1804
+ "content": {
1805
+ "application/json": {
1806
+ "schema": {
1807
+ "type": "object",
1808
+ "properties": {
1809
+ "count": {
1810
+ "type": "number"
1811
+ }
1812
+ },
1813
+ "required": [
1814
+ "list",
1815
+ "pageInfo"
1816
+ ]
1817
+ },
1818
+ "examples": {
1819
+ "Example 1": {
1820
+ "value": {
1821
+ "count": 3
1822
+ }
1823
+ }
1824
+ }
1825
+ }
1826
+ }
1827
+ },
1828
+ "400": {
1829
+ "$ref": "#/components/responses/BadRequest"
1830
+ }
1831
+ }
1832
+ }
1833
+ },
1834
+ "/api/v2/tables/mol2r6h3c6fsn3m/links/{linkFieldId}/records/{recordId}": {
1835
+ "parameters": [
1836
+ {
1837
+ "schema": {
1838
+ "type": "string",
1839
+ "enum": [
1840
+ "c0905qjoqegx40k",
1841
+ "cdlxbup3s8mp8lx"
1842
+ ]
1843
+ },
1844
+ "name": "linkFieldId",
1845
+ "in": "path",
1846
+ "required": true,
1847
+ "description": "**Links Field Identifier** corresponding to the relation field `Links` established between tables.\n\nLink Columns:\n* c0905qjoqegx40k - Tours\n* cdlxbup3s8mp8lx - Routes"
1848
+ },
1849
+ {
1850
+ "schema": {
1851
+ "type": "string"
1852
+ },
1853
+ "name": "recordId",
1854
+ "in": "path",
1855
+ "required": true,
1856
+ "example": 1,
1857
+ "description": "Primary key of the record you want to read. If the table have composite primary key then combine them by using `___` and pass it as primary key."
1858
+ }
1859
+ ],
1860
+ "get": {
1861
+ "summary": "Link Records list",
1862
+ "operationId": "itinerarydays-nested-list",
1863
+ "description": "This API endpoint allows you to retrieve list of linked records for a specific `Link field` and `Record ID`. The response is an array of objects containing Primary Key and its corresponding display value.",
1864
+ "tags": [
1865
+ "ItineraryDays"
1866
+ ],
1867
+ "parameters": [
1868
+ {
1869
+ "schema": {
1870
+ "type": "string"
1871
+ },
1872
+ "in": "query",
1873
+ "name": "fields",
1874
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
1875
+ },
1876
+ {
1877
+ "schema": {
1878
+ "type": "string"
1879
+ },
1880
+ "in": "query",
1881
+ "name": "sort",
1882
+ "description": "Comma separated field names to sort rows, rows will sort in ascending order based on provided columns. To sort in descending order provide `-` prefix along with column name, like `-field`. Example : `sort=field1,-field2`"
1883
+ },
1884
+ {
1885
+ "schema": {
1886
+ "type": "string"
1887
+ },
1888
+ "in": "query",
1889
+ "name": "where",
1890
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
1891
+ },
1892
+ {
1893
+ "schema": {
1894
+ "type": "number",
1895
+ "minimum": 1
1896
+ },
1897
+ "in": "query",
1898
+ "name": "limit",
1899
+ "description": "The `limit` parameter used for pagination, the response collection size depends on limit value with default value `25` and maximum value `1000`, which can be overridden by environment variables `DB_QUERY_LIMIT_DEFAULT` and `DB_QUERY_LIMIT_MAX` respectively.",
1900
+ "example": 25
1901
+ },
1902
+ {
1903
+ "schema": {
1904
+ "type": "number",
1905
+ "minimum": 0
1906
+ },
1907
+ "in": "query",
1908
+ "name": "offset",
1909
+ "description": "The `offset` parameter used for pagination, the value helps to select collection from a certain index.",
1910
+ "example": 0
1911
+ }
1912
+ ],
1913
+ "responses": {
1914
+ "200": {
1915
+ "description": "OK",
1916
+ "content": {
1917
+ "application/json": {
1918
+ "schema": {
1919
+ "type": "object",
1920
+ "properties": {
1921
+ "list": {
1922
+ "type": "array",
1923
+ "description": "List of data objects",
1924
+ "items": {
1925
+ "type": "object"
1926
+ }
1927
+ },
1928
+ "pageInfo": {
1929
+ "$ref": "#/components/schemas/Paginated",
1930
+ "description": "Paginated Info"
1931
+ }
1932
+ },
1933
+ "required": [
1934
+ "list",
1935
+ "pageInfo"
1936
+ ]
1937
+ }
1938
+ }
1939
+ }
1940
+ },
1941
+ "400": {
1942
+ "$ref": "#/components/responses/BadRequest"
1943
+ }
1944
+ }
1945
+ },
1946
+ "post": {
1947
+ "summary": "Link Records",
1948
+ "operationId": "itinerarydays-nested-link",
1949
+ "responses": {
1950
+ "200": {
1951
+ "description": "OK",
1952
+ "content": {
1953
+ "application/json": {
1954
+ "schema": {},
1955
+ "examples": {
1956
+ "Example 1": {
1957
+ "value": true
1958
+ }
1959
+ }
1960
+ }
1961
+ }
1962
+ },
1963
+ "400": {
1964
+ "$ref": "#/components/responses/BadRequest"
1965
+ }
1966
+ },
1967
+ "tags": [
1968
+ "ItineraryDays"
1969
+ ],
1970
+ "requestBody": {
1971
+ "content": {
1972
+ "application/json": {
1973
+ "schema": {
1974
+ "oneOf": [
1975
+ {
1976
+ "type": "object"
1977
+ },
1978
+ {
1979
+ "type": "array",
1980
+ "items": {
1981
+ "type": "object"
1982
+ }
1983
+ }
1984
+ ]
1985
+ },
1986
+ "examples": {
1987
+ "Example 1": {
1988
+ "value": [
1989
+ {
1990
+ "Id": 4
1991
+ },
1992
+ {
1993
+ "Id": 5
1994
+ }
1995
+ ]
1996
+ },
1997
+ "Example 2": {
1998
+ "value": {
1999
+ "Id": 4
2000
+ }
2001
+ }
2002
+ }
2003
+ }
2004
+ }
2005
+ },
2006
+ "description": "This API endpoint allows you to link records to a specific `Link field` and `Record ID`. The request payload is an array of record-ids from the adjacent table for linking purposes. Note that any existing links, if present, will be unaffected during this operation.",
2007
+ "parameters": [
2008
+ {
2009
+ "schema": {
2010
+ "type": "string"
2011
+ },
2012
+ "name": "recordId",
2013
+ "in": "path",
2014
+ "required": true,
2015
+ "example": 1,
2016
+ "description": "Primary key of the record you want to read. If the table have composite primary key then combine them by using `___` and pass it as primary key."
2017
+ }
2018
+ ]
2019
+ },
2020
+ "delete": {
2021
+ "summary": "Unlink Records",
2022
+ "operationId": "itinerarydays-nested-unlink",
2023
+ "responses": {
2024
+ "200": {
2025
+ "description": "OK",
2026
+ "content": {
2027
+ "application/json": {
2028
+ "schema": {},
2029
+ "examples": {
2030
+ "Example 1": {
2031
+ "value": true
2032
+ }
2033
+ }
2034
+ }
2035
+ }
2036
+ },
2037
+ "400": {
2038
+ "$ref": "#/components/responses/BadRequest"
2039
+ }
2040
+ },
2041
+ "tags": [
2042
+ "ItineraryDays"
2043
+ ],
2044
+ "requestBody": {
2045
+ "content": {
2046
+ "application/json": {
2047
+ "schema": {
2048
+ "oneOf": [
2049
+ {
2050
+ "type": "array",
2051
+ "items": {
2052
+ "type": "object"
2053
+ }
2054
+ }
2055
+ ]
2056
+ },
2057
+ "examples": {
2058
+ "Example 1": {
2059
+ "value": [
2060
+ {
2061
+ "Id": 1
2062
+ },
2063
+ {
2064
+ "Id": 2
2065
+ }
2066
+ ]
2067
+ }
2068
+ }
2069
+ }
2070
+ }
2071
+ },
2072
+ "description": "This API endpoint allows you to unlink records from a specific `Link field` and `Record ID`. The request payload is an array of record-ids from the adjacent table for unlinking purposes. Note that, \n- duplicated record-ids will be ignored.\n- non-existent record-ids will be ignored.",
2073
+ "parameters": [
2074
+ {
2075
+ "schema": {
2076
+ "type": "string"
2077
+ },
2078
+ "name": "recordId",
2079
+ "in": "path",
2080
+ "required": true,
2081
+ "example": 1,
2082
+ "description": "Primary key of the record you want to read. If the table have composite primary key then combine them by using `___` and pass it as primary key."
2083
+ }
2084
+ ]
2085
+ }
2086
+ },
2087
+ "/api/v2/tables/mlnp4dupyi870t2/records": {
2088
+ "get": {
2089
+ "summary": "Subscribers list",
2090
+ "operationId": "subscribers-db-table-row-list",
2091
+ "description": "List of all rows from Subscribers table and response data fields can be filtered based on query params.",
2092
+ "tags": [
2093
+ "Subscribers"
2094
+ ],
2095
+ "parameters": [
2096
+ {
2097
+ "schema": {
2098
+ "type": "string",
2099
+ "enum": [
2100
+ "vw067mss5rhbw4vx"
2101
+ ]
2102
+ },
2103
+ "description": "Allows you to fetch records that are currently visible within a specific view.\n\nViews:\n* vw067mss5rhbw4vx - Default view",
2104
+ "name": "viewId",
2105
+ "in": "query",
2106
+ "required": false
2107
+ },
2108
+ {
2109
+ "schema": {
2110
+ "type": "string"
2111
+ },
2112
+ "in": "query",
2113
+ "name": "fields",
2114
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
2115
+ },
2116
+ {
2117
+ "schema": {
2118
+ "type": "string"
2119
+ },
2120
+ "in": "query",
2121
+ "name": "sort",
2122
+ "description": "Comma separated field names to sort rows, rows will sort in ascending order based on provided columns. To sort in descending order provide `-` prefix along with column name, like `-field`. Example : `sort=field1,-field2`"
2123
+ },
2124
+ {
2125
+ "schema": {
2126
+ "type": "string"
2127
+ },
2128
+ "in": "query",
2129
+ "name": "where",
2130
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
2131
+ },
2132
+ {
2133
+ "schema": {
2134
+ "type": "number",
2135
+ "minimum": 1
2136
+ },
2137
+ "in": "query",
2138
+ "name": "limit",
2139
+ "description": "The `limit` parameter used for pagination, the response collection size depends on limit value with default value `25` and maximum value `1000`, which can be overridden by environment variables `DB_QUERY_LIMIT_DEFAULT` and `DB_QUERY_LIMIT_MAX` respectively.",
2140
+ "example": 25
2141
+ },
2142
+ {
2143
+ "schema": {
2144
+ "type": "number",
2145
+ "minimum": 0,
2146
+ "maximum": 1
2147
+ },
2148
+ "in": "query",
2149
+ "name": "shuffle",
2150
+ "description": "The `shuffle` parameter used for pagination, the response will be shuffled if it is set to 1.",
2151
+ "example": 0
2152
+ },
2153
+ {
2154
+ "schema": {
2155
+ "type": "number",
2156
+ "minimum": 0
2157
+ },
2158
+ "in": "query",
2159
+ "name": "offset",
2160
+ "description": "The `offset` parameter used for pagination, the value helps to select collection from a certain index.",
2161
+ "example": 0
2162
+ }
2163
+ ],
2164
+ "responses": {
2165
+ "200": {
2166
+ "description": "OK",
2167
+ "content": {
2168
+ "application/json": {
2169
+ "schema": {
2170
+ "type": "object",
2171
+ "properties": {
2172
+ "list": {
2173
+ "type": "array",
2174
+ "items": {
2175
+ "$ref": "#/components/schemas/SubscribersResponse"
2176
+ }
2177
+ },
2178
+ "PageInfo": {
2179
+ "$ref": "#/components/schemas/Paginated"
2180
+ }
2181
+ }
2182
+ }
2183
+ }
2184
+ }
2185
+ }
2186
+ }
2187
+ },
2188
+ "post": {
2189
+ "summary": "Subscribers create",
2190
+ "description": "Insert a new row in table by providing a key value pair object where key refers to the column alias. All the required fields should be included with payload excluding `autoincrement` and column with default value.",
2191
+ "operationId": "subscribers-create",
2192
+ "responses": {
2193
+ "200": {
2194
+ "description": "OK",
2195
+ "content": {
2196
+ "application/json": {
2197
+ "schema": {
2198
+ "$ref": "#/components/schemas/SubscribersResponse"
2199
+ }
2200
+ }
2201
+ }
2202
+ },
2203
+ "400": {
2204
+ "$ref": "#/components/responses/BadRequest"
2205
+ }
2206
+ },
2207
+ "tags": [
2208
+ "Subscribers"
2209
+ ],
2210
+ "requestBody": {
2211
+ "content": {
2212
+ "application/json": {
2213
+ "schema": {
2214
+ "oneOf": [
2215
+ {
2216
+ "$ref": "#/components/schemas/SubscribersRequest"
2217
+ },
2218
+ {
2219
+ "type": "array",
2220
+ "items": {
2221
+ "$ref": "#/components/schemas/SubscribersRequest"
2222
+ }
2223
+ }
2224
+ ]
2225
+ }
2226
+ }
2227
+ }
2228
+ }
2229
+ },
2230
+ "patch": {
2231
+ "summary": "Subscribers update",
2232
+ "operationId": "subscribers-update",
2233
+ "description": "Partial update row in table by providing a key value pair object where key refers to the column alias. You need to only include columns which you want to update.",
2234
+ "responses": {
2235
+ "200": {
2236
+ "description": "OK",
2237
+ "content": {
2238
+ "application/json": {
2239
+ "schema": {}
2240
+ }
2241
+ }
2242
+ },
2243
+ "400": {
2244
+ "$ref": "#/components/responses/BadRequest"
2245
+ }
2246
+ },
2247
+ "tags": [
2248
+ "Subscribers"
2249
+ ],
2250
+ "requestBody": {
2251
+ "content": {
2252
+ "application/json": {
2253
+ "schema": {
2254
+ "oneOf": [
2255
+ {
2256
+ "$ref": "#/components/schemas/SubscribersRequest"
2257
+ },
2258
+ {
2259
+ "type": "array",
2260
+ "items": {
2261
+ "$ref": "#/components/schemas/SubscribersRequest"
2262
+ }
2263
+ }
2264
+ ]
2265
+ }
2266
+ }
2267
+ }
2268
+ }
2269
+ },
2270
+ "delete": {
2271
+ "summary": "Subscribers delete",
2272
+ "operationId": "subscribers-delete",
2273
+ "responses": {
2274
+ "200": {
2275
+ "description": "OK"
2276
+ }
2277
+ },
2278
+ "tags": [
2279
+ "Subscribers"
2280
+ ],
2281
+ "description": "Delete a row by using the **primary key** column value.",
2282
+ "requestBody": {
2283
+ "content": {
2284
+ "application/json": {
2285
+ "schema": {
2286
+ "oneOf": [
2287
+ {
2288
+ "$ref": "#/components/schemas/SubscribersIdRequest"
2289
+ },
2290
+ {
2291
+ "type": "array",
2292
+ "items": {
2293
+ "$ref": "#/components/schemas/SubscribersIdRequest"
2294
+ }
2295
+ }
2296
+ ]
2297
+ }
2298
+ }
2299
+ }
2300
+ }
2301
+ }
2302
+ },
2303
+ "/api/v2/tables/mlnp4dupyi870t2/records/{recordId}": {
2304
+ "get": {
2305
+ "parameters": [
2306
+ {
2307
+ "schema": {
2308
+ "type": "string"
2309
+ },
2310
+ "name": "recordId",
2311
+ "in": "path",
2312
+ "required": true,
2313
+ "example": 1,
2314
+ "description": "Primary key of the record you want to read. If the table have composite primary key then combine them by using `___` and pass it as primary key."
2315
+ },
2316
+ {
2317
+ "schema": {
2318
+ "type": "string"
2319
+ },
2320
+ "in": "query",
2321
+ "name": "fields",
2322
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
2323
+ }
2324
+ ],
2325
+ "summary": "Subscribers read",
2326
+ "description": "Read a row data by using the **primary key** column value.",
2327
+ "operationId": "subscribers-read",
2328
+ "tags": [
2329
+ "Subscribers"
2330
+ ],
2331
+ "responses": {
2332
+ "201": {
2333
+ "description": "Created",
2334
+ "content": {
2335
+ "application/json": {
2336
+ "schema": {
2337
+ "$ref": "#/components/schemas/SubscribersResponse"
2338
+ }
2339
+ }
2340
+ }
2341
+ }
2342
+ }
2343
+ }
2344
+ },
2345
+ "/api/v2/tables/mlnp4dupyi870t2/records/count": {
2346
+ "parameters": [
2347
+ {
2348
+ "schema": {
2349
+ "type": "string",
2350
+ "enum": [
2351
+ "vw067mss5rhbw4vx"
2352
+ ]
2353
+ },
2354
+ "description": "Allows you to fetch records that are currently visible within a specific view.\n\nViews:\n* vw067mss5rhbw4vx - Default view",
2355
+ "name": "viewId",
2356
+ "in": "query",
2357
+ "required": false
2358
+ }
2359
+ ],
2360
+ "get": {
2361
+ "summary": "Subscribers count",
2362
+ "operationId": "subscribers-count",
2363
+ "description": "Get rows count of a table by applying optional filters.",
2364
+ "tags": [
2365
+ "Subscribers"
2366
+ ],
2367
+ "parameters": [
2368
+ {
2369
+ "schema": {
2370
+ "type": "string"
2371
+ },
2372
+ "in": "query",
2373
+ "name": "where",
2374
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
2375
+ }
2376
+ ],
2377
+ "responses": {
2378
+ "200": {
2379
+ "description": "OK",
2380
+ "content": {
2381
+ "application/json": {
2382
+ "schema": {
2383
+ "type": "object",
2384
+ "properties": {
2385
+ "count": {
2386
+ "type": "number"
2387
+ }
2388
+ },
2389
+ "required": [
2390
+ "list",
2391
+ "pageInfo"
2392
+ ]
2393
+ },
2394
+ "examples": {
2395
+ "Example 1": {
2396
+ "value": {
2397
+ "count": 3
2398
+ }
2399
+ }
2400
+ }
2401
+ }
2402
+ }
2403
+ },
2404
+ "400": {
2405
+ "$ref": "#/components/responses/BadRequest"
2406
+ }
2407
+ }
2408
+ }
2409
+ },
2410
+ "/api/v2/tables/mmbp7kee2ouo5gx/records": {
2411
+ "get": {
2412
+ "summary": "Email_Templates list",
2413
+ "operationId": "email_templates-db-table-row-list",
2414
+ "description": "List of all rows from Email_Templates table and response data fields can be filtered based on query params.",
2415
+ "tags": [
2416
+ "Email_Templates"
2417
+ ],
2418
+ "parameters": [
2419
+ {
2420
+ "schema": {
2421
+ "type": "string",
2422
+ "enum": [
2423
+ "vwo0xlmw9imt7j2s"
2424
+ ]
2425
+ },
2426
+ "description": "Allows you to fetch records that are currently visible within a specific view.\n\nViews:\n* vwo0xlmw9imt7j2s - Default view",
2427
+ "name": "viewId",
2428
+ "in": "query",
2429
+ "required": false
2430
+ },
2431
+ {
2432
+ "schema": {
2433
+ "type": "string"
2434
+ },
2435
+ "in": "query",
2436
+ "name": "fields",
2437
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
2438
+ },
2439
+ {
2440
+ "schema": {
2441
+ "type": "string"
2442
+ },
2443
+ "in": "query",
2444
+ "name": "sort",
2445
+ "description": "Comma separated field names to sort rows, rows will sort in ascending order based on provided columns. To sort in descending order provide `-` prefix along with column name, like `-field`. Example : `sort=field1,-field2`"
2446
+ },
2447
+ {
2448
+ "schema": {
2449
+ "type": "string"
2450
+ },
2451
+ "in": "query",
2452
+ "name": "where",
2453
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
2454
+ },
2455
+ {
2456
+ "schema": {
2457
+ "type": "number",
2458
+ "minimum": 1
2459
+ },
2460
+ "in": "query",
2461
+ "name": "limit",
2462
+ "description": "The `limit` parameter used for pagination, the response collection size depends on limit value with default value `25` and maximum value `1000`, which can be overridden by environment variables `DB_QUERY_LIMIT_DEFAULT` and `DB_QUERY_LIMIT_MAX` respectively.",
2463
+ "example": 25
2464
+ },
2465
+ {
2466
+ "schema": {
2467
+ "type": "number",
2468
+ "minimum": 0,
2469
+ "maximum": 1
2470
+ },
2471
+ "in": "query",
2472
+ "name": "shuffle",
2473
+ "description": "The `shuffle` parameter used for pagination, the response will be shuffled if it is set to 1.",
2474
+ "example": 0
2475
+ },
2476
+ {
2477
+ "schema": {
2478
+ "type": "number",
2479
+ "minimum": 0
2480
+ },
2481
+ "in": "query",
2482
+ "name": "offset",
2483
+ "description": "The `offset` parameter used for pagination, the value helps to select collection from a certain index.",
2484
+ "example": 0
2485
+ }
2486
+ ],
2487
+ "responses": {
2488
+ "200": {
2489
+ "description": "OK",
2490
+ "content": {
2491
+ "application/json": {
2492
+ "schema": {
2493
+ "type": "object",
2494
+ "properties": {
2495
+ "list": {
2496
+ "type": "array",
2497
+ "items": {
2498
+ "$ref": "#/components/schemas/Email_TemplatesResponse"
2499
+ }
2500
+ },
2501
+ "PageInfo": {
2502
+ "$ref": "#/components/schemas/Paginated"
2503
+ }
2504
+ }
2505
+ }
2506
+ }
2507
+ }
2508
+ }
2509
+ }
2510
+ },
2511
+ "post": {
2512
+ "summary": "Email_Templates create",
2513
+ "description": "Insert a new row in table by providing a key value pair object where key refers to the column alias. All the required fields should be included with payload excluding `autoincrement` and column with default value.",
2514
+ "operationId": "email_templates-create",
2515
+ "responses": {
2516
+ "200": {
2517
+ "description": "OK",
2518
+ "content": {
2519
+ "application/json": {
2520
+ "schema": {
2521
+ "$ref": "#/components/schemas/Email_TemplatesResponse"
2522
+ }
2523
+ }
2524
+ }
2525
+ },
2526
+ "400": {
2527
+ "$ref": "#/components/responses/BadRequest"
2528
+ }
2529
+ },
2530
+ "tags": [
2531
+ "Email_Templates"
2532
+ ],
2533
+ "requestBody": {
2534
+ "content": {
2535
+ "application/json": {
2536
+ "schema": {
2537
+ "oneOf": [
2538
+ {
2539
+ "$ref": "#/components/schemas/Email_TemplatesRequest"
2540
+ },
2541
+ {
2542
+ "type": "array",
2543
+ "items": {
2544
+ "$ref": "#/components/schemas/Email_TemplatesRequest"
2545
+ }
2546
+ }
2547
+ ]
2548
+ }
2549
+ }
2550
+ }
2551
+ }
2552
+ },
2553
+ "patch": {
2554
+ "summary": "Email_Templates update",
2555
+ "operationId": "email_templates-update",
2556
+ "description": "Partial update row in table by providing a key value pair object where key refers to the column alias. You need to only include columns which you want to update.",
2557
+ "responses": {
2558
+ "200": {
2559
+ "description": "OK",
2560
+ "content": {
2561
+ "application/json": {
2562
+ "schema": {}
2563
+ }
2564
+ }
2565
+ },
2566
+ "400": {
2567
+ "$ref": "#/components/responses/BadRequest"
2568
+ }
2569
+ },
2570
+ "tags": [
2571
+ "Email_Templates"
2572
+ ],
2573
+ "requestBody": {
2574
+ "content": {
2575
+ "application/json": {
2576
+ "schema": {
2577
+ "oneOf": [
2578
+ {
2579
+ "$ref": "#/components/schemas/Email_TemplatesRequest"
2580
+ },
2581
+ {
2582
+ "type": "array",
2583
+ "items": {
2584
+ "$ref": "#/components/schemas/Email_TemplatesRequest"
2585
+ }
2586
+ }
2587
+ ]
2588
+ }
2589
+ }
2590
+ }
2591
+ }
2592
+ },
2593
+ "delete": {
2594
+ "summary": "Email_Templates delete",
2595
+ "operationId": "email_templates-delete",
2596
+ "responses": {
2597
+ "200": {
2598
+ "description": "OK"
2599
+ }
2600
+ },
2601
+ "tags": [
2602
+ "Email_Templates"
2603
+ ],
2604
+ "description": "Delete a row by using the **primary key** column value.",
2605
+ "requestBody": {
2606
+ "content": {
2607
+ "application/json": {
2608
+ "schema": {
2609
+ "oneOf": [
2610
+ {
2611
+ "$ref": "#/components/schemas/Email_TemplatesIdRequest"
2612
+ },
2613
+ {
2614
+ "type": "array",
2615
+ "items": {
2616
+ "$ref": "#/components/schemas/Email_TemplatesIdRequest"
2617
+ }
2618
+ }
2619
+ ]
2620
+ }
2621
+ }
2622
+ }
2623
+ }
2624
+ }
2625
+ },
2626
+ "/api/v2/tables/mmbp7kee2ouo5gx/records/{recordId}": {
2627
+ "get": {
2628
+ "parameters": [
2629
+ {
2630
+ "schema": {
2631
+ "type": "string"
2632
+ },
2633
+ "name": "recordId",
2634
+ "in": "path",
2635
+ "required": true,
2636
+ "example": 1,
2637
+ "description": "Primary key of the record you want to read. If the table have composite primary key then combine them by using `___` and pass it as primary key."
2638
+ },
2639
+ {
2640
+ "schema": {
2641
+ "type": "string"
2642
+ },
2643
+ "in": "query",
2644
+ "name": "fields",
2645
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
2646
+ }
2647
+ ],
2648
+ "summary": "Email_Templates read",
2649
+ "description": "Read a row data by using the **primary key** column value.",
2650
+ "operationId": "email_templates-read",
2651
+ "tags": [
2652
+ "Email_Templates"
2653
+ ],
2654
+ "responses": {
2655
+ "201": {
2656
+ "description": "Created",
2657
+ "content": {
2658
+ "application/json": {
2659
+ "schema": {
2660
+ "$ref": "#/components/schemas/Email_TemplatesResponse"
2661
+ }
2662
+ }
2663
+ }
2664
+ }
2665
+ }
2666
+ }
2667
+ },
2668
+ "/api/v2/tables/mmbp7kee2ouo5gx/records/count": {
2669
+ "parameters": [
2670
+ {
2671
+ "schema": {
2672
+ "type": "string",
2673
+ "enum": [
2674
+ "vwo0xlmw9imt7j2s"
2675
+ ]
2676
+ },
2677
+ "description": "Allows you to fetch records that are currently visible within a specific view.\n\nViews:\n* vwo0xlmw9imt7j2s - Default view",
2678
+ "name": "viewId",
2679
+ "in": "query",
2680
+ "required": false
2681
+ }
2682
+ ],
2683
+ "get": {
2684
+ "summary": "Email_Templates count",
2685
+ "operationId": "email_templates-count",
2686
+ "description": "Get rows count of a table by applying optional filters.",
2687
+ "tags": [
2688
+ "Email_Templates"
2689
+ ],
2690
+ "parameters": [
2691
+ {
2692
+ "schema": {
2693
+ "type": "string"
2694
+ },
2695
+ "in": "query",
2696
+ "name": "where",
2697
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
2698
+ }
2699
+ ],
2700
+ "responses": {
2701
+ "200": {
2702
+ "description": "OK",
2703
+ "content": {
2704
+ "application/json": {
2705
+ "schema": {
2706
+ "type": "object",
2707
+ "properties": {
2708
+ "count": {
2709
+ "type": "number"
2710
+ }
2711
+ },
2712
+ "required": [
2713
+ "list",
2714
+ "pageInfo"
2715
+ ]
2716
+ },
2717
+ "examples": {
2718
+ "Example 1": {
2719
+ "value": {
2720
+ "count": 3
2721
+ }
2722
+ }
2723
+ }
2724
+ }
2725
+ }
2726
+ },
2727
+ "400": {
2728
+ "$ref": "#/components/responses/BadRequest"
2729
+ }
2730
+ }
2731
+ }
2732
+ },
2733
+ "/api/v2/tables/md5i3700qogsqku/records": {
2734
+ "get": {
2735
+ "summary": "Faqs list",
2736
+ "operationId": "faqs-db-table-row-list",
2737
+ "description": "List of all rows from Faqs table and response data fields can be filtered based on query params.",
2738
+ "tags": [
2739
+ "Faqs"
2740
+ ],
2741
+ "parameters": [
2742
+ {
2743
+ "schema": {
2744
+ "type": "string",
2745
+ "enum": [
2746
+ "vw124o3vdimghkq6"
2747
+ ]
2748
+ },
2749
+ "description": "Allows you to fetch records that are currently visible within a specific view.\n\nViews:\n* vw124o3vdimghkq6 - Default view",
2750
+ "name": "viewId",
2751
+ "in": "query",
2752
+ "required": false
2753
+ },
2754
+ {
2755
+ "schema": {
2756
+ "type": "string"
2757
+ },
2758
+ "in": "query",
2759
+ "name": "fields",
2760
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
2761
+ },
2762
+ {
2763
+ "schema": {
2764
+ "type": "string"
2765
+ },
2766
+ "in": "query",
2767
+ "name": "sort",
2768
+ "description": "Comma separated field names to sort rows, rows will sort in ascending order based on provided columns. To sort in descending order provide `-` prefix along with column name, like `-field`. Example : `sort=field1,-field2`"
2769
+ },
2770
+ {
2771
+ "schema": {
2772
+ "type": "string"
2773
+ },
2774
+ "in": "query",
2775
+ "name": "where",
2776
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
2777
+ },
2778
+ {
2779
+ "schema": {
2780
+ "type": "number",
2781
+ "minimum": 1
2782
+ },
2783
+ "in": "query",
2784
+ "name": "limit",
2785
+ "description": "The `limit` parameter used for pagination, the response collection size depends on limit value with default value `25` and maximum value `1000`, which can be overridden by environment variables `DB_QUERY_LIMIT_DEFAULT` and `DB_QUERY_LIMIT_MAX` respectively.",
2786
+ "example": 25
2787
+ },
2788
+ {
2789
+ "schema": {
2790
+ "type": "number",
2791
+ "minimum": 0,
2792
+ "maximum": 1
2793
+ },
2794
+ "in": "query",
2795
+ "name": "shuffle",
2796
+ "description": "The `shuffle` parameter used for pagination, the response will be shuffled if it is set to 1.",
2797
+ "example": 0
2798
+ },
2799
+ {
2800
+ "schema": {
2801
+ "type": "number",
2802
+ "minimum": 0
2803
+ },
2804
+ "in": "query",
2805
+ "name": "offset",
2806
+ "description": "The `offset` parameter used for pagination, the value helps to select collection from a certain index.",
2807
+ "example": 0
2808
+ }
2809
+ ],
2810
+ "responses": {
2811
+ "200": {
2812
+ "description": "OK",
2813
+ "content": {
2814
+ "application/json": {
2815
+ "schema": {
2816
+ "type": "object",
2817
+ "properties": {
2818
+ "list": {
2819
+ "type": "array",
2820
+ "items": {
2821
+ "$ref": "#/components/schemas/FaqsResponse"
2822
+ }
2823
+ },
2824
+ "PageInfo": {
2825
+ "$ref": "#/components/schemas/Paginated"
2826
+ }
2827
+ }
2828
+ }
2829
+ }
2830
+ }
2831
+ }
2832
+ }
2833
+ },
2834
+ "post": {
2835
+ "summary": "Faqs create",
2836
+ "description": "Insert a new row in table by providing a key value pair object where key refers to the column alias. All the required fields should be included with payload excluding `autoincrement` and column with default value.",
2837
+ "operationId": "faqs-create",
2838
+ "responses": {
2839
+ "200": {
2840
+ "description": "OK",
2841
+ "content": {
2842
+ "application/json": {
2843
+ "schema": {
2844
+ "$ref": "#/components/schemas/FaqsResponse"
2845
+ }
2846
+ }
2847
+ }
2848
+ },
2849
+ "400": {
2850
+ "$ref": "#/components/responses/BadRequest"
2851
+ }
2852
+ },
2853
+ "tags": [
2854
+ "Faqs"
2855
+ ],
2856
+ "requestBody": {
2857
+ "content": {
2858
+ "application/json": {
2859
+ "schema": {
2860
+ "oneOf": [
2861
+ {
2862
+ "$ref": "#/components/schemas/FaqsRequest"
2863
+ },
2864
+ {
2865
+ "type": "array",
2866
+ "items": {
2867
+ "$ref": "#/components/schemas/FaqsRequest"
2868
+ }
2869
+ }
2870
+ ]
2871
+ }
2872
+ }
2873
+ }
2874
+ }
2875
+ },
2876
+ "patch": {
2877
+ "summary": "Faqs update",
2878
+ "operationId": "faqs-update",
2879
+ "description": "Partial update row in table by providing a key value pair object where key refers to the column alias. You need to only include columns which you want to update.",
2880
+ "responses": {
2881
+ "200": {
2882
+ "description": "OK",
2883
+ "content": {
2884
+ "application/json": {
2885
+ "schema": {}
2886
+ }
2887
+ }
2888
+ },
2889
+ "400": {
2890
+ "$ref": "#/components/responses/BadRequest"
2891
+ }
2892
+ },
2893
+ "tags": [
2894
+ "Faqs"
2895
+ ],
2896
+ "requestBody": {
2897
+ "content": {
2898
+ "application/json": {
2899
+ "schema": {
2900
+ "oneOf": [
2901
+ {
2902
+ "$ref": "#/components/schemas/FaqsRequest"
2903
+ },
2904
+ {
2905
+ "type": "array",
2906
+ "items": {
2907
+ "$ref": "#/components/schemas/FaqsRequest"
2908
+ }
2909
+ }
2910
+ ]
2911
+ }
2912
+ }
2913
+ }
2914
+ }
2915
+ },
2916
+ "delete": {
2917
+ "summary": "Faqs delete",
2918
+ "operationId": "faqs-delete",
2919
+ "responses": {
2920
+ "200": {
2921
+ "description": "OK"
2922
+ }
2923
+ },
2924
+ "tags": [
2925
+ "Faqs"
2926
+ ],
2927
+ "description": "Delete a row by using the **primary key** column value.",
2928
+ "requestBody": {
2929
+ "content": {
2930
+ "application/json": {
2931
+ "schema": {
2932
+ "oneOf": [
2933
+ {
2934
+ "$ref": "#/components/schemas/FaqsIdRequest"
2935
+ },
2936
+ {
2937
+ "type": "array",
2938
+ "items": {
2939
+ "$ref": "#/components/schemas/FaqsIdRequest"
2940
+ }
2941
+ }
2942
+ ]
2943
+ }
2944
+ }
2945
+ }
2946
+ }
2947
+ }
2948
+ },
2949
+ "/api/v2/tables/md5i3700qogsqku/records/{recordId}": {
2950
+ "get": {
2951
+ "parameters": [
2952
+ {
2953
+ "schema": {
2954
+ "type": "string"
2955
+ },
2956
+ "name": "recordId",
2957
+ "in": "path",
2958
+ "required": true,
2959
+ "example": 1,
2960
+ "description": "Primary key of the record you want to read. If the table have composite primary key then combine them by using `___` and pass it as primary key."
2961
+ },
2962
+ {
2963
+ "schema": {
2964
+ "type": "string"
2965
+ },
2966
+ "in": "query",
2967
+ "name": "fields",
2968
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
2969
+ }
2970
+ ],
2971
+ "summary": "Faqs read",
2972
+ "description": "Read a row data by using the **primary key** column value.",
2973
+ "operationId": "faqs-read",
2974
+ "tags": [
2975
+ "Faqs"
2976
+ ],
2977
+ "responses": {
2978
+ "201": {
2979
+ "description": "Created",
2980
+ "content": {
2981
+ "application/json": {
2982
+ "schema": {
2983
+ "$ref": "#/components/schemas/FaqsResponse"
2984
+ }
2985
+ }
2986
+ }
2987
+ }
2988
+ }
2989
+ }
2990
+ },
2991
+ "/api/v2/tables/md5i3700qogsqku/records/count": {
2992
+ "parameters": [
2993
+ {
2994
+ "schema": {
2995
+ "type": "string",
2996
+ "enum": [
2997
+ "vw124o3vdimghkq6"
2998
+ ]
2999
+ },
3000
+ "description": "Allows you to fetch records that are currently visible within a specific view.\n\nViews:\n* vw124o3vdimghkq6 - Default view",
3001
+ "name": "viewId",
3002
+ "in": "query",
3003
+ "required": false
3004
+ }
3005
+ ],
3006
+ "get": {
3007
+ "summary": "Faqs count",
3008
+ "operationId": "faqs-count",
3009
+ "description": "Get rows count of a table by applying optional filters.",
3010
+ "tags": [
3011
+ "Faqs"
3012
+ ],
3013
+ "parameters": [
3014
+ {
3015
+ "schema": {
3016
+ "type": "string"
3017
+ },
3018
+ "in": "query",
3019
+ "name": "where",
3020
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
3021
+ }
3022
+ ],
3023
+ "responses": {
3024
+ "200": {
3025
+ "description": "OK",
3026
+ "content": {
3027
+ "application/json": {
3028
+ "schema": {
3029
+ "type": "object",
3030
+ "properties": {
3031
+ "count": {
3032
+ "type": "number"
3033
+ }
3034
+ },
3035
+ "required": [
3036
+ "list",
3037
+ "pageInfo"
3038
+ ]
3039
+ },
3040
+ "examples": {
3041
+ "Example 1": {
3042
+ "value": {
3043
+ "count": 3
3044
+ }
3045
+ }
3046
+ }
3047
+ }
3048
+ }
3049
+ },
3050
+ "400": {
3051
+ "$ref": "#/components/responses/BadRequest"
3052
+ }
3053
+ }
3054
+ }
3055
+ },
3056
+ "/api/v2/tables/mngmhudvx0kayn6/records": {
3057
+ "get": {
3058
+ "summary": "Webhook list",
3059
+ "operationId": "webhook-db-table-row-list",
3060
+ "description": "List of all rows from Webhook table and response data fields can be filtered based on query params.",
3061
+ "tags": [
3062
+ "Webhook"
3063
+ ],
3064
+ "parameters": [
3065
+ {
3066
+ "schema": {
3067
+ "type": "string",
3068
+ "enum": [
3069
+ "vwb8brs3v286oizx"
3070
+ ]
3071
+ },
3072
+ "description": "Allows you to fetch records that are currently visible within a specific view.\n\nViews:\n* vwb8brs3v286oizx - Default view",
3073
+ "name": "viewId",
3074
+ "in": "query",
3075
+ "required": false
3076
+ },
3077
+ {
3078
+ "schema": {
3079
+ "type": "string"
3080
+ },
3081
+ "in": "query",
3082
+ "name": "fields",
3083
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
3084
+ },
3085
+ {
3086
+ "schema": {
3087
+ "type": "string"
3088
+ },
3089
+ "in": "query",
3090
+ "name": "sort",
3091
+ "description": "Comma separated field names to sort rows, rows will sort in ascending order based on provided columns. To sort in descending order provide `-` prefix along with column name, like `-field`. Example : `sort=field1,-field2`"
3092
+ },
3093
+ {
3094
+ "schema": {
3095
+ "type": "string"
3096
+ },
3097
+ "in": "query",
3098
+ "name": "where",
3099
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
3100
+ },
3101
+ {
3102
+ "schema": {
3103
+ "type": "number",
3104
+ "minimum": 1
3105
+ },
3106
+ "in": "query",
3107
+ "name": "limit",
3108
+ "description": "The `limit` parameter used for pagination, the response collection size depends on limit value with default value `25` and maximum value `1000`, which can be overridden by environment variables `DB_QUERY_LIMIT_DEFAULT` and `DB_QUERY_LIMIT_MAX` respectively.",
3109
+ "example": 25
3110
+ },
3111
+ {
3112
+ "schema": {
3113
+ "type": "number",
3114
+ "minimum": 0,
3115
+ "maximum": 1
3116
+ },
3117
+ "in": "query",
3118
+ "name": "shuffle",
3119
+ "description": "The `shuffle` parameter used for pagination, the response will be shuffled if it is set to 1.",
3120
+ "example": 0
3121
+ },
3122
+ {
3123
+ "schema": {
3124
+ "type": "number",
3125
+ "minimum": 0
3126
+ },
3127
+ "in": "query",
3128
+ "name": "offset",
3129
+ "description": "The `offset` parameter used for pagination, the value helps to select collection from a certain index.",
3130
+ "example": 0
3131
+ }
3132
+ ],
3133
+ "responses": {
3134
+ "200": {
3135
+ "description": "OK",
3136
+ "content": {
3137
+ "application/json": {
3138
+ "schema": {
3139
+ "type": "object",
3140
+ "properties": {
3141
+ "list": {
3142
+ "type": "array",
3143
+ "items": {
3144
+ "$ref": "#/components/schemas/WebhookResponse"
3145
+ }
3146
+ },
3147
+ "PageInfo": {
3148
+ "$ref": "#/components/schemas/Paginated"
3149
+ }
3150
+ }
3151
+ }
3152
+ }
3153
+ }
3154
+ }
3155
+ }
3156
+ },
3157
+ "post": {
3158
+ "summary": "Webhook create",
3159
+ "description": "Insert a new row in table by providing a key value pair object where key refers to the column alias. All the required fields should be included with payload excluding `autoincrement` and column with default value.",
3160
+ "operationId": "webhook-create",
3161
+ "responses": {
3162
+ "200": {
3163
+ "description": "OK",
3164
+ "content": {
3165
+ "application/json": {
3166
+ "schema": {
3167
+ "$ref": "#/components/schemas/WebhookResponse"
3168
+ }
3169
+ }
3170
+ }
3171
+ },
3172
+ "400": {
3173
+ "$ref": "#/components/responses/BadRequest"
3174
+ }
3175
+ },
3176
+ "tags": [
3177
+ "Webhook"
3178
+ ],
3179
+ "requestBody": {
3180
+ "content": {
3181
+ "application/json": {
3182
+ "schema": {
3183
+ "oneOf": [
3184
+ {
3185
+ "$ref": "#/components/schemas/WebhookRequest"
3186
+ },
3187
+ {
3188
+ "type": "array",
3189
+ "items": {
3190
+ "$ref": "#/components/schemas/WebhookRequest"
3191
+ }
3192
+ }
3193
+ ]
3194
+ }
3195
+ }
3196
+ }
3197
+ }
3198
+ },
3199
+ "patch": {
3200
+ "summary": "Webhook update",
3201
+ "operationId": "webhook-update",
3202
+ "description": "Partial update row in table by providing a key value pair object where key refers to the column alias. You need to only include columns which you want to update.",
3203
+ "responses": {
3204
+ "200": {
3205
+ "description": "OK",
3206
+ "content": {
3207
+ "application/json": {
3208
+ "schema": {}
3209
+ }
3210
+ }
3211
+ },
3212
+ "400": {
3213
+ "$ref": "#/components/responses/BadRequest"
3214
+ }
3215
+ },
3216
+ "tags": [
3217
+ "Webhook"
3218
+ ],
3219
+ "requestBody": {
3220
+ "content": {
3221
+ "application/json": {
3222
+ "schema": {
3223
+ "oneOf": [
3224
+ {
3225
+ "$ref": "#/components/schemas/WebhookRequest"
3226
+ },
3227
+ {
3228
+ "type": "array",
3229
+ "items": {
3230
+ "$ref": "#/components/schemas/WebhookRequest"
3231
+ }
3232
+ }
3233
+ ]
3234
+ }
3235
+ }
3236
+ }
3237
+ }
3238
+ },
3239
+ "delete": {
3240
+ "summary": "Webhook delete",
3241
+ "operationId": "webhook-delete",
3242
+ "responses": {
3243
+ "200": {
3244
+ "description": "OK"
3245
+ }
3246
+ },
3247
+ "tags": [
3248
+ "Webhook"
3249
+ ],
3250
+ "description": "Delete a row by using the **primary key** column value.",
3251
+ "requestBody": {
3252
+ "content": {
3253
+ "application/json": {
3254
+ "schema": {
3255
+ "oneOf": [
3256
+ {
3257
+ "$ref": "#/components/schemas/WebhookIdRequest"
3258
+ },
3259
+ {
3260
+ "type": "array",
3261
+ "items": {
3262
+ "$ref": "#/components/schemas/WebhookIdRequest"
3263
+ }
3264
+ }
3265
+ ]
3266
+ }
3267
+ }
3268
+ }
3269
+ }
3270
+ }
3271
+ },
3272
+ "/api/v2/tables/mngmhudvx0kayn6/records/{recordId}": {
3273
+ "get": {
3274
+ "parameters": [
3275
+ {
3276
+ "schema": {
3277
+ "type": "string"
3278
+ },
3279
+ "name": "recordId",
3280
+ "in": "path",
3281
+ "required": true,
3282
+ "example": 1,
3283
+ "description": "Primary key of the record you want to read. If the table have composite primary key then combine them by using `___` and pass it as primary key."
3284
+ },
3285
+ {
3286
+ "schema": {
3287
+ "type": "string"
3288
+ },
3289
+ "in": "query",
3290
+ "name": "fields",
3291
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
3292
+ }
3293
+ ],
3294
+ "summary": "Webhook read",
3295
+ "description": "Read a row data by using the **primary key** column value.",
3296
+ "operationId": "webhook-read",
3297
+ "tags": [
3298
+ "Webhook"
3299
+ ],
3300
+ "responses": {
3301
+ "201": {
3302
+ "description": "Created",
3303
+ "content": {
3304
+ "application/json": {
3305
+ "schema": {
3306
+ "$ref": "#/components/schemas/WebhookResponse"
3307
+ }
3308
+ }
3309
+ }
3310
+ }
3311
+ }
3312
+ }
3313
+ },
3314
+ "/api/v2/tables/mngmhudvx0kayn6/records/count": {
3315
+ "parameters": [
3316
+ {
3317
+ "schema": {
3318
+ "type": "string",
3319
+ "enum": [
3320
+ "vwb8brs3v286oizx"
3321
+ ]
3322
+ },
3323
+ "description": "Allows you to fetch records that are currently visible within a specific view.\n\nViews:\n* vwb8brs3v286oizx - Default view",
3324
+ "name": "viewId",
3325
+ "in": "query",
3326
+ "required": false
3327
+ }
3328
+ ],
3329
+ "get": {
3330
+ "summary": "Webhook count",
3331
+ "operationId": "webhook-count",
3332
+ "description": "Get rows count of a table by applying optional filters.",
3333
+ "tags": [
3334
+ "Webhook"
3335
+ ],
3336
+ "parameters": [
3337
+ {
3338
+ "schema": {
3339
+ "type": "string"
3340
+ },
3341
+ "in": "query",
3342
+ "name": "where",
3343
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
3344
+ }
3345
+ ],
3346
+ "responses": {
3347
+ "200": {
3348
+ "description": "OK",
3349
+ "content": {
3350
+ "application/json": {
3351
+ "schema": {
3352
+ "type": "object",
3353
+ "properties": {
3354
+ "count": {
3355
+ "type": "number"
3356
+ }
3357
+ },
3358
+ "required": [
3359
+ "list",
3360
+ "pageInfo"
3361
+ ]
3362
+ },
3363
+ "examples": {
3364
+ "Example 1": {
3365
+ "value": {
3366
+ "count": 3
3367
+ }
3368
+ }
3369
+ }
3370
+ }
3371
+ }
3372
+ },
3373
+ "400": {
3374
+ "$ref": "#/components/responses/BadRequest"
3375
+ }
3376
+ }
3377
+ }
3378
+ },
3379
+ "/api/v2/tables/mopr1au7ctkqxmc/records": {
3380
+ "get": {
3381
+ "summary": "Ideas list",
3382
+ "operationId": "ideas-db-table-row-list",
3383
+ "description": "List of all rows from Ideas table and response data fields can be filtered based on query params.",
3384
+ "tags": [
3385
+ "Ideas"
3386
+ ],
3387
+ "parameters": [
3388
+ {
3389
+ "schema": {
3390
+ "type": "string",
3391
+ "enum": [
3392
+ "vweo44ubz0sssudn"
3393
+ ]
3394
+ },
3395
+ "description": "Allows you to fetch records that are currently visible within a specific view.\n\nViews:\n* vweo44ubz0sssudn - Default view",
3396
+ "name": "viewId",
3397
+ "in": "query",
3398
+ "required": false
3399
+ },
3400
+ {
3401
+ "schema": {
3402
+ "type": "string"
3403
+ },
3404
+ "in": "query",
3405
+ "name": "fields",
3406
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
3407
+ },
3408
+ {
3409
+ "schema": {
3410
+ "type": "string"
3411
+ },
3412
+ "in": "query",
3413
+ "name": "sort",
3414
+ "description": "Comma separated field names to sort rows, rows will sort in ascending order based on provided columns. To sort in descending order provide `-` prefix along with column name, like `-field`. Example : `sort=field1,-field2`"
3415
+ },
3416
+ {
3417
+ "schema": {
3418
+ "type": "string"
3419
+ },
3420
+ "in": "query",
3421
+ "name": "where",
3422
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
3423
+ },
3424
+ {
3425
+ "schema": {
3426
+ "type": "number",
3427
+ "minimum": 1
3428
+ },
3429
+ "in": "query",
3430
+ "name": "limit",
3431
+ "description": "The `limit` parameter used for pagination, the response collection size depends on limit value with default value `25` and maximum value `1000`, which can be overridden by environment variables `DB_QUERY_LIMIT_DEFAULT` and `DB_QUERY_LIMIT_MAX` respectively.",
3432
+ "example": 25
3433
+ },
3434
+ {
3435
+ "schema": {
3436
+ "type": "number",
3437
+ "minimum": 0,
3438
+ "maximum": 1
3439
+ },
3440
+ "in": "query",
3441
+ "name": "shuffle",
3442
+ "description": "The `shuffle` parameter used for pagination, the response will be shuffled if it is set to 1.",
3443
+ "example": 0
3444
+ },
3445
+ {
3446
+ "schema": {
3447
+ "type": "number",
3448
+ "minimum": 0
3449
+ },
3450
+ "in": "query",
3451
+ "name": "offset",
3452
+ "description": "The `offset` parameter used for pagination, the value helps to select collection from a certain index.",
3453
+ "example": 0
3454
+ }
3455
+ ],
3456
+ "responses": {
3457
+ "200": {
3458
+ "description": "OK",
3459
+ "content": {
3460
+ "application/json": {
3461
+ "schema": {
3462
+ "type": "object",
3463
+ "properties": {
3464
+ "list": {
3465
+ "type": "array",
3466
+ "items": {
3467
+ "$ref": "#/components/schemas/IdeasResponse"
3468
+ }
3469
+ },
3470
+ "PageInfo": {
3471
+ "$ref": "#/components/schemas/Paginated"
3472
+ }
3473
+ }
3474
+ }
3475
+ }
3476
+ }
3477
+ }
3478
+ }
3479
+ },
3480
+ "post": {
3481
+ "summary": "Ideas create",
3482
+ "description": "Insert a new row in table by providing a key value pair object where key refers to the column alias. All the required fields should be included with payload excluding `autoincrement` and column with default value.",
3483
+ "operationId": "ideas-create",
3484
+ "responses": {
3485
+ "200": {
3486
+ "description": "OK",
3487
+ "content": {
3488
+ "application/json": {
3489
+ "schema": {
3490
+ "$ref": "#/components/schemas/IdeasResponse"
3491
+ }
3492
+ }
3493
+ }
3494
+ },
3495
+ "400": {
3496
+ "$ref": "#/components/responses/BadRequest"
3497
+ }
3498
+ },
3499
+ "tags": [
3500
+ "Ideas"
3501
+ ],
3502
+ "requestBody": {
3503
+ "content": {
3504
+ "application/json": {
3505
+ "schema": {
3506
+ "oneOf": [
3507
+ {
3508
+ "$ref": "#/components/schemas/IdeasRequest"
3509
+ },
3510
+ {
3511
+ "type": "array",
3512
+ "items": {
3513
+ "$ref": "#/components/schemas/IdeasRequest"
3514
+ }
3515
+ }
3516
+ ]
3517
+ }
3518
+ }
3519
+ }
3520
+ }
3521
+ },
3522
+ "patch": {
3523
+ "summary": "Ideas update",
3524
+ "operationId": "ideas-update",
3525
+ "description": "Partial update row in table by providing a key value pair object where key refers to the column alias. You need to only include columns which you want to update.",
3526
+ "responses": {
3527
+ "200": {
3528
+ "description": "OK",
3529
+ "content": {
3530
+ "application/json": {
3531
+ "schema": {}
3532
+ }
3533
+ }
3534
+ },
3535
+ "400": {
3536
+ "$ref": "#/components/responses/BadRequest"
3537
+ }
3538
+ },
3539
+ "tags": [
3540
+ "Ideas"
3541
+ ],
3542
+ "requestBody": {
3543
+ "content": {
3544
+ "application/json": {
3545
+ "schema": {
3546
+ "oneOf": [
3547
+ {
3548
+ "$ref": "#/components/schemas/IdeasRequest"
3549
+ },
3550
+ {
3551
+ "type": "array",
3552
+ "items": {
3553
+ "$ref": "#/components/schemas/IdeasRequest"
3554
+ }
3555
+ }
3556
+ ]
3557
+ }
3558
+ }
3559
+ }
3560
+ }
3561
+ },
3562
+ "delete": {
3563
+ "summary": "Ideas delete",
3564
+ "operationId": "ideas-delete",
3565
+ "responses": {
3566
+ "200": {
3567
+ "description": "OK"
3568
+ }
3569
+ },
3570
+ "tags": [
3571
+ "Ideas"
3572
+ ],
3573
+ "description": "Delete a row by using the **primary key** column value.",
3574
+ "requestBody": {
3575
+ "content": {
3576
+ "application/json": {
3577
+ "schema": {
3578
+ "oneOf": [
3579
+ {
3580
+ "$ref": "#/components/schemas/IdeasIdRequest"
3581
+ },
3582
+ {
3583
+ "type": "array",
3584
+ "items": {
3585
+ "$ref": "#/components/schemas/IdeasIdRequest"
3586
+ }
3587
+ }
3588
+ ]
3589
+ }
3590
+ }
3591
+ }
3592
+ }
3593
+ }
3594
+ },
3595
+ "/api/v2/tables/mopr1au7ctkqxmc/records/{recordId}": {
3596
+ "get": {
3597
+ "parameters": [
3598
+ {
3599
+ "schema": {
3600
+ "type": "string"
3601
+ },
3602
+ "name": "recordId",
3603
+ "in": "path",
3604
+ "required": true,
3605
+ "example": 1,
3606
+ "description": "Primary key of the record you want to read. If the table have composite primary key then combine them by using `___` and pass it as primary key."
3607
+ },
3608
+ {
3609
+ "schema": {
3610
+ "type": "string"
3611
+ },
3612
+ "in": "query",
3613
+ "name": "fields",
3614
+ "description": "Array of field names or comma separated filed names to include in the response objects. In array syntax pass it like `fields[]=field1&fields[]=field2` or alternately `fields=field1,field2`."
3615
+ }
3616
+ ],
3617
+ "summary": "Ideas read",
3618
+ "description": "Read a row data by using the **primary key** column value.",
3619
+ "operationId": "ideas-read",
3620
+ "tags": [
3621
+ "Ideas"
3622
+ ],
3623
+ "responses": {
3624
+ "201": {
3625
+ "description": "Created",
3626
+ "content": {
3627
+ "application/json": {
3628
+ "schema": {
3629
+ "$ref": "#/components/schemas/IdeasResponse"
3630
+ }
3631
+ }
3632
+ }
3633
+ }
3634
+ }
3635
+ }
3636
+ },
3637
+ "/api/v2/tables/mopr1au7ctkqxmc/records/count": {
3638
+ "parameters": [
3639
+ {
3640
+ "schema": {
3641
+ "type": "string",
3642
+ "enum": [
3643
+ "vweo44ubz0sssudn"
3644
+ ]
3645
+ },
3646
+ "description": "Allows you to fetch records that are currently visible within a specific view.\n\nViews:\n* vweo44ubz0sssudn - Default view",
3647
+ "name": "viewId",
3648
+ "in": "query",
3649
+ "required": false
3650
+ }
3651
+ ],
3652
+ "get": {
3653
+ "summary": "Ideas count",
3654
+ "operationId": "ideas-count",
3655
+ "description": "Get rows count of a table by applying optional filters.",
3656
+ "tags": [
3657
+ "Ideas"
3658
+ ],
3659
+ "parameters": [
3660
+ {
3661
+ "schema": {
3662
+ "type": "string"
3663
+ },
3664
+ "in": "query",
3665
+ "name": "where",
3666
+ "description": "This can be used for filtering rows, which accepts complicated where conditions. For more info visit [here](https://docs.nocodb.com/developer-resources/rest-apis#comparison-operators). Example : `where=(field1,eq,value)`"
3667
+ }
3668
+ ],
3669
+ "responses": {
3670
+ "200": {
3671
+ "description": "OK",
3672
+ "content": {
3673
+ "application/json": {
3674
+ "schema": {
3675
+ "type": "object",
3676
+ "properties": {
3677
+ "count": {
3678
+ "type": "number"
3679
+ }
3680
+ },
3681
+ "required": [
3682
+ "list",
3683
+ "pageInfo"
3684
+ ]
3685
+ },
3686
+ "examples": {
3687
+ "Example 1": {
3688
+ "value": {
3689
+ "count": 3
3690
+ }
3691
+ }
3692
+ }
3693
+ }
3694
+ }
3695
+ },
3696
+ "400": {
3697
+ "$ref": "#/components/responses/BadRequest"
3698
+ }
3699
+ }
3700
+ }
3701
+ }
3702
+ },
3703
+ "components": {
3704
+ "schemas": {
3705
+ "Paginated": {
3706
+ "title": "Paginated",
3707
+ "type": "object",
3708
+ "properties": {
3709
+ "pageSize": {
3710
+ "type": "integer"
3711
+ },
3712
+ "totalRows": {
3713
+ "type": "integer"
3714
+ },
3715
+ "isFirstPage": {
3716
+ "type": "boolean"
3717
+ },
3718
+ "isLastPage": {
3719
+ "type": "boolean"
3720
+ },
3721
+ "page": {
3722
+ "type": "number"
3723
+ }
3724
+ }
3725
+ },
3726
+ "Attachment": {
3727
+ "title": "Attachment",
3728
+ "type": "object",
3729
+ "properties": {
3730
+ "mimetype": {
3731
+ "type": "string"
3732
+ },
3733
+ "size": {
3734
+ "type": "integer"
3735
+ },
3736
+ "title": {
3737
+ "type": "string"
3738
+ },
3739
+ "url": {
3740
+ "type": "string"
3741
+ },
3742
+ "icon": {
3743
+ "type": "string"
3744
+ }
3745
+ }
3746
+ },
3747
+ "Groupby": {
3748
+ "title": "Groupby",
3749
+ "type": "object",
3750
+ "properties": {
3751
+ "count": {
3752
+ "type": "number",
3753
+ "description": "count"
3754
+ },
3755
+ "column_name": {
3756
+ "type": "string",
3757
+ "description": "the value of the given column"
3758
+ }
3759
+ }
3760
+ },
3761
+ "FeaturesResponse": {
3762
+ "title": "Features Response",
3763
+ "type": "object",
3764
+ "description": "",
3765
+ "x-internal": false,
3766
+ "properties": {
3767
+ "Id": {
3768
+ "type": "integer"
3769
+ },
3770
+ "Title": {
3771
+ "type": "string"
3772
+ }
3773
+ }
3774
+ },
3775
+ "FeaturesRequest": {
3776
+ "title": "Features Request",
3777
+ "type": "object",
3778
+ "description": "",
3779
+ "x-internal": false,
3780
+ "properties": {
3781
+ "Title": {
3782
+ "type": "string"
3783
+ }
3784
+ }
3785
+ },
3786
+ "FeaturesIdRequest": {
3787
+ "title": "Features Id Request",
3788
+ "type": "object",
3789
+ "description": "",
3790
+ "x-internal": false,
3791
+ "properties": {
3792
+ "Id": {
3793
+ "type": "integer"
3794
+ }
3795
+ }
3796
+ },
3797
+ "ToursResponse": {
3798
+ "title": "Tours Response",
3799
+ "type": "object",
3800
+ "description": "",
3801
+ "x-internal": false,
3802
+ "properties": {
3803
+ "Id": {
3804
+ "type": "integer"
3805
+ },
3806
+ "name": {
3807
+ "type": "string"
3808
+ },
3809
+ "type": {
3810
+ "type": "string"
3811
+ },
3812
+ "start_date": {
3813
+ "type": "string"
3814
+ },
3815
+ "end_date": {
3816
+ "type": "string"
3817
+ },
3818
+ "is_featured": {
3819
+ "type": "boolean"
3820
+ },
3821
+ "description": {
3822
+ "type": "string"
3823
+ },
3824
+ "price": {
3825
+ "type": "string"
3826
+ },
3827
+ "old_price": {
3828
+ "type": "string"
3829
+ },
3830
+ "deposit_price": {
3831
+ "type": "number"
3832
+ },
3833
+ "deposit_payment_link": {
3834
+ "type": "string"
3835
+ },
3836
+ "image": {
3837
+ "type": "string"
3838
+ },
3839
+ "gallery_images": {
3840
+ "type": "object"
3841
+ },
3842
+ "label": {
3843
+ "type": "string"
3844
+ },
3845
+ "sold_out": {
3846
+ "type": "boolean"
3847
+ },
3848
+ "preview_mode": {
3849
+ "type": "boolean"
3850
+ },
3851
+ "total_distance_km": {
3852
+ "type": "integer"
3853
+ },
3854
+ "group_size_max": {
3855
+ "type": "integer"
3856
+ },
3857
+ "physical_rating": {
3858
+ "type": "string"
3859
+ },
3860
+ "start_location": {
3861
+ "type": "string"
3862
+ },
3863
+ "region": {
3864
+ "type": "string"
3865
+ },
3866
+ "accommodation": {
3867
+ "type": "string"
3868
+ },
3869
+ "transport": {
3870
+ "type": "string"
3871
+ },
3872
+ "trip_highlights": {
3873
+ "type": "string"
3874
+ },
3875
+ "stages": {
3876
+ "type": "integer"
3877
+ }
3878
+ }
3879
+ },
3880
+ "ToursRequest": {
3881
+ "title": "Tours Request",
3882
+ "type": "object",
3883
+ "description": "",
3884
+ "x-internal": false,
3885
+ "properties": {
3886
+ "name": {
3887
+ "type": "string"
3888
+ },
3889
+ "type": {
3890
+ "type": "string"
3891
+ },
3892
+ "start_date": {
3893
+ "type": "string"
3894
+ },
3895
+ "end_date": {
3896
+ "type": "string"
3897
+ },
3898
+ "is_featured": {
3899
+ "type": "boolean"
3900
+ },
3901
+ "description": {
3902
+ "type": "string"
3903
+ },
3904
+ "price": {
3905
+ "type": "string"
3906
+ },
3907
+ "old_price": {
3908
+ "type": "string"
3909
+ },
3910
+ "deposit_price": {
3911
+ "type": "number"
3912
+ },
3913
+ "deposit_payment_link": {
3914
+ "type": "string"
3915
+ },
3916
+ "image": {
3917
+ "type": "string"
3918
+ },
3919
+ "gallery_images": {
3920
+ "type": "object"
3921
+ },
3922
+ "label": {
3923
+ "type": "string"
3924
+ },
3925
+ "sold_out": {
3926
+ "type": "boolean"
3927
+ },
3928
+ "preview_mode": {
3929
+ "type": "boolean"
3930
+ },
3931
+ "total_distance_km": {
3932
+ "type": "integer"
3933
+ },
3934
+ "group_size_max": {
3935
+ "type": "integer"
3936
+ },
3937
+ "physical_rating": {
3938
+ "type": "string"
3939
+ },
3940
+ "start_location": {
3941
+ "type": "string"
3942
+ },
3943
+ "region": {
3944
+ "type": "string"
3945
+ },
3946
+ "accommodation": {
3947
+ "type": "string"
3948
+ },
3949
+ "transport": {
3950
+ "type": "string"
3951
+ },
3952
+ "trip_highlights": {
3953
+ "type": "string"
3954
+ }
3955
+ }
3956
+ },
3957
+ "ToursIdRequest": {
3958
+ "title": "Tours Id Request",
3959
+ "type": "object",
3960
+ "description": "",
3961
+ "x-internal": false,
3962
+ "properties": {
3963
+ "Id": {
3964
+ "type": "integer"
3965
+ }
3966
+ }
3967
+ },
3968
+ "RoutesResponse": {
3969
+ "title": "Routes Response",
3970
+ "type": "object",
3971
+ "description": "",
3972
+ "x-internal": false,
3973
+ "properties": {
3974
+ "Id": {
3975
+ "type": "integer"
3976
+ },
3977
+ "route_name": {
3978
+ "type": "string"
3979
+ },
3980
+ "gpx_url": {
3981
+ "type": "string"
3982
+ },
3983
+ "scheduled_days": {
3984
+ "type": "integer"
3985
+ }
3986
+ }
3987
+ },
3988
+ "RoutesRequest": {
3989
+ "title": "Routes Request",
3990
+ "type": "object",
3991
+ "description": "",
3992
+ "x-internal": false,
3993
+ "properties": {
3994
+ "route_name": {
3995
+ "type": "string"
3996
+ },
3997
+ "gpx_url": {
3998
+ "type": "string"
3999
+ }
4000
+ }
4001
+ },
4002
+ "RoutesIdRequest": {
4003
+ "title": "Routes Id Request",
4004
+ "type": "object",
4005
+ "description": "",
4006
+ "x-internal": false,
4007
+ "properties": {
4008
+ "Id": {
4009
+ "type": "integer"
4010
+ }
4011
+ }
4012
+ },
4013
+ "ItineraryDaysResponse": {
4014
+ "title": "ItineraryDays Response",
4015
+ "type": "object",
4016
+ "description": "",
4017
+ "x-internal": false,
4018
+ "properties": {
4019
+ "Id": {
4020
+ "type": "integer"
4021
+ },
4022
+ "day_number": {
4023
+ "type": "string"
4024
+ },
4025
+ "daily_title": {
4026
+ "type": "string"
4027
+ },
4028
+ "daily_description": {
4029
+ "type": "string"
4030
+ },
4031
+ "Tours_id": {
4032
+ "type": "integer"
4033
+ },
4034
+ "Tours": {
4035
+ "$ref": "#/components/schemas/ToursRequest"
4036
+ },
4037
+ "Routes_id": {
4038
+ "type": "integer"
4039
+ },
4040
+ "Routes": {
4041
+ "$ref": "#/components/schemas/RoutesRequest"
4042
+ },
4043
+ "tour_id": {
4044
+ "type": "integer"
4045
+ },
4046
+ "route_id": {
4047
+ "type": "integer"
4048
+ }
4049
+ }
4050
+ },
4051
+ "ItineraryDaysRequest": {
4052
+ "title": "ItineraryDays Request",
4053
+ "type": "object",
4054
+ "description": "",
4055
+ "x-internal": false,
4056
+ "properties": {
4057
+ "day_number": {
4058
+ "type": "string"
4059
+ },
4060
+ "daily_title": {
4061
+ "type": "string"
4062
+ },
4063
+ "daily_description": {
4064
+ "type": "string"
4065
+ },
4066
+ "tour_id": {
4067
+ "type": "integer"
4068
+ },
4069
+ "route_id": {
4070
+ "type": "integer"
4071
+ }
4072
+ }
4073
+ },
4074
+ "ItineraryDaysIdRequest": {
4075
+ "title": "ItineraryDays Id Request",
4076
+ "type": "object",
4077
+ "description": "",
4078
+ "x-internal": false,
4079
+ "properties": {
4080
+ "Id": {
4081
+ "type": "integer"
4082
+ }
4083
+ }
4084
+ },
4085
+ "SubscribersResponse": {
4086
+ "title": "Subscribers Response",
4087
+ "type": "object",
4088
+ "description": "",
4089
+ "x-internal": false,
4090
+ "properties": {
4091
+ "Id": {
4092
+ "type": "integer"
4093
+ },
4094
+ "Email": {
4095
+ "type": "string"
4096
+ }
4097
+ }
4098
+ },
4099
+ "SubscribersRequest": {
4100
+ "title": "Subscribers Request",
4101
+ "type": "object",
4102
+ "description": "",
4103
+ "x-internal": false,
4104
+ "properties": {
4105
+ "Email": {
4106
+ "type": "string"
4107
+ }
4108
+ }
4109
+ },
4110
+ "SubscribersIdRequest": {
4111
+ "title": "Subscribers Id Request",
4112
+ "type": "object",
4113
+ "description": "",
4114
+ "x-internal": false,
4115
+ "properties": {
4116
+ "Id": {
4117
+ "type": "integer"
4118
+ }
4119
+ }
4120
+ },
4121
+ "Email_TemplatesResponse": {
4122
+ "title": "Email_Templates Response",
4123
+ "type": "object",
4124
+ "description": "",
4125
+ "x-internal": false,
4126
+ "properties": {
4127
+ "Id": {
4128
+ "type": "integer"
4129
+ },
4130
+ "template_name": {
4131
+ "type": "string"
4132
+ },
4133
+ "subject": {
4134
+ "type": "string"
4135
+ },
4136
+ "body": {
4137
+ "type": "string"
4138
+ }
4139
+ }
4140
+ },
4141
+ "Email_TemplatesRequest": {
4142
+ "title": "Email_Templates Request",
4143
+ "type": "object",
4144
+ "description": "",
4145
+ "x-internal": false,
4146
+ "properties": {
4147
+ "template_name": {
4148
+ "type": "string"
4149
+ },
4150
+ "subject": {
4151
+ "type": "string"
4152
+ },
4153
+ "body": {
4154
+ "type": "string"
4155
+ }
4156
+ }
4157
+ },
4158
+ "Email_TemplatesIdRequest": {
4159
+ "title": "Email_Templates Id Request",
4160
+ "type": "object",
4161
+ "description": "",
4162
+ "x-internal": false,
4163
+ "properties": {
4164
+ "Id": {
4165
+ "type": "integer"
4166
+ }
4167
+ }
4168
+ },
4169
+ "FaqsResponse": {
4170
+ "title": "Faqs Response",
4171
+ "type": "object",
4172
+ "description": "",
4173
+ "x-internal": false,
4174
+ "properties": {
4175
+ "Id": {
4176
+ "type": "integer"
4177
+ },
4178
+ "category": {
4179
+ "type": "string"
4180
+ },
4181
+ "question_en": {
4182
+ "type": "string"
4183
+ },
4184
+ "answer_en": {
4185
+ "type": "string"
4186
+ }
4187
+ }
4188
+ },
4189
+ "FaqsRequest": {
4190
+ "title": "Faqs Request",
4191
+ "type": "object",
4192
+ "description": "",
4193
+ "x-internal": false,
4194
+ "properties": {
4195
+ "category": {
4196
+ "type": "string"
4197
+ },
4198
+ "question_en": {
4199
+ "type": "string"
4200
+ },
4201
+ "answer_en": {
4202
+ "type": "string"
4203
+ }
4204
+ }
4205
+ },
4206
+ "FaqsIdRequest": {
4207
+ "title": "Faqs Id Request",
4208
+ "type": "object",
4209
+ "description": "",
4210
+ "x-internal": false,
4211
+ "properties": {
4212
+ "Id": {
4213
+ "type": "integer"
4214
+ }
4215
+ }
4216
+ },
4217
+ "WebhookResponse": {
4218
+ "title": "Webhook Response",
4219
+ "type": "object",
4220
+ "description": "",
4221
+ "x-internal": false,
4222
+ "properties": {
4223
+ "Id": {
4224
+ "type": "integer"
4225
+ },
4226
+ "Email": {
4227
+ "type": "string"
4228
+ },
4229
+ "Event": {
4230
+ "type": "string"
4231
+ },
4232
+ "Amount": {
4233
+ "type": "string"
4234
+ },
4235
+ "Tour_Id": {
4236
+ "type": "string"
4237
+ },
4238
+ "Phone_Number": {
4239
+ "type": "string"
4240
+ }
4241
+ }
4242
+ },
4243
+ "WebhookRequest": {
4244
+ "title": "Webhook Request",
4245
+ "type": "object",
4246
+ "description": "",
4247
+ "x-internal": false,
4248
+ "properties": {
4249
+ "Email": {
4250
+ "type": "string"
4251
+ },
4252
+ "Event": {
4253
+ "type": "string"
4254
+ },
4255
+ "Amount": {
4256
+ "type": "string"
4257
+ },
4258
+ "Tour_Id": {
4259
+ "type": "string"
4260
+ },
4261
+ "Phone_Number": {
4262
+ "type": "string"
4263
+ }
4264
+ }
4265
+ },
4266
+ "WebhookIdRequest": {
4267
+ "title": "Webhook Id Request",
4268
+ "type": "object",
4269
+ "description": "",
4270
+ "x-internal": false,
4271
+ "properties": {
4272
+ "Id": {
4273
+ "type": "integer"
4274
+ }
4275
+ }
4276
+ },
4277
+ "IdeasResponse": {
4278
+ "title": "Ideas Response",
4279
+ "type": "object",
4280
+ "description": "",
4281
+ "x-internal": false,
4282
+ "properties": {
4283
+ "Id": {
4284
+ "type": "integer"
4285
+ },
4286
+ "title": {
4287
+ "type": "string"
4288
+ },
4289
+ "description": {
4290
+ "type": "string"
4291
+ },
4292
+ "content": {
4293
+ "type": "string"
4294
+ },
4295
+ "json": {
4296
+ "type": "object"
4297
+ }
4298
+ }
4299
+ },
4300
+ "IdeasRequest": {
4301
+ "title": "Ideas Request",
4302
+ "type": "object",
4303
+ "description": "",
4304
+ "x-internal": false,
4305
+ "properties": {
4306
+ "title": {
4307
+ "type": "string"
4308
+ },
4309
+ "description": {
4310
+ "type": "string"
4311
+ },
4312
+ "content": {
4313
+ "type": "string"
4314
+ },
4315
+ "json": {
4316
+ "type": "object"
4317
+ }
4318
+ }
4319
+ },
4320
+ "IdeasIdRequest": {
4321
+ "title": "Ideas Id Request",
4322
+ "type": "object",
4323
+ "description": "",
4324
+ "x-internal": false,
4325
+ "properties": {
4326
+ "Id": {
4327
+ "type": "integer"
4328
+ }
4329
+ }
4330
+ }
4331
+ },
4332
+ "securitySchemes": {
4333
+ "xcToken": {
4334
+ "type": "apiKey",
4335
+ "in": "header",
4336
+ "name": "xc-token",
4337
+ "description": "API token"
4338
+ }
4339
+ },
4340
+ "responses": {
4341
+ "BadRequest": {
4342
+ "description": "BadRequest",
4343
+ "content": {
4344
+ "application/json": {
4345
+ "schema": {
4346
+ "type": "object",
4347
+ "properties": {
4348
+ "msg": {
4349
+ "type": "string",
4350
+ "x-stoplight": {
4351
+ "id": "p9mk4oi0hbihm"
4352
+ },
4353
+ "example": "BadRequest [Error]: <ERROR MESSAGE>"
4354
+ }
4355
+ },
4356
+ "required": [
4357
+ "msg"
4358
+ ]
4359
+ },
4360
+ "examples": {
4361
+ "Example 1": {
4362
+ "value": {
4363
+ "msg": "BadRequest [Error]: <ERROR MESSAGE>"
4364
+ }
4365
+ }
4366
+ }
4367
+ }
4368
+ },
4369
+ "headers": {}
4370
+ }
4371
+ }
4372
+ },
4373
+ "security": [
4374
+ {
4375
+ "xcToken": []
4376
+ }
4377
+ ]
4378
+ }