From 683273903c0a84497d38c38d34aaee396f10effb Mon Sep 17 00:00:00 2001 From: Philip de Nier Date: Mon, 15 Jul 2024 14:00:51 +0100 Subject: [PATCH 1/3] Add missing multi essence format to flow filter --- api/TimeAddressableMediaStore.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/api/TimeAddressableMediaStore.yaml b/api/TimeAddressableMediaStore.yaml index 427d77b..7374a0d 100644 --- a/api/TimeAddressableMediaStore.yaml +++ b/api/TimeAddressableMediaStore.yaml @@ -1766,6 +1766,7 @@ components: - urn:x-nmos:format:video - urn:x-nmos:format:audio - urn:x-nmos:format:data + - urn:x-nmos:format:multi type: string mimetype: title: MIME Type From b895bbbbc39845e698a084d74588ba8975854d7f Mon Sep 17 00:00:00 2001 From: Philip de Nier Date: Mon, 15 Jul 2024 14:07:32 +0100 Subject: [PATCH 2/3] Add format filter option for sources sem-ver: feature --- api/TimeAddressableMediaStore.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/TimeAddressableMediaStore.yaml b/api/TimeAddressableMediaStore.yaml index 7374a0d..6d793ff 100644 --- a/api/TimeAddressableMediaStore.yaml +++ b/api/TimeAddressableMediaStore.yaml @@ -270,6 +270,11 @@ paths: is performed. schema: type: boolean + - name: format + in: query + description: Filter on source format. + schema: + $ref: '#/components/schemas/flowformat' - $ref: '#/components/parameters/trait_resource_paged_key' - $ref: '#/components/parameters/trait_paged_limit' responses: From 4633d565fbe4df2793f2ff5e497a0f8edcbd75e7 Mon Sep 17 00:00:00 2001 From: Philip de Nier Date: Mon, 15 Jul 2024 14:28:16 +0100 Subject: [PATCH 3/3] Rename flowformat spec component to contentformat given that it is used in both Flows and Sources. --- api/TimeAddressableMediaStore.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/api/TimeAddressableMediaStore.yaml b/api/TimeAddressableMediaStore.yaml index 6d793ff..1aa28ee 100644 --- a/api/TimeAddressableMediaStore.yaml +++ b/api/TimeAddressableMediaStore.yaml @@ -274,7 +274,7 @@ paths: in: query description: Filter on source format. schema: - $ref: '#/components/schemas/flowformat' + $ref: '#/components/schemas/contentformat' - $ref: '#/components/parameters/trait_resource_paged_key' - $ref: '#/components/parameters/trait_paged_limit' responses: @@ -618,7 +618,7 @@ paths: in: query description: Filter on flow format. schema: - $ref: '#/components/schemas/flowformat' + $ref: '#/components/schemas/contentformat' - name: codec in: query description: Filter on flow codec. @@ -686,7 +686,7 @@ paths: in: query description: Filter on flow format. schema: - $ref: '#/components/schemas/flowformat' + $ref: '#/components/schemas/contentformat' - name: codec in: query description: Filter on flow codec. @@ -1764,9 +1764,9 @@ components: title: UUID pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ type: string - flowformat: - title: Flow Format - description: identifies the flow format using a URN string. + contentformat: + title: Content Format + description: Identifies the content format for a flow or source using a URN string. enum: - urn:x-nmos:format:video - urn:x-nmos:format:audio