@celigo/api-specs 0.2.304 → 0.2.305

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/dist/job.yml CHANGED
@@ -969,16 +969,18 @@ paths:
969
969
  summary: Get signed URL(s) to download job files
970
970
  description: |-
971
971
  Returns short-lived S3 pre-signed URLs for downloading files produced by the job (e.g. the rows exported to
972
- a CSV, an error-record dump, or a page-processor artifact). The URLs are typically valid for ~15 minutes.
972
+ a CSV, an error-record dump, or a page-processor artifact). The URLs are valid for 15 minutes (900 seconds).
973
973
 
974
- If `fileIds` is omitted in the request body, all of the job's current file artifacts are returned. If
975
- provided, only the matching files are included.
974
+ Omit `fileIds` to sign the job's current file artifacts, or pass `fileIds` to sign only those files. Every
975
+ id passed must be registered to this job: a list that mixes registered and unregistered ids fails with
976
+ `404` and signs nothing.
976
977
 
977
- Inspect the job's `files[]` array first (via `GET /v1/jobs/{_id}`) to discover available file IDs. Jobs
978
- with no files (common for `import` child jobs or jobs past `purgeAt`) return `204 No Content`. File ids
979
- are registered per job: if none of the requested `fileIds` are registered to this job (e.g. the file id
980
- belongs to a different job's run), the endpoint also returns `204 No Content` with an empty body rather
981
- than an error. The URLs expire after approximately 15 minutes -- fetch immediately, do not persist.
978
+ Inspect the job's `files[]` array first (via `GET /v1/jobs/{_id}`) to discover available file IDs. Use
979
+ the flow job's id: the id of one of its child export or import jobs fails with `404`. A flow job with no
980
+ files returns `204 No Content`. File ids are registered per job: if none of the requested `fileIds` are
981
+ registered to this job (e.g. the file id belongs to a different job's run), the endpoint also returns
982
+ `204 No Content` with an empty body rather than an error. The URLs expire -- fetch immediately, do not
983
+ persist.
982
984
  parameters:
983
985
  - name: _id
984
986
  in: path
@@ -998,7 +1000,7 @@ paths:
998
1000
  $ref: '#/components/schemas/JobFilesSignedUrlRequest'
999
1001
  examples:
1000
1002
  all_files:
1001
- summary: Download every file for the job
1003
+ summary: Sign the job's current files
1002
1004
  value: {}
1003
1005
  specific_file:
1004
1006
  summary: Download a specific file by id
@@ -1011,7 +1013,7 @@ paths:
1011
1013
  content:
1012
1014
  application/json:
1013
1015
  schema:
1014
- $ref: '#/components/schemas/JobFilesSignedUrlResponse'
1016
+ $ref: '#/components/schemas/JobFilesSignedUrlListResponse'
1015
1017
  examples:
1016
1018
  single_file:
1017
1019
  summary: One requested file — signedURLs array with one element
@@ -1027,7 +1029,22 @@ paths:
1027
1029
  '401':
1028
1030
  $ref: '#/components/responses/401-unauthorized'
1029
1031
  '404':
1030
- $ref: '#/components/responses/404-not-found'
1032
+ description: |-
1033
+ No flow job with this id is visible to the caller — an unknown id, or the id of a child export or
1034
+ import job (`invalid_ref`) — or `fileIds` mixes ids registered to this job with ids that aren't. The
1035
+ mixed list signs nothing, and its error body doesn't name the unregistered ids.
1036
+ content:
1037
+ application/json:
1038
+ schema:
1039
+ $ref: '#/components/schemas/Error'
1040
+ examples:
1041
+ jobNotFound:
1042
+ summary: Unknown job id, or a child export or import job's id
1043
+ value:
1044
+ errors:
1045
+ - code: invalid_ref
1046
+ message: 'Job not found: 69f54d6f47185f8c7a500597'
1047
+ source: internal
1031
1048
  /v1/jobs/{_id}/files:
1032
1049
  delete:
1033
1050
  x-internal: false
@@ -2134,8 +2151,8 @@ components:
2134
2151
  - string
2135
2152
  - 'null'
2136
2153
  description: |-
2137
- A single signed URL. Requests that pass `fileIds` return the `signedURLs` array instead, even for
2138
- a single file — check both fields.
2154
+ A single signed URL. `POST /v1/jobs/{_id}/files/signedURL` returns the `signedURLs` array instead,
2155
+ with or without `fileIds` and even for a single file — check both fields.
2139
2156
  examples:
2140
2157
  - https://integrator-templates.s3.us-east-1.amazonaws.com/694b97c4f4f1f4a1b9d9e001.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=900&X-Amz-Credential=AKIAEXAMPLE123%2F20260613%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260613T120000Z&X-Amz-SignedHeaders=host&X-Amz-Signature=4f9b2c1e8a3d7f0b5c6e9a2d4f8b1c3e7a0d5f2b9c4e6a8d1f3b7c0e5a9d2f4b
2141
2158
  signedURLs:
@@ -2147,6 +2164,11 @@ components:
2147
2164
  type: string
2148
2165
  examples:
2149
2166
  - https://integrator-templates.s3.us-east-1.amazonaws.com/694b97c4f4f1f4a1b9d9e001.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=900&X-Amz-Credential=AKIAEXAMPLE123%2F20260613%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260613T120000Z&X-Amz-SignedHeaders=host&X-Amz-Signature=4f9b2c1e8a3d7f0b5c6e9a2d4f8b1c3e7a0d5f2b9c4e6a8d1f3b7c0e5a9d2f4b
2167
+ JobFilesSignedUrlListResponse:
2168
+ description: Response of `POST /v1/jobs/{_id}/files/signedURL`.
2169
+ allOf:
2170
+ - $ref: '#/components/schemas/JobFilesSignedUrlResponse'
2171
+ - type: object
2150
2172
  JobDiagnosticsResponse:
2151
2173
  allOf:
2152
2174
  - $ref: '#/components/schemas/JobFilesSignedUrlResponse'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.304",
3
+ "version": "0.2.305",
4
4
  "private": false,
5
5
  "description": "Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).",
6
6
  "keywords": [
package/schemas.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "40acfe51",
4
+ "iasCommit": "bb2e5faf",
5
5
  "generatedAt": "2026-11-14"
6
6
  },
7
7
  "roots": {