Commit dfff9871 authored by bradburyr's avatar bradburyr
Browse files

Merge branch 'OAuth2' into 'main'

See merge request sa4/5gms_pro_ph2!13
parents c169b450 52cf0c6c
Loading
Loading
Loading
Loading
+26 −6
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ servers:

security:
  - {}
  - OAuth2ClientCredentials: [] 
  - OAuth2: [] 

paths:
  /provisioning-sessions/{provisioningSessionId}/consumption-reporting-configuration:
@@ -38,6 +38,9 @@ paths:
    post:
      operationId: activateConsumptionReporting
      summary: 'Activate the consumption reporting procedure for the specified Provisioning Session by providing the Consumption Reporting Configuration'
      security:
        - OAuth2:
          - consumption-reporting-configuration_create
      requestBody:
        description: 'A JSON representation of a Consumption Reporting Configuration'
        required: true
@@ -79,6 +82,9 @@ paths:
    get:
      operationId: retrieveConsumptionReportingConfiguration
      summary: 'Retrieve the Consumption Reporting Configuration of the specified Provisioning Session'
      security:
        - OAuth2:
          - consumption-reporting-configuration_retrieve
      responses:
        '200': # OK
          description: 'Success'
@@ -105,8 +111,11 @@ paths:
        default:
          $ref: 'TS29571_CommonData.yaml#/components/responses/default' 
    put:
      operationId: updateConsumptionReportingConfiguration
      summary: 'Update the Consumption Reporting Configuration for the specified Provisioning Session'
      operationId: replaceConsumptionReportingConfiguration
      summary: 'Replace the Consumption Reporting Configuration for the specified Provisioning Session'
      security:
        - OAuth2:
          - consumption-reporting-configuration_replace
      requestBody:
        description: 'A JSON representation of a Consumption Reporting Configuration'
        required: true
@@ -116,7 +125,7 @@ paths:
              $ref: '#/components/schemas/ConsumptionReportingConfiguration'
      responses:
        '200': # OK
          description: 'Consumption Reporting Configuration Updated'
          description: 'Consumption Reporting Configuration Replaced'
          content:
            application/json:
              schema:
@@ -150,6 +159,9 @@ paths:
    patch:
      operationId: patchConsumptionReportingConfiguration
      summary: 'Patch the Consumption Reporting Configuration for the specified Provisioning Session'
      security:
        - OAuth2:
          - consumption-reporting-configuration_patch
      requestBody:
        description: 'A JSON representation of a Consumption Reporting Configuration'
        required: true
@@ -196,6 +208,9 @@ paths:
    delete:
      operationId: destroyConsumptionReportingConfiguration
      summary: 'Destroy the current Consumption Reporting Configuration of the specified Provisioning Session'
      security:
        - OAuth2:
          - consumption-reporting-configuration_destroy
      responses:
        '204': # No Content
          description: 'Consumption Reporting Configuration Destroyed'
@@ -220,12 +235,17 @@ paths:

components:
  securitySchemes:
    OAuth2ClientCredentials:
    OAuth2:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: '{tokenUrl}'
          scopes: {}
          scopes:
            consumption-reporting-configuration_create: Create the Consumption Reporting Configuration resource
            consumption-reporting-configuration_retrieve: Retrieve the Consumption Reporting Configuration resource
            consumption-reporting-configuration_replace: Replace the Consumption Reporting Configuration resource
            consumption-reporting-configuration_patch: Patch the Consumption Reporting Configuration resource
            consumption-reporting-configuration_destroy: Destroy the Consumption Reporting Configuration resource

  schemas:
    ConsumptionReportingConfiguration:
+30 −6
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ servers:

security:
  - {}
  - OAuth2ClientCredentials: [] 
  - OAuth2: [] 

paths:
  /provisioning-sessions/{provisioningSessionId}/content-hosting-configuration:
@@ -38,6 +38,9 @@ paths:
    post:
      operationId: createContentHostingConfiguration
      summary: 'Create and upload the Content Hosting Configuration for the specified Provisioning Session'
      security:
        - OAuth2:
          - content-hosting-configuration_create
      requestBody:
        description: 'A JSON representation of a Content Hosting Configuration'
        required: true
@@ -81,6 +84,9 @@ paths:
    get:
      operationId: retrieveContentHostingConfiguration
      summary: 'Retrieve the Content Hosting Configuration of the specified Provisioning Session'
      security:
        - OAuth2:
          - content-hosting-configuration_retrieve
      responses:
        '200': # OK
          description: 'Success'
@@ -107,8 +113,11 @@ paths:
        default:
          $ref: 'TS29571_CommonData.yaml#/components/responses/default'
    put:
      operationId: updateContentHostingConfiguration
      summary: 'Update (by replacement) the Content Hosting Configuration for the specified Provisioning Session'
      operationId: replaceContentHostingConfiguration
      summary: 'Replace the Content Hosting Configuration for the specified Provisioning Session'
      security:
        - OAuth2:
          - content-hosting-configuration_replace
      requestBody:
        description: 'A JSON representation of a Content Hosting Configuration'
        required: true
@@ -118,7 +127,7 @@ paths:
              $ref: '#/components/schemas/ContentHostingConfiguration'
      responses:
        '200': # OK
          description: 'Updated Content Hosting Configuration'
          description: 'Content Hosting Configuration Replaced'
          content:
            application/json:
              schema:
@@ -152,6 +161,9 @@ paths:
    patch:
      operationId: patchContentHostingConfiguration
      summary: 'Patch the Content Hosting Configuration for the specified Provisioning Session'
      security:
        - OAuth2:
          - content-hosting-configuration_patch
      requestBody:
        description: 'A JSON representation of a Content Hosting Configuration'
        required: true
@@ -198,6 +210,9 @@ paths:
    delete:
      operationId: destroyContentHostingConfiguration
      summary: 'Destroy the current Content Hosting Configuration of the specified Provisioning Session'
      security:
        - OAuth2:
          - content-hosting-configuration_destroy
      responses:
        '204': # No Content
          description: 'Destroyed Content Hosting Configuration'
@@ -231,6 +246,9 @@ paths:
    post:
      operationId: purgeContentHostingCache
      summary: 'Purge the content of the cache for the Content Hosting Configuration of the specified Provisioning Session'
      security:
        - OAuth2:
          - content-hosting-configuration_purge-cache
      requestBody:
        description: 'The regular expression pattern for resources to purge from the cache'
        required: true
@@ -275,12 +293,18 @@ paths:

components:
  securitySchemes:
    OAuth2ClientCredentials:
    OAuth2:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: '{tokenUrl}'
          scopes: {}
          scopes:
            content-hosting-configuration-create: Create the Content Hosting Configuration resource
            content-hosting-configuration_retrieve: Retrieve the Content Hosting Configuration resource
            content-hosting-configuration_replace: Replace the Content Hosting Configuration resource
            content-hosting-configuration_patch: Patch the Content Hosting Configuration resource
            content-hosting-configuration_destroy: Destroy the Content Hosting Configuration resource
            content-hosting-configuration_purge-cache: Purge the cache associated with the Content Hosting Configuration resource

  schemas:
    IngestConfiguration:
+26 −6
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ servers:

security:
  - {}
  - OAuth2ClientCredentials: [] 
  - OAuth2: [] 

paths:
  /provisioning-sessions/{provisioningSessionId}/content-preparation-templates:
@@ -38,6 +38,9 @@ paths:
    post:
      operationId: createContentPreparationTemplate
      summary: 'Create (and optionally upload) a new Content Preparation Template for the specified Provisioning Session'
      security:
        - OAuth2:
          - content-preparation-template_create
      requestBody:
        description: 'A Content Preparation Template of any supported type'
        required: true
@@ -94,6 +97,9 @@ paths:
    get:
      operationId: retrieveContentPreparationTemplate
      summary: 'Retrieve the specified Content Preparation Template of the specified Provisioning Session'
      security:
        - OAuth2:
          - content-preparation-template_retrieve
      responses:
        '200': # OK
          description: 'Success'
@@ -120,8 +126,11 @@ paths:
        default:
          $ref: 'TS29571_CommonData.yaml#/components/responses/default' 
    put:
      operationId: updateContentPreparationTemplate
      summary: 'Update (by replacement) the specified Content Preparation Template for the specified Provisioning Session'
      operationId: replaceContentPreparationTemplate
      summary: 'Replace the specified Content Preparation Template for the specified Provisioning Session'
      security:
        - OAuth2:
          - content-preparation-template_replace
      requestBody:
        description: 'A Content Preparation Template of any type'
        required: true
@@ -131,7 +140,7 @@ paths:
              type: string
      responses:
        '200': # OK
          description: 'Content Preparation Template Updated'
          description: 'Content Preparation Template Replaced'
          content:
            '*/*':
              schema:
@@ -165,6 +174,9 @@ paths:
    patch:
      operationId: patchContentPreparationTemplate
      summary: 'Patch the specified Content Preparation Template for the specified Provisioning Session'
      security:
        - OAuth2:
          - content-preparation-template_patch
      requestBody:
        description: 'A Content Preparation Template patch of any type'
        required: true
@@ -205,6 +217,9 @@ paths:
    delete:
      operationId: destroyContentPreparationTemplate
      summary: 'Destroy the specified Content Preparation Template of the specified Provisioning Session'
      security:
        - OAuth2:
          - content-preparation-template_destroy
      responses:
        '204': # No Content
          description: 'Content Preparation Template Destroyed'
@@ -231,9 +246,14 @@ paths:

components:
  securitySchemes:
    OAuth2ClientCredentials:
    OAuth2:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: '{tokenUrl}'
          scopes: {}
          scopes:
            content-preparation-template_create: Create a Content Preparation Template resource
            content-preparation-template_retrieve: Read a Content Preparation Template resource
            content-preparation-template_replace: Replace a Content Preparation Template resource
            content-preparation-template_patch: Patch a Content Preparation Template resource
            content-preparation-template_destroy: Destroy a Content Preparation Template resource
+7 −3
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ servers:

security:
  - {}
  - OAuth2ClientCredentials: [] 
  - OAuth2: [] 

paths:
  /provisioning-sessions/{provisioningSessionId}/content-protocols:
@@ -38,6 +38,9 @@ paths:
    get:
      operationId: retrieveContentProtocols
      summary: 'Retrieve the set of Content Protocols supported by the specified Provisioning Session'
      security:
        - OAuth2:
          - content-protocols_retrieve
      responses:
        '200':
          description: 'Success'
@@ -66,12 +69,13 @@ paths:

components:
  securitySchemes:
    OAuth2ClientCredentials:
    OAuth2:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: '{tokenUrl}'
          scopes: {}
          scopes:
            content-protocols_retrieve: Retrieve the Content Protocols Descriptor resource

  schemas:
    ContentProtocolDescriptor:
+30 −6
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ servers:

security:
  - {}
  - OAuth2ClientCredentials: [] 
  - OAuth2: [] 

paths:
  /provisioning-sessions/{provisioningSessionId}/content-publishing-configuration:
@@ -38,6 +38,9 @@ paths:
    post:
      operationId: createContentPublishingConfiguration
      summary: 'Create and upload the Content Publishing Configuration for the specified Provisioning Session'
      security:
        - OAuth2:
          - content-publishing-configuration_create
      requestBody:
        description: 'A JSON representation of a Content Publishing Configuration'
        required: true
@@ -81,6 +84,9 @@ paths:
    get:
      operationId: retrieveContentPublishingConfiguration
      summary: 'Retrieve the Content Publishing Configuration of the specified Provisioning Session'
      security:
        - OAuth2:
          - content-publishing-configuration_retrieve
      responses:
        '200': # OK
          description: 'Success'
@@ -107,8 +113,11 @@ paths:
        default:
          $ref: 'TS29571_CommonData.yaml#/components/responses/default'
    put:
      operationId: updateContentPublishingConfiguration
      summary: 'Update (by replacement) the Content Publishing Configuration for the specified Provisioning Session'
      operationId: replaceContentPublishingConfiguration
      summary: 'Replace the Content Publishing Configuration for the specified Provisioning Session'
      security:
        - OAuth2:
          - content-publishing-configuration_replace
      requestBody:
        description: 'A JSON representation of a Content Publishing Configuration'
        required: true
@@ -118,7 +127,7 @@ paths:
              $ref: '#/components/schemas/ContentPublishingConfiguration'
      responses:
        '200': # OK
          description: 'Updated Content Publishing Configuration'
          description: 'Content Publishing Configuration Replaced'
          content:
            application/json:
              schema:
@@ -152,6 +161,9 @@ paths:
    patch:
      operationId: patchContentPublishingConfiguration
      summary: 'Patch the Content Publishing Configuration for the specified Provisioning Session'
      security:
        - OAuth2:
          - content-publishing-configuration_patch
      requestBody:
        description: 'A JSON representation of a Content Publishing Configuration'
        required: true
@@ -198,6 +210,9 @@ paths:
    delete:
      operationId: destroyContentPublishingConfiguration
      summary: 'Destroy the current Content Publishing Configuration of the specified Provisioning Session'
      security:
        - OAuth2:
          - content-publishing-configuration_destroy
      responses:
        '204': # No Content
          description: 'Destroyed Content Publishing Configuration'
@@ -231,6 +246,9 @@ paths:
    post:
      operationId: purgeContentPublishingCache
      summary: 'Purge the content of the cache for the Content Publishing Configuration of the specified Provisioning Session'
      security:
        - OAuth2:
          - content-publishing-configuration_purge-cache
      requestBody:
        description: 'The regular expression pattern for resources to purge from the cache'
        required: true
@@ -275,12 +293,18 @@ paths:

components:
  securitySchemes:
    OAuth2ClientCredentials:
    OAuth2:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: '{tokenUrl}'
          scopes: {}
          scopes:
            content-publishing-configuration-create: Create the Content Publishing Configuration resource
            content-publishing-configuration_retrieve: Retrieve the Content Publishing Configuration resource
            content-publishing-configuration_replace: Replace the Content Publishing Configuration resource
            content-publishing-configuration_patch: Patch the Content Publishing Configuration resource
            content-publishing-configuration_destroy: Destroy the Content Publishing Configuration resource
            content-publishing-configuration_purge-cache: Purge the cache associated with the Content Publishing Configuration resource

  schemas:
    EgestConfiguration:
Loading