> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apexxcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Complete Multipart Upload



## OpenAPI

````yaml POST /api/v1/files/multipart/{uploadId}/complete
openapi: 3.0.1
info:
  title: File Storage API
  description: >-
    API for managing file storage operations including uploads, downloads, and
    bucket management
  version: 1.0.0
servers:
  - url: https://api.apexxcloud.com
security:
  - apiAuth: []
    signatureAuth: []
    timestampAuth: []
paths:
  /api/v1/files/multipart/{uploadId}/complete:
    post:
      summary: Complete Multipart Upload
      parameters:
        - name: uploadId
          in: path
          required: true
          schema:
            type: string
        - name: bucket_name
          in: query
          required: true
          schema:
            type: string
        - name: region
          in: query
          required: true
          schema:
            type: string
        - name: key
          in: query
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - parts
              properties:
                parts:
                  type: array
                  items:
                    type: object
                    required:
                      - PartNumber
                      - ETag
                    properties:
                      PartNumber:
                        type: integer
                      ETag:
                        type: string
      responses:
        '200':
          description: Multipart upload completed successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        example: Multipart upload completed successfully
                      key:
                        type: string
                      location:
                        type: string
                        example: https://cdn.apexxcloud.com/f/{access_id}/{path}
                      size:
                        type: integer
                      bucket:
                        type: string
                      region:
                        type: string
                      visibility:
                        type: string
                        enum:
                          - public
                          - private
                      content_type:
                        type: string
        '404':
          description: Bucket not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Bucket not found
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Internal server error
components:
  securitySchemes:
    apiAuth:
      type: apiKey
      in: header
      name: X-Access-Key
      description: Your API Access Key
    signatureAuth:
      type: apiKey
      in: header
      name: X-Signature
      description: HMAC SHA-256 signature of the request
    timestampAuth:
      type: apiKey
      in: header
      name: X-Timestamp
      description: ISO 8601 timestamp of the request

````