Commit 267b4d9f authored by dongwwei's avatar dongwwei
Browse files

Update TS29392_MMTel_CallControl.yaml after CT3#145

parent 59b4558e
Loading
Loading
Loading
Loading
Loading
+28 −41
Original line number Diff line number Diff line
openapi: 3.0.0

info:
  title: MMTel_CallControl
  version: 1.0.0
  title: MMTel_CallControl API
  version: 1.0.1
  description: |
    MMTel Enabler Server Call Control Service.  
    © 2025, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).  
    API for MMTel Enabler Server Call Control Service.  
    © 2026, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).  
    All rights reserved.

externalDocs:
  description: >
    3GPP TS 29.392 V19.0.0;
    3GPP TS 29.392 V19.1.0;
    Application layer support for MMTel; MMTel Enabler Server Services; Stage 3.
  url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.392/

@@ -23,18 +23,16 @@ servers:

security:
  - {}
  - oAuth2ClientCredentials:
    - mmtel-callcontrol
  - oAuth2ClientCredentials: []

paths:
  /ims-sessions:
    post:
      summary: Create IMS Session
      summary: Create a new IMS Session
      operationId: ImsSessionCreate
      tags:
        - IMS Sessions (Collection)
      requestBody:
        description: Creates a new Individual IMS Session resource.
        required: true
        content:
          application/json:
@@ -43,8 +41,8 @@ paths:
      responses:
        '201':
          description: >
            The creation of an Individual IMS Session resource is confirmed and
            a representation of that resource is returned.
            Created. The Individual IMS Session resource is successfully created and
            a representation of the created resource is returned in the response body.
          content:
            application/json:
              schema:
@@ -52,8 +50,7 @@ paths:
          headers:
            Location:
              description: > 
                The URI of the newly created resource, according to the structure:
                {apiRoot}/mmtel-callcontrol/<apiVersion>/ims-sessions/{sessionId}.
                The URI of the newly created resource.
              schema:
                type: string
        '400':
@@ -125,18 +122,19 @@ paths:
                  $ref: 'TS29122_CommonData.yaml#/components/responses/default'

  /ims-sessions/{sessionId}:
    put:
      summary: Update an existing Individual IMS Session resource.
      operationId: ImsSessionUpdate
      tags:
        - Individual IMS Session
    parameters:
      - name: sessionId
        in: path
          description: Identifies an individual IMS session.
        description: Represents the identifier of the "Individual IMS session" resource.
        required: true
        schema:
          type: string

    put:
      summary: Update an existing Individual IMS Session resource.
      operationId: ImsSessionUpdate
      tags:
        - Individual IMS Session (Document)
      requestBody:
        required: true
        content:
@@ -186,23 +184,19 @@ paths:
          $ref: 'TS29122_CommonData.yaml#/components/responses/default'

    patch:
      summary: Update an existing Individual IMS Session resource.
      summary: Modify an existing Individual IMS Session resource.
      operationId: ImsSessionPatch
      tags:
        - Individual IMS Session patch update
      parameters:
        - name: sessionId
          in: path
          description: Identifies an individual IMS session.
          required: true
          schema:
            type: string
        - Individual IMS Session (Document)
      requestBody:
        required: true
        content:
          application/merge-patch+json:
          application/json-patch+json:
            schema:
              type: array
              items:
                $ref: 'TS29571_CommonData.yaml#/components/schemas/PatchItem'
              minItems: 1
      responses:
        '200':
          description: >
@@ -245,17 +239,10 @@ paths:


    delete:
      summary: delete the IMS session
      summary: Delete an existing Individual IMS Session resource.
      operationId: ImsSessionDelete
      tags:
        - IMS Session Deletion
      parameters:
        - name: sessionId
          in: path
          description: Identifies an individual IMS session.
          required: true
          schema:
            type: string
        - Individual IMS Session (Document)
      responses:
        '204':
          description: No content, successful delete of the resource identified by sessionId.