Skip to content

Commit fd7e17f

Browse files
authored
fix: feat: Add Hub Document API (part 2) (#588)
1 parent d57e24b commit fd7e17f

3 files changed

Lines changed: 38 additions & 3 deletions

File tree

openapi.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "https://www.apache.org/licenses/LICENSE-2.0"
1515
},
1616
"version": "2024.0",
17-
"x-box-commit-hash": "a6c39536c4"
17+
"x-box-commit-hash": "ec77d8a84a"
1818
},
1919
"servers": [
2020
{
@@ -27470,6 +27470,11 @@
2747027470
"type": "boolean",
2747127471
"example": true
2747227472
},
27473+
"include_reference": {
27474+
"description": "A flag to indicate whether references for every extracted field should be returned.",
27475+
"type": "boolean",
27476+
"example": true
27477+
},
2747327478
"ai_agent": {
2747427479
"allOf": [
2747527480
{
@@ -27523,6 +27528,11 @@
2752327528
"type": "object",
2752427529
"additionalProperties": {}
2752527530
},
27531+
"reference": {
27532+
"description": "The reference for each extracted field as a JSON dictionary. This can be empty if no field could be extracted.",
27533+
"type": "object",
27534+
"additionalProperties": {}
27535+
},
2752627536
"ai_agent_info": {
2752727537
"$ref": "#/components/schemas/AiAgentInfo"
2752827538
}

openapi/openapi-v2025.0.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "https://www.apache.org/licenses/LICENSE-2.0"
1515
},
1616
"version": "2025.0",
17-
"x-box-commit-hash": "a6c39536c4"
17+
"x-box-commit-hash": "ec77d8a84a"
1818
},
1919
"servers": [
2020
{
@@ -1860,6 +1860,16 @@
18601860
},
18611861
"example": "12345"
18621862
},
1863+
{
1864+
"name": "parent_id",
1865+
"in": "query",
1866+
"description": "The unique identifier of an item list block within the Box Hub.\n\nWhen provided, the response will only include items that belong\nto the specified item list, allowing you to filter results to\nitems on a specific page or section.",
1867+
"required": false,
1868+
"schema": {
1869+
"type": "string"
1870+
},
1871+
"example": "721d97d7-ac8a-4e5e-adb6-ef11af4e6d9e"
1872+
},
18631873
{
18641874
"name": "marker",
18651875
"in": "query",
@@ -6422,6 +6432,11 @@
64226432
},
64236433
"item": {
64246434
"$ref": "#/components/schemas/HubItemReference"
6435+
},
6436+
"parent_id": {
6437+
"description": "The ID of the parent block to add the item to. Must be an Item List block. If not provided, the item will be added to the first page's first Item List block.",
6438+
"type": "string",
6439+
"example": "c9588f08-22d7-4d17-8ca9-f1e61c98c0bd"
64256440
}
64266441
},
64276442
"required": [

openapi/openapi.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "https://www.apache.org/licenses/LICENSE-2.0"
1515
},
1616
"version": "2024.0",
17-
"x-box-commit-hash": "a6c39536c4"
17+
"x-box-commit-hash": "ec77d8a84a"
1818
},
1919
"servers": [
2020
{
@@ -27470,6 +27470,11 @@
2747027470
"type": "boolean",
2747127471
"example": true
2747227472
},
27473+
"include_reference": {
27474+
"description": "A flag to indicate whether references for every extracted field should be returned.",
27475+
"type": "boolean",
27476+
"example": true
27477+
},
2747327478
"ai_agent": {
2747427479
"allOf": [
2747527480
{
@@ -27523,6 +27528,11 @@
2752327528
"type": "object",
2752427529
"additionalProperties": {}
2752527530
},
27531+
"reference": {
27532+
"description": "The reference for each extracted field as a JSON dictionary. This can be empty if no field could be extracted.",
27533+
"type": "object",
27534+
"additionalProperties": {}
27535+
},
2752627536
"ai_agent_info": {
2752727537
"$ref": "#/components/schemas/AiAgentInfo"
2752827538
}

0 commit comments

Comments
 (0)