trieve_ruby_client 0.4.0 → 0.5.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.
- checksums.yaml +4 -4
- data/README.md +13 -13
- data/docs/AddChunkToGroupData.md +1 -1
- data/docs/ChunkApi.md +25 -29
- data/docs/ChunkGroupApi.md +26 -32
- data/docs/GetEventsData.md +1 -1
- data/lib/trieve_ruby_client/api/auth_api.rb +1 -1
- data/lib/trieve_ruby_client/api/chunk_api.rb +28 -32
- data/lib/trieve_ruby_client/api/chunk_group_api.rb +36 -46
- data/lib/trieve_ruby_client/api/dataset_api.rb +1 -1
- data/lib/trieve_ruby_client/api/events_api.rb +1 -1
- data/lib/trieve_ruby_client/api/file_api.rb +1 -1
- data/lib/trieve_ruby_client/api/health_api.rb +1 -1
- data/lib/trieve_ruby_client/api/invitation_api.rb +1 -1
- data/lib/trieve_ruby_client/api/message_api.rb +1 -1
- data/lib/trieve_ruby_client/api/organization_api.rb +1 -1
- data/lib/trieve_ruby_client/api/stripe_api.rb +1 -1
- data/lib/trieve_ruby_client/api/topic_api.rb +1 -1
- data/lib/trieve_ruby_client/api/user_api.rb +1 -1
- data/lib/trieve_ruby_client/api_client.rb +1 -1
- data/lib/trieve_ruby_client/api_error.rb +1 -1
- data/lib/trieve_ruby_client/configuration.rb +1 -1
- data/lib/trieve_ruby_client/models/add_chunk_to_group_data.rb +2 -2
- data/lib/trieve_ruby_client/models/api_key_dto.rb +1 -1
- data/lib/trieve_ruby_client/models/auth_query.rb +1 -1
- data/lib/trieve_ruby_client/models/batch_queued_chunk_response.rb +1 -1
- data/lib/trieve_ruby_client/models/bookmark_data.rb +1 -1
- data/lib/trieve_ruby_client/models/bookmark_group_result.rb +1 -1
- data/lib/trieve_ruby_client/models/chat_message_proxy.rb +1 -1
- data/lib/trieve_ruby_client/models/chunk_data.rb +1 -1
- data/lib/trieve_ruby_client/models/chunk_filter.rb +1 -1
- data/lib/trieve_ruby_client/models/chunk_group.rb +1 -1
- data/lib/trieve_ruby_client/models/chunk_group_and_file.rb +1 -1
- data/lib/trieve_ruby_client/models/chunk_metadata.rb +1 -1
- data/lib/trieve_ruby_client/models/chunk_metadata_with_file_data.rb +1 -1
- data/lib/trieve_ruby_client/models/client_dataset_configuration.rb +1 -1
- data/lib/trieve_ruby_client/models/create_chunk_data.rb +1 -1
- data/lib/trieve_ruby_client/models/create_chunk_group_data.rb +1 -1
- data/lib/trieve_ruby_client/models/create_dataset_request.rb +1 -1
- data/lib/trieve_ruby_client/models/create_message_data.rb +1 -1
- data/lib/trieve_ruby_client/models/create_organization_data.rb +1 -1
- data/lib/trieve_ruby_client/models/create_topic_data.rb +1 -1
- data/lib/trieve_ruby_client/models/dataset.rb +1 -1
- data/lib/trieve_ruby_client/models/dataset_and_usage.rb +1 -1
- data/lib/trieve_ruby_client/models/dataset_dto.rb +1 -1
- data/lib/trieve_ruby_client/models/dataset_usage_count.rb +1 -1
- data/lib/trieve_ruby_client/models/delete_dataset_request.rb +1 -1
- data/lib/trieve_ruby_client/models/delete_topic_data.rb +1 -1
- data/lib/trieve_ruby_client/models/delete_user_api_key_request.rb +1 -1
- data/lib/trieve_ruby_client/models/edit_message_data.rb +1 -1
- data/lib/trieve_ruby_client/models/error_response_body.rb +1 -1
- data/lib/trieve_ruby_client/models/event.rb +1 -1
- data/lib/trieve_ruby_client/models/event_return.rb +1 -1
- data/lib/trieve_ruby_client/models/field_condition.rb +1 -1
- data/lib/trieve_ruby_client/models/file.rb +1 -1
- data/lib/trieve_ruby_client/models/file_dto.rb +1 -1
- data/lib/trieve_ruby_client/models/generate_chunks_request.rb +1 -1
- data/lib/trieve_ruby_client/models/get_events_data.rb +2 -2
- data/lib/trieve_ruby_client/models/get_groups_for_chunks_data.rb +1 -1
- data/lib/trieve_ruby_client/models/group_data.rb +1 -1
- data/lib/trieve_ruby_client/models/group_score_chunk_dto.rb +1 -1
- data/lib/trieve_ruby_client/models/invitation_data.rb +1 -1
- data/lib/trieve_ruby_client/models/match_condition.rb +1 -1
- data/lib/trieve_ruby_client/models/message.rb +1 -1
- data/lib/trieve_ruby_client/models/organization.rb +1 -1
- data/lib/trieve_ruby_client/models/organization_usage_count.rb +1 -1
- data/lib/trieve_ruby_client/models/range.rb +1 -1
- data/lib/trieve_ruby_client/models/reccomend_group_chunks_request.rb +1 -1
- data/lib/trieve_ruby_client/models/recommend_chunks_request.rb +1 -1
- data/lib/trieve_ruby_client/models/regenerate_message_data.rb +1 -1
- data/lib/trieve_ruby_client/models/return_queued_chunk.rb +1 -1
- data/lib/trieve_ruby_client/models/score_chunk_dto.rb +1 -1
- data/lib/trieve_ruby_client/models/search_chunk_data.rb +1 -1
- data/lib/trieve_ruby_client/models/search_chunk_query_response_body.rb +1 -1
- data/lib/trieve_ruby_client/models/search_groups_result.rb +1 -1
- data/lib/trieve_ruby_client/models/search_over_groups_data.rb +1 -1
- data/lib/trieve_ruby_client/models/search_over_groups_response_body.rb +1 -1
- data/lib/trieve_ruby_client/models/search_within_group_data.rb +1 -1
- data/lib/trieve_ruby_client/models/set_user_api_key_request.rb +1 -1
- data/lib/trieve_ruby_client/models/set_user_api_key_response.rb +1 -1
- data/lib/trieve_ruby_client/models/single_queued_chunk_response.rb +1 -1
- data/lib/trieve_ruby_client/models/slim_group.rb +1 -1
- data/lib/trieve_ruby_client/models/slim_user.rb +1 -1
- data/lib/trieve_ruby_client/models/stripe_plan.rb +1 -1
- data/lib/trieve_ruby_client/models/suggested_queries_request.rb +1 -1
- data/lib/trieve_ruby_client/models/suggested_queries_response.rb +1 -1
- data/lib/trieve_ruby_client/models/topic.rb +1 -1
- data/lib/trieve_ruby_client/models/update_chunk_by_tracking_id_data.rb +1 -1
- data/lib/trieve_ruby_client/models/update_chunk_data.rb +1 -1
- data/lib/trieve_ruby_client/models/update_chunk_group_data.rb +1 -1
- data/lib/trieve_ruby_client/models/update_dataset_request.rb +1 -1
- data/lib/trieve_ruby_client/models/update_group_by_tracking_id_data.rb +1 -1
- data/lib/trieve_ruby_client/models/update_organization_data.rb +1 -1
- data/lib/trieve_ruby_client/models/update_topic_data.rb +1 -1
- data/lib/trieve_ruby_client/models/update_user_data.rb +1 -1
- data/lib/trieve_ruby_client/models/upload_file_data.rb +1 -1
- data/lib/trieve_ruby_client/models/upload_file_result.rb +1 -1
- data/lib/trieve_ruby_client/models/user_organization.rb +1 -1
- data/lib/trieve_ruby_client/version.rb +2 -2
- data/lib/trieve_ruby_client.rb +1 -1
- data/openapi-generator.yaml +1 -1
- data/openapi.json +111 -173
- data/spec/api/auth_api_spec.rb +16 -18
- data/spec/api/chunk_api_spec.rb +30 -43
- data/spec/api/chunk_group_api_spec.rb +54 -33
- data/spec/api/dataset_api_spec.rb +19 -19
- data/spec/api/events_api_spec.rb +10 -10
- data/spec/api/file_api_spec.rb +15 -15
- data/spec/api/health_api_spec.rb +9 -7
- data/spec/api/invitation_api_spec.rb +9 -9
- data/spec/api/message_api_spec.rb +15 -15
- data/spec/api/organization_api_spec.rb +19 -19
- data/spec/api/stripe_api_spec.rb +15 -7
- data/spec/api/topic_api_spec.rb +15 -15
- data/spec/api/user_api_spec.rb +13 -13
- data/spec/models/add_chunk_to_group_data_spec.rb +8 -8
- data/spec/models/api_key_dto_spec.rb +8 -8
- data/spec/models/auth_query_spec.rb +1 -1
- data/spec/models/batch_queued_chunk_response_spec.rb +1 -1
- data/spec/models/bookmark_data_spec.rb +8 -8
- data/spec/models/bookmark_group_result_spec.rb +8 -8
- data/spec/models/chat_message_proxy_spec.rb +8 -8
- data/spec/models/chunk_data_spec.rb +1 -1
- data/spec/models/chunk_filter_spec.rb +8 -8
- data/spec/models/chunk_group_and_file_spec.rb +8 -8
- data/spec/models/chunk_group_spec.rb +8 -8
- data/spec/models/chunk_metadata_spec.rb +8 -8
- data/spec/models/chunk_metadata_with_file_data_spec.rb +8 -8
- data/spec/models/client_dataset_configuration_spec.rb +8 -8
- data/spec/models/create_chunk_data_spec.rb +11 -87
- data/spec/models/create_chunk_group_data_spec.rb +8 -8
- data/spec/models/create_dataset_request_spec.rb +8 -8
- data/spec/models/create_message_data_spec.rb +8 -8
- data/spec/models/create_organization_data_spec.rb +8 -8
- data/spec/models/create_topic_data_spec.rb +8 -8
- data/spec/models/dataset_and_usage_spec.rb +8 -8
- data/spec/models/dataset_dto_spec.rb +8 -8
- data/spec/models/dataset_spec.rb +8 -8
- data/spec/models/dataset_usage_count_spec.rb +8 -8
- data/spec/models/delete_dataset_request_spec.rb +8 -8
- data/spec/models/delete_topic_data_spec.rb +8 -8
- data/spec/models/delete_user_api_key_request_spec.rb +8 -8
- data/spec/models/edit_message_data_spec.rb +8 -8
- data/spec/models/error_response_body_spec.rb +8 -8
- data/spec/models/event_return_spec.rb +8 -8
- data/spec/models/event_spec.rb +8 -8
- data/spec/models/field_condition_spec.rb +8 -8
- data/spec/models/file_dto_spec.rb +8 -8
- data/spec/models/file_spec.rb +8 -8
- data/spec/models/generate_chunks_request_spec.rb +8 -8
- data/spec/models/get_events_data_spec.rb +1 -1
- data/spec/models/get_groups_for_chunks_data_spec.rb +8 -8
- data/spec/models/group_data_spec.rb +8 -8
- data/spec/models/group_score_chunk_dto_spec.rb +8 -8
- data/spec/models/invitation_data_spec.rb +8 -8
- data/spec/models/match_condition_spec.rb +6 -6
- data/spec/models/message_spec.rb +8 -8
- data/spec/models/organization_spec.rb +8 -8
- data/spec/models/organization_usage_count_spec.rb +8 -8
- data/spec/models/range_spec.rb +8 -8
- data/spec/models/reccomend_group_chunks_request_spec.rb +8 -8
- data/spec/models/recommend_chunks_request_spec.rb +8 -8
- data/spec/models/regenerate_message_data_spec.rb +8 -8
- data/spec/models/return_queued_chunk_spec.rb +11 -21
- data/spec/models/score_chunk_dto_spec.rb +8 -8
- data/spec/models/search_chunk_data_spec.rb +8 -8
- data/spec/models/search_chunk_query_response_body_spec.rb +8 -8
- data/spec/models/search_groups_result_spec.rb +8 -8
- data/spec/models/search_over_groups_data_spec.rb +8 -8
- data/spec/models/search_over_groups_response_body_spec.rb +8 -8
- data/spec/models/search_within_group_data_spec.rb +8 -8
- data/spec/models/set_user_api_key_request_spec.rb +8 -8
- data/spec/models/set_user_api_key_response_spec.rb +8 -8
- data/spec/models/single_queued_chunk_response_spec.rb +1 -1
- data/spec/models/slim_group_spec.rb +8 -8
- data/spec/models/slim_user_spec.rb +8 -8
- data/spec/models/stripe_plan_spec.rb +8 -8
- data/spec/models/suggested_queries_request_spec.rb +8 -8
- data/spec/models/suggested_queries_response_spec.rb +8 -8
- data/spec/models/topic_spec.rb +8 -8
- data/spec/models/update_chunk_by_tracking_id_data_spec.rb +20 -8
- data/spec/models/update_chunk_data_spec.rb +20 -8
- data/spec/models/update_chunk_group_data_spec.rb +14 -8
- data/spec/models/update_dataset_request_spec.rb +8 -8
- data/spec/models/update_group_by_tracking_id_data_spec.rb +8 -8
- data/spec/models/update_organization_data_spec.rb +8 -8
- data/spec/models/update_topic_data_spec.rb +8 -8
- data/spec/models/update_user_data_spec.rb +8 -8
- data/spec/models/upload_file_data_spec.rb +8 -8
- data/spec/models/upload_file_result_spec.rb +8 -8
- data/spec/models/user_organization_spec.rb +8 -8
- data/spec/spec_helper.rb +1 -1
- data/trieve_ruby_client-0.4.0.gem +0 -0
- data/trieve_ruby_client.gemspec +1 -1
- metadata +3 -6
- data/docs/StripeSubscription.md +0 -30
- data/lib/trieve_ruby_client/models/stripe_subscription.rb +0 -311
- data/spec/models/stripe_subscription_spec.rb +0 -72
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.5.0
|
7
7
|
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.5.0
|
7
7
|
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.5.0
|
7
7
|
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.5.0
|
7
7
|
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.5.0
|
7
7
|
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.5.0
|
7
7
|
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
@@ -11,5 +11,5 @@ Generator version: 7.4.0
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module TrieveRubyClient
|
14
|
-
VERSION = '0.
|
14
|
+
VERSION = '0.5.0'
|
15
15
|
end
|
data/lib/trieve_ruby_client.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.5.0
|
7
7
|
Contact: developers@trieve.ai
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
Generator version: 7.4.0
|
data/openapi-generator.yaml
CHANGED
data/openapi.json
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
"name": "BSL",
|
13
13
|
"url": "https://github.com/devflowinc/trieve/blob/main/LICENSE.txt"
|
14
14
|
},
|
15
|
-
"version": "0.
|
15
|
+
"version": "0.5.0"
|
16
16
|
},
|
17
17
|
"servers": [
|
18
18
|
{
|
@@ -150,8 +150,8 @@
|
|
150
150
|
"tags": [
|
151
151
|
"chunk"
|
152
152
|
],
|
153
|
-
"summary": "Create Chunk",
|
154
|
-
"description": "Create Chunk\n\nCreate a new chunk. If the chunk has the same tracking_id as an existing chunk, the request will fail. Once a chunk is created, it can be searched for using the search endpoint.",
|
153
|
+
"summary": "Create or Upsert Chunk or Chunks",
|
154
|
+
"description": "Create or Upsert Chunk or Chunks\n\nCreate a new chunk. If the chunk has the same tracking_id as an existing chunk, the request will fail. Once a chunk is created, it can be searched for using the search endpoint.",
|
155
155
|
"operationId": "create_chunk",
|
156
156
|
"parameters": [
|
157
157
|
{
|
@@ -214,6 +214,58 @@
|
|
214
214
|
]
|
215
215
|
}
|
216
216
|
]
|
217
|
+
},
|
218
|
+
"put": {
|
219
|
+
"tags": [
|
220
|
+
"chunk"
|
221
|
+
],
|
222
|
+
"summary": "Update Chunk",
|
223
|
+
"description": "Update Chunk\n\nUpdate a chunk. If you try to change the tracking_id of the chunk to have the same tracking_id as an existing chunk, the request will fail.",
|
224
|
+
"operationId": "update_chunk",
|
225
|
+
"parameters": [
|
226
|
+
{
|
227
|
+
"name": "TR-Dataset",
|
228
|
+
"in": "header",
|
229
|
+
"description": "The dataset id to use for the request",
|
230
|
+
"required": true,
|
231
|
+
"schema": {
|
232
|
+
"type": "string"
|
233
|
+
}
|
234
|
+
}
|
235
|
+
],
|
236
|
+
"requestBody": {
|
237
|
+
"description": "JSON request payload to update a chunk (chunk)",
|
238
|
+
"content": {
|
239
|
+
"application/json": {
|
240
|
+
"schema": {
|
241
|
+
"$ref": "#/components/schemas/UpdateChunkData"
|
242
|
+
}
|
243
|
+
}
|
244
|
+
},
|
245
|
+
"required": true
|
246
|
+
},
|
247
|
+
"responses": {
|
248
|
+
"204": {
|
249
|
+
"description": "No content Ok response indicating the chunk was updated as requested"
|
250
|
+
},
|
251
|
+
"400": {
|
252
|
+
"description": "Service error relating to to updating chunk, likely due to conflicting tracking_id",
|
253
|
+
"content": {
|
254
|
+
"application/json": {
|
255
|
+
"schema": {
|
256
|
+
"$ref": "#/components/schemas/ErrorResponseBody"
|
257
|
+
}
|
258
|
+
}
|
259
|
+
}
|
260
|
+
}
|
261
|
+
},
|
262
|
+
"security": [
|
263
|
+
{
|
264
|
+
"ApiKey": [
|
265
|
+
"admin"
|
266
|
+
]
|
267
|
+
}
|
268
|
+
]
|
217
269
|
}
|
218
270
|
},
|
219
271
|
"/api/chunk/gen_suggestions": {
|
@@ -282,8 +334,8 @@
|
|
282
334
|
"tags": [
|
283
335
|
"chunk"
|
284
336
|
],
|
285
|
-
"summary": "RAG on
|
286
|
-
"description": "RAG on
|
337
|
+
"summary": "RAG on Specified Chunks",
|
338
|
+
"description": "RAG on Specified Chunks\n\nThis endpoint exists as an alternative to the topic+message concept where our API handles chat memory. With this endpoint, the user is responsible for providing the context window and the prompt. See more in the \"search before generate\" page at docs.trieve.ai.",
|
287
339
|
"operationId": "generate_off_chunks",
|
288
340
|
"parameters": [
|
289
341
|
{
|
@@ -508,7 +560,6 @@
|
|
508
560
|
}
|
509
561
|
}
|
510
562
|
},
|
511
|
-
"deprecated": true,
|
512
563
|
"security": [
|
513
564
|
{
|
514
565
|
"ApiKey": [
|
@@ -568,7 +619,6 @@
|
|
568
619
|
}
|
569
620
|
}
|
570
621
|
},
|
571
|
-
"deprecated": true,
|
572
622
|
"security": [
|
573
623
|
{
|
574
624
|
"ApiKey": [
|
@@ -619,61 +669,6 @@
|
|
619
669
|
}
|
620
670
|
}
|
621
671
|
},
|
622
|
-
"deprecated": true,
|
623
|
-
"security": [
|
624
|
-
{
|
625
|
-
"ApiKey": [
|
626
|
-
"admin"
|
627
|
-
]
|
628
|
-
}
|
629
|
-
]
|
630
|
-
}
|
631
|
-
},
|
632
|
-
"/api/chunk/update": {
|
633
|
-
"put": {
|
634
|
-
"tags": [
|
635
|
-
"chunk"
|
636
|
-
],
|
637
|
-
"summary": "Update Chunk",
|
638
|
-
"description": "Update Chunk\n\nUpdate a chunk. If you try to change the tracking_id of the chunk to have the same tracking_id as an existing chunk, the request will fail.",
|
639
|
-
"operationId": "update_chunk",
|
640
|
-
"parameters": [
|
641
|
-
{
|
642
|
-
"name": "TR-Dataset",
|
643
|
-
"in": "header",
|
644
|
-
"description": "The dataset id to use for the request",
|
645
|
-
"required": true,
|
646
|
-
"schema": {
|
647
|
-
"type": "string"
|
648
|
-
}
|
649
|
-
}
|
650
|
-
],
|
651
|
-
"requestBody": {
|
652
|
-
"description": "JSON request payload to update a chunk (chunk)",
|
653
|
-
"content": {
|
654
|
-
"application/json": {
|
655
|
-
"schema": {
|
656
|
-
"$ref": "#/components/schemas/UpdateChunkData"
|
657
|
-
}
|
658
|
-
}
|
659
|
-
},
|
660
|
-
"required": true
|
661
|
-
},
|
662
|
-
"responses": {
|
663
|
-
"204": {
|
664
|
-
"description": "No content Ok response indicating the chunk was updated as requested"
|
665
|
-
},
|
666
|
-
"400": {
|
667
|
-
"description": "Service error relating to to updating chunk, likely due to conflicting tracking_id",
|
668
|
-
"content": {
|
669
|
-
"application/json": {
|
670
|
-
"schema": {
|
671
|
-
"$ref": "#/components/schemas/ErrorResponseBody"
|
672
|
-
}
|
673
|
-
}
|
674
|
-
}
|
675
|
-
}
|
676
|
-
},
|
677
672
|
"security": [
|
678
673
|
{
|
679
674
|
"ApiKey": [
|
@@ -683,7 +678,7 @@
|
|
683
678
|
]
|
684
679
|
}
|
685
680
|
},
|
686
|
-
"/api/chunk/{
|
681
|
+
"/api/chunk/{chunk_id}": {
|
687
682
|
"get": {
|
688
683
|
"tags": [
|
689
684
|
"chunk"
|
@@ -701,24 +696,14 @@
|
|
701
696
|
"type": "string"
|
702
697
|
}
|
703
698
|
},
|
704
|
-
{
|
705
|
-
"name": "tracking_or_chunk",
|
706
|
-
"in": "path",
|
707
|
-
"description": "The type of id you are using to search for the chunk. This can be either 'chunk' or 'tracking_id'",
|
708
|
-
"required": true,
|
709
|
-
"schema": {
|
710
|
-
"type": "string"
|
711
|
-
}
|
712
|
-
},
|
713
699
|
{
|
714
700
|
"name": "chunk_id",
|
715
701
|
"in": "path",
|
716
|
-
"description": "Id of the chunk you want to fetch.
|
702
|
+
"description": "Id of the chunk you want to fetch.",
|
717
703
|
"required": true,
|
718
704
|
"schema": {
|
719
705
|
"type": "string",
|
720
|
-
"format": "uuid"
|
721
|
-
"nullable": true
|
706
|
+
"format": "uuid"
|
722
707
|
}
|
723
708
|
}
|
724
709
|
],
|
@@ -769,24 +754,14 @@
|
|
769
754
|
"type": "string"
|
770
755
|
}
|
771
756
|
},
|
772
|
-
{
|
773
|
-
"name": "tracking_or_chunk",
|
774
|
-
"in": "path",
|
775
|
-
"description": "The type of id you are using to search for the chunk. This can be either 'chunk' or 'tracking_id'",
|
776
|
-
"required": true,
|
777
|
-
"schema": {
|
778
|
-
"type": "string"
|
779
|
-
}
|
780
|
-
},
|
781
757
|
{
|
782
758
|
"name": "chunk_id",
|
783
759
|
"in": "path",
|
784
|
-
"description": "Id of the chunk you want to fetch.
|
760
|
+
"description": "Id of the chunk you want to fetch.",
|
785
761
|
"required": true,
|
786
762
|
"schema": {
|
787
763
|
"type": "string",
|
788
|
-
"format": "uuid"
|
789
|
-
"nullable": true
|
764
|
+
"format": "uuid"
|
790
765
|
}
|
791
766
|
}
|
792
767
|
],
|
@@ -820,7 +795,7 @@
|
|
820
795
|
"chunk_group"
|
821
796
|
],
|
822
797
|
"summary": "Create Chunk Group",
|
823
|
-
"description": "Create Chunk Group\n\nCreate a new chunk_group.",
|
798
|
+
"description": "Create Chunk Group\n\nCreate a new chunk_group. This is a way to group chunks together. If you try to create a chunk_group with the same tracking_id as an existing chunk_group, this operation will fail.",
|
824
799
|
"operationId": "create_chunk_group",
|
825
800
|
"parameters": [
|
826
801
|
{
|
@@ -879,7 +854,7 @@
|
|
879
854
|
"chunk_group"
|
880
855
|
],
|
881
856
|
"summary": "Update Group",
|
882
|
-
"description": "Update Group\n\nUpdate a chunk_group.",
|
857
|
+
"description": "Update Group\n\nUpdate a chunk_group. If you try to change the tracking_id to one that already exists, this operation will fail.",
|
883
858
|
"operationId": "update_chunk_group",
|
884
859
|
"parameters": [
|
885
860
|
{
|
@@ -933,7 +908,7 @@
|
|
933
908
|
"chunk_group"
|
934
909
|
],
|
935
910
|
"summary": "Add Chunk to Group",
|
936
|
-
"description": "Add Chunk to Group\n\nRoute to add a chunk to a group",
|
911
|
+
"description": "Add Chunk to Group\n\nRoute to add a chunk to a group.",
|
937
912
|
"operationId": "add_chunk_to_group",
|
938
913
|
"parameters": [
|
939
914
|
{
|
@@ -982,7 +957,6 @@
|
|
982
957
|
}
|
983
958
|
}
|
984
959
|
},
|
985
|
-
"deprecated": true,
|
986
960
|
"security": [
|
987
961
|
{
|
988
962
|
"ApiKey": [
|
@@ -1045,7 +1019,6 @@
|
|
1045
1019
|
}
|
1046
1020
|
}
|
1047
1021
|
},
|
1048
|
-
"deprecated": true,
|
1049
1022
|
"security": [
|
1050
1023
|
{
|
1051
1024
|
"ApiKey": [
|
@@ -1311,8 +1284,7 @@
|
|
1311
1284
|
"description": "The id of the group to get the chunks from",
|
1312
1285
|
"required": true,
|
1313
1286
|
"schema": {
|
1314
|
-
"type": "string"
|
1315
|
-
"format": "uuid"
|
1287
|
+
"type": "string"
|
1316
1288
|
}
|
1317
1289
|
},
|
1318
1290
|
{
|
@@ -1349,7 +1321,6 @@
|
|
1349
1321
|
}
|
1350
1322
|
}
|
1351
1323
|
},
|
1352
|
-
"deprecated": true,
|
1353
1324
|
"security": [
|
1354
1325
|
{
|
1355
1326
|
"ApiKey": [
|
@@ -1409,7 +1380,6 @@
|
|
1409
1380
|
}
|
1410
1381
|
}
|
1411
1382
|
},
|
1412
|
-
"deprecated": true,
|
1413
1383
|
"security": [
|
1414
1384
|
{
|
1415
1385
|
"ApiKey": [
|
@@ -1423,7 +1393,7 @@
|
|
1423
1393
|
"chunk_group"
|
1424
1394
|
],
|
1425
1395
|
"summary": "Add Chunk to Group by Tracking ID",
|
1426
|
-
"description": "Add Chunk to Group by Tracking ID\n\nRoute to add a chunk to a group by tracking id.
|
1396
|
+
"description": "Add Chunk to Group by Tracking ID\n\nRoute to add a chunk to a group by tracking id.",
|
1427
1397
|
"operationId": "add_chunk_to_group_by_tracking_id",
|
1428
1398
|
"parameters": [
|
1429
1399
|
{
|
@@ -1471,7 +1441,6 @@
|
|
1471
1441
|
}
|
1472
1442
|
}
|
1473
1443
|
},
|
1474
|
-
"deprecated": true,
|
1475
1444
|
"security": [
|
1476
1445
|
{
|
1477
1446
|
"ApiKey": [
|
@@ -1534,7 +1503,6 @@
|
|
1534
1503
|
}
|
1535
1504
|
}
|
1536
1505
|
},
|
1537
|
-
"deprecated": true,
|
1538
1506
|
"security": [
|
1539
1507
|
{
|
1540
1508
|
"ApiKey": [
|
@@ -1585,7 +1553,6 @@
|
|
1585
1553
|
}
|
1586
1554
|
}
|
1587
1555
|
},
|
1588
|
-
"deprecated": true,
|
1589
1556
|
"security": [
|
1590
1557
|
{
|
1591
1558
|
"ApiKey": [
|
@@ -1595,7 +1562,7 @@
|
|
1595
1562
|
]
|
1596
1563
|
}
|
1597
1564
|
},
|
1598
|
-
"/api/chunk_group/{
|
1565
|
+
"/api/chunk_group/{group_id}": {
|
1599
1566
|
"get": {
|
1600
1567
|
"tags": [
|
1601
1568
|
"chunk_group"
|
@@ -1613,24 +1580,14 @@
|
|
1613
1580
|
"type": "string"
|
1614
1581
|
}
|
1615
1582
|
},
|
1616
|
-
{
|
1617
|
-
"name": "tracking_or_chunk",
|
1618
|
-
"in": "path",
|
1619
|
-
"description": "The type of id you are using to search for the group. This can be either 'chunk' or 'tracking_id'",
|
1620
|
-
"required": true,
|
1621
|
-
"schema": {
|
1622
|
-
"type": "string"
|
1623
|
-
}
|
1624
|
-
},
|
1625
1583
|
{
|
1626
1584
|
"name": "group_id",
|
1627
1585
|
"in": "path",
|
1628
|
-
"description": "Id of the group you want to fetch.
|
1586
|
+
"description": "Id of the group you want to fetch.",
|
1629
1587
|
"required": true,
|
1630
1588
|
"schema": {
|
1631
1589
|
"type": "string",
|
1632
|
-
"format": "uuid"
|
1633
|
-
"nullable": true
|
1590
|
+
"format": "uuid"
|
1634
1591
|
}
|
1635
1592
|
}
|
1636
1593
|
],
|
@@ -1681,24 +1638,14 @@
|
|
1681
1638
|
"type": "string"
|
1682
1639
|
}
|
1683
1640
|
},
|
1684
|
-
{
|
1685
|
-
"name": "tracking_or_chunk",
|
1686
|
-
"in": "path",
|
1687
|
-
"description": "The type of id you are using to search for the group. This can be either 'chunk' or 'tracking_id'",
|
1688
|
-
"required": true,
|
1689
|
-
"schema": {
|
1690
|
-
"type": "string"
|
1691
|
-
}
|
1692
|
-
},
|
1693
1641
|
{
|
1694
1642
|
"name": "group_id",
|
1695
1643
|
"in": "path",
|
1696
|
-
"description": "Id of the group you want to fetch.
|
1644
|
+
"description": "Id of the group you want to fetch.",
|
1697
1645
|
"required": true,
|
1698
1646
|
"schema": {
|
1699
1647
|
"type": "string",
|
1700
|
-
"format": "uuid"
|
1701
|
-
"nullable": true
|
1648
|
+
"format": "uuid"
|
1702
1649
|
}
|
1703
1650
|
},
|
1704
1651
|
{
|
@@ -1735,7 +1682,7 @@
|
|
1735
1682
|
]
|
1736
1683
|
}
|
1737
1684
|
},
|
1738
|
-
"/api/chunk_group/{
|
1685
|
+
"/api/chunk_group/{group_id}/{page}": {
|
1739
1686
|
"get": {
|
1740
1687
|
"tags": [
|
1741
1688
|
"chunk_group"
|
@@ -1753,24 +1700,14 @@
|
|
1753
1700
|
"type": "string"
|
1754
1701
|
}
|
1755
1702
|
},
|
1756
|
-
{
|
1757
|
-
"name": "tracking_or_chunk",
|
1758
|
-
"in": "path",
|
1759
|
-
"description": "The type of id you are using to search for the group. This can be either 'chunk' or 'tracking_id'",
|
1760
|
-
"required": true,
|
1761
|
-
"schema": {
|
1762
|
-
"type": "string"
|
1763
|
-
}
|
1764
|
-
},
|
1765
1703
|
{
|
1766
1704
|
"name": "group_id",
|
1767
1705
|
"in": "path",
|
1768
|
-
"description": "Id of the group you want to fetch.
|
1706
|
+
"description": "Id of the group you want to fetch.",
|
1769
1707
|
"required": true,
|
1770
1708
|
"schema": {
|
1771
1709
|
"type": "string",
|
1772
|
-
"format": "uuid"
|
1773
|
-
"nullable": true
|
1710
|
+
"format": "uuid"
|
1774
1711
|
}
|
1775
1712
|
},
|
1776
1713
|
{
|
@@ -1781,6 +1718,7 @@
|
|
1781
1718
|
"schema": {
|
1782
1719
|
"type": "integer",
|
1783
1720
|
"format": "int64",
|
1721
|
+
"nullable": true,
|
1784
1722
|
"minimum": 0
|
1785
1723
|
}
|
1786
1724
|
}
|
@@ -3811,7 +3749,7 @@
|
|
3811
3749
|
"chunk_id": {
|
3812
3750
|
"type": "string",
|
3813
3751
|
"format": "uuid",
|
3814
|
-
"description": "Id of the chunk to make a member of the group.
|
3752
|
+
"description": "Id of the chunk to make a member of the group."
|
3815
3753
|
}
|
3816
3754
|
}
|
3817
3755
|
},
|
@@ -4165,10 +4103,10 @@
|
|
4165
4103
|
"value4"
|
4166
4104
|
],
|
4167
4105
|
"range": {
|
4168
|
-
"gt": 0,
|
4169
|
-
"gte": 0,
|
4170
|
-
"lt": 1,
|
4171
|
-
"lte": 1
|
4106
|
+
"gt": 0.0,
|
4107
|
+
"gte": 0.0,
|
4108
|
+
"lt": 1.0,
|
4109
|
+
"lte": 1.0
|
4172
4110
|
}
|
4173
4111
|
}
|
4174
4112
|
],
|
@@ -4180,10 +4118,10 @@
|
|
4180
4118
|
"value6"
|
4181
4119
|
],
|
4182
4120
|
"range": {
|
4183
|
-
"gt": 0,
|
4184
|
-
"gte": 0,
|
4185
|
-
"lt": 1,
|
4186
|
-
"lte": 1
|
4121
|
+
"gt": 0.0,
|
4122
|
+
"gte": 0.0,
|
4123
|
+
"lt": 1.0,
|
4124
|
+
"lte": 1.0
|
4187
4125
|
}
|
4188
4126
|
}
|
4189
4127
|
],
|
@@ -4195,10 +4133,10 @@
|
|
4195
4133
|
"value2"
|
4196
4134
|
],
|
4197
4135
|
"range": {
|
4198
|
-
"gt": 0,
|
4199
|
-
"gte": 0,
|
4200
|
-
"lt": 1,
|
4201
|
-
"lte": 1
|
4136
|
+
"gt": 0.0,
|
4137
|
+
"gte": 0.0,
|
4138
|
+
"lt": 1.0,
|
4139
|
+
"lte": 1.0
|
4202
4140
|
}
|
4203
4141
|
}
|
4204
4142
|
]
|
@@ -5091,10 +5029,10 @@
|
|
5091
5029
|
"value2"
|
5092
5030
|
],
|
5093
5031
|
"range": {
|
5094
|
-
"gt": 0,
|
5095
|
-
"gte": 0,
|
5096
|
-
"lt": 1,
|
5097
|
-
"lte": 1
|
5032
|
+
"gt": 0.0,
|
5033
|
+
"gte": 0.0,
|
5034
|
+
"lt": 1.0,
|
5035
|
+
"lte": 1.0
|
5098
5036
|
}
|
5099
5037
|
}
|
5100
5038
|
},
|
@@ -5279,7 +5217,7 @@
|
|
5279
5217
|
"items": {
|
5280
5218
|
"type": "string"
|
5281
5219
|
},
|
5282
|
-
"description": "The
|
5220
|
+
"description": "The types of events to get. Any combination of file_uploaded, card_uploaded, card_action_failed, or card_updated. Leave undefined to get all events.",
|
5283
5221
|
"nullable": true
|
5284
5222
|
},
|
5285
5223
|
"page": {
|
@@ -5580,10 +5518,10 @@
|
|
5580
5518
|
}
|
5581
5519
|
},
|
5582
5520
|
"example": {
|
5583
|
-
"gt": 0,
|
5584
|
-
"gte": 0,
|
5585
|
-
"lt": 1,
|
5586
|
-
"lte": 1
|
5521
|
+
"gt": 0.0,
|
5522
|
+
"gte": 0.0,
|
5523
|
+
"lt": 1.0,
|
5524
|
+
"lte": 1.0
|
5587
5525
|
}
|
5588
5526
|
},
|
5589
5527
|
"ReccomendGroupChunksRequest": {
|
@@ -5866,10 +5804,10 @@
|
|
5866
5804
|
"value4"
|
5867
5805
|
],
|
5868
5806
|
"range": {
|
5869
|
-
"gt": 0,
|
5870
|
-
"gte": 0,
|
5871
|
-
"lt": 1,
|
5872
|
-
"lte": 1
|
5807
|
+
"gt": 0.0,
|
5808
|
+
"gte": 0.0,
|
5809
|
+
"lt": 1.0,
|
5810
|
+
"lte": 1.0
|
5873
5811
|
}
|
5874
5812
|
}
|
5875
5813
|
],
|
@@ -5881,10 +5819,10 @@
|
|
5881
5819
|
"value6"
|
5882
5820
|
],
|
5883
5821
|
"range": {
|
5884
|
-
"gt": 0,
|
5885
|
-
"gte": 0,
|
5886
|
-
"lt": 1,
|
5887
|
-
"lte": 1
|
5822
|
+
"gt": 0.0,
|
5823
|
+
"gte": 0.0,
|
5824
|
+
"lt": 1.0,
|
5825
|
+
"lte": 1.0
|
5888
5826
|
}
|
5889
5827
|
}
|
5890
5828
|
],
|
@@ -5896,10 +5834,10 @@
|
|
5896
5834
|
"value2"
|
5897
5835
|
],
|
5898
5836
|
"range": {
|
5899
|
-
"gt": 0,
|
5900
|
-
"gte": 0,
|
5901
|
-
"lt": 1,
|
5902
|
-
"lte": 1
|
5837
|
+
"gt": 0.0,
|
5838
|
+
"gte": 0.0,
|
5839
|
+
"lt": 1.0,
|
5840
|
+
"lte": 1.0
|
5903
5841
|
}
|
5904
5842
|
}
|
5905
5843
|
]
|
@@ -6931,4 +6869,4 @@
|
|
6931
6869
|
"description": "Health check endpoint. Used to check if the server is up and running."
|
6932
6870
|
}
|
6933
6871
|
]
|
6934
|
-
}
|
6872
|
+
}
|