Commit f35d12ce authored by bradburyr's avatar bradburyr
Browse files

Moved M1MediaEntryPoint from Content Hosting API to common data types.

parent 64133361
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -252,6 +252,23 @@ components:
        desiredPacketLossRate:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/Uinteger'

    M1MediaEntryPoint:
      description: "A typed entry point for downlink or uplink media streaming."
      type: object
      required:
        - relativePath
        - contentType
      properties:
        relativePath:
          $ref: 'TS26510_CommonData.yaml#/components/schemas/RelativeUrl'
        contentType:
          type: string
        profiles:
          type: array
          items:
            $ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
          minItems: 1

    #####################################
    # Clause 6.4.4: Enumerated data types
    #####################################
+4 −21
Original line number Diff line number Diff line
@@ -294,23 +294,6 @@ components:
        baseURL:
          $ref: 'TS26510_CommonData.yaml#/components/schemas/AbsoluteUrl'

    M1MediaEntryPoint:
      description: "A typed entry point for downlink or uplink media streaming."
      type: object
      required:
        - relativePath
        - contentType
      properties:
        relativePath:
          $ref: 'TS26510_CommonData.yaml#/components/schemas/RelativeUrl'
        contentType:
          type: string
        profiles:
          type: array
          items:
            $ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
          minItems: 1

    PathRewriteRule:
      type: object
      description: 'A rule to manipulate URL paths.'
@@ -323,9 +306,9 @@ components:
        mappedPath:
          type: string

    CachingConfiguration:
    DistributionCachingConfiguration:
      type: object
      description: 'A content caching configuration.'
      description: 'A caching configuration for content distribution at reference point M4d.'
      required:
        - urlPatternFilter
      properties:
@@ -384,7 +367,7 @@ components:
          allOf:
            - $ref: 'TS26510_CommonData.yaml#/components/schemas/AbsoluteUrl'
        entryPoint:
          $ref: '#/components/schemas/M1MediaEntryPoint'
          $ref: 'TS26510_CommonData.yaml#/components/schemas/M1MediaEntryPoint'
        pathRewriteRules:
          type: array
          items:
@@ -392,7 +375,7 @@ components:
        cachingConfigurations:
          type: array
          items:
            $ref: '#/components/schemas/CachingConfiguration'
            $ref: '#/components/schemas/DistributionCachingConfiguration'
        geoFencing:
          type: object
          required: