Skip to content

Commit

Permalink
api: moved objectStoreId and catalystPipelineStrategy to db schema (#…
Browse files Browse the repository at this point in the history
…2146)

* api: moved params to db schema

* Update db-schema.yaml

* remove url
  • Loading branch information
suhailkakar authored Apr 23, 2024
1 parent 1539353 commit f51dadc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/api/src/schema/api-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2678,13 +2678,6 @@ components:
targetSegmentSizeSecs:
$ref: >-
#/components/schemas/new-asset-payload/properties/targetSegmentSizeSecs
objectStoreId:
type: string
description: Object store ID where the asset is stored
writeOnly: true
example: 09F8B46C-61A0-4254-9875-F71F4C605BC7
catalystPipelineStrategy:
$ref: "#/components/schemas/task/properties/params/properties/upload/properties/catalystPipelineStrategy"
paths:
/stream:
Expand Down
9 changes: 9 additions & 0 deletions packages/api/src/schema/db-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1385,3 +1385,12 @@ components:
type: string
timestamp:
type: integer
new-asset-from-url-payload:
properties:
objectStoreId:
type: string
description: Object store ID where the asset is stored
writeOnly: true
example: 09F8B46C-61A0-4254-9875-F71F4C605BC7
catalystPipelineStrategy:
$ref: "#/components/schemas/task/properties/params/properties/upload/properties/catalystPipelineStrategy"

0 comments on commit f51dadc

Please sign in to comment.