Skip to content

Commit 6c82b27

Browse files
committed
fixup! refactor: string length requirements for BrowseMediaItem string fields
1 parent 36c9546 commit 6c82b27

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

core-api/rest/UCR-core-openapi.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14818,9 +14818,10 @@ components:
1481814818
type: object
1481914819
properties:
1482014820
media_id:
14821-
description: Unique identifier of the media item. Integration dependent.
14821+
description: |
14822+
Unique identifier of the media item. Integration dependent.
14823+
Use an empty value only for special non-playable media items, for example, a root directory in a media library or search result.
1482214824
type: string
14823-
minLength: 1
1482414825
maxLength: 255
1482514826
title:
1482614827
description: Display name.

core-api/websocket/UCR-core-asyncapi.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11028,9 +11028,10 @@ components:
1102811028
type: object
1102911029
properties:
1103011030
media_id:
11031-
description: Unique identifier of the media item. Integration dependent.
11031+
description: |
11032+
Unique identifier of the media item. Integration dependent.
11033+
Use an empty value only for special non-playable media items, for example, a root directory in a media library or search result.
1103211034
type: string
11033-
minLength: 1
1103411035
maxLength: 255
1103511036
title:
1103611037
description: Display name.

integration-api/UCR-integration-asyncapi.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2383,9 +2383,10 @@ components:
23832383
type: object
23842384
properties:
23852385
media_id:
2386-
description: Unique identifier of the media item. Integration dependent.
2386+
description: |
2387+
Unique identifier of the media item. Integration dependent.
2388+
Use an empty value only for special non-playable media items, for example, a root directory in a media library or search result.
23872389
type: string
2388-
minLength: 1
23892390
maxLength: 255
23902391
title:
23912392
description: Display name.

0 commit comments

Comments
 (0)