@botpress/api 0.19.0 → 0.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/gen/state.ts CHANGED
@@ -7500,7 +7500,7 @@ export const state = {
7500
7500
  "getFileContent": {
7501
7501
  "name": "getFileContent",
7502
7502
  "path": "/v1/files/{id}/content",
7503
- "description": "Gets a file content",
7503
+ "description": "Returns a presigned URL to download the file content.",
7504
7504
  "method": "get",
7505
7505
  "section": "files",
7506
7506
  "parameters": {
@@ -7535,17 +7535,19 @@ export const state = {
7535
7535
  }
7536
7536
  },
7537
7537
  "response": {
7538
- "description": "Redirects to a presigned URL to download the file content.",
7539
- "status": 302,
7538
+ "description": "Returns a temporary pre-signed URL to download the file content.",
7540
7539
  "schema": {
7541
7540
  "type": "object",
7542
7541
  "properties": {
7543
- "data": {
7544
- "nullable": true
7542
+ "url": {
7543
+ "type": "string",
7544
+ "description": "Temporary pre-signed URL to download the file, should be used shortly after retrieving and should not be stored long-term as the URL will expire after a short timeframe."
7545
7545
  }
7546
7546
  },
7547
+ "required": [
7548
+ "url"
7549
+ ],
7547
7550
  "title": "getFileContentResponse",
7548
- "format": "binary",
7549
7551
  "additionalProperties": false
7550
7552
  }
7551
7553
  }
@@ -8338,7 +8340,7 @@ export const state = {
8338
8340
  "title": "Botpress API",
8339
8341
  "description": "API for Botpress Cloud",
8340
8342
  "server": "https://api.botpress.cloud",
8341
- "version": "0.19.0",
8343
+ "version": "0.19.1",
8342
8344
  "prefix": "v1"
8343
8345
  },
8344
8346
  "errors": [