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

# Add Version

> Add a new version to an asset.



## OpenAPI

````yaml docs/avxcelerate/assets-manager-rest-api/scenario-manager.aws-preprod-api-asset-manager-v1.json POST /assets/{asset_id}/versions
openapi: 3.1.0
info:
  title: Assets Manager
  summary: Service to manage assets for the simulations
  version: 0.1.0
servers:
  - url: https://{host}/api/assets-manager/v1
    variables:
      host:
        default: api.example.com
        description: Host the API is served from
security: []
paths:
  /assets/{asset_id}/versions:
    post:
      tags:
        - assets
      summary: Add Version
      description: Add a new version to an asset.
      operationId: assets-add_version
      parameters:
        - name: asset_id
          in: path
          required: true
          schema:
            type: string
            title: Asset Id
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_assets-add_version'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssetVersionRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    Body_assets-add_version:
      properties:
        file:
          type: string
          format: binary
          title: File
      type: object
      required:
        - file
      title: Body_assets-add_version
    AssetVersionRead:
      properties:
        asset:
          type: string
          title: Asset
        asset_url:
          type: string
          title: Asset Url
        version:
          type: integer
          title: Version
        user:
          type: string
          title: User
        attributes:
          additionalProperties:
            $ref: '#/components/schemas/JsonValue'
          type: object
          title: Attributes
          default: {}
        created_at:
          type: string
          format: date-time
          title: Created At
        checksum:
          type: string
          title: Checksum
      type: object
      required:
        - asset
        - asset_url
        - version
        - user
        - created_at
        - checksum
      title: AssetVersionRead
      description: Read class for asset version definition.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    JsonValue: {}
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````