> ## 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.

# Register Application To Queue

> Registers an application to the provided queue.

:param queue_id: The queue where the application will be registered
:param app_id: The application to register



## OpenAPI

````yaml docs/avxcelerate/resource-manager-rest-api/2025-r2/explore.aws-pre-prod-api-resources-v1.json POST /app-runtime-config/{queue_id}/application/{app_id}
openapi: 3.1.0
info:
  title: AVxcelerate Resource Manager
  summary: ''
  contact:
    name: Ansys AVxcelerate Autonomy
    url: https://developer.ansys.com/docs/avxcelerate
    email: TeamTyson@ansys.com
  version: 0.1.0
servers:
  - url: https://{host}/api/resources/v1
    variables:
      host:
        default: api.example.com
        description: Host the API is served from
security: []
paths:
  /app-runtime-config/{queue_id}/application/{app_id}:
    post:
      tags:
        - app-runtime-config
      summary: Register Application To Queue
      description: |-
        Registers an application to the provided queue.

        :param queue_id: The queue where the application will be registered
        :param app_id: The application to register
      operationId: app-runtime-config-register_application_to_queue
      parameters:
        - name: queue_id
          in: path
          required: true
          schema:
            type: integer
            title: Queue Id
        - name: app_id
          in: path
          required: true
          schema:
            type: integer
            title: App Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AppRuntimeConfigCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: integer
                title: Response App-Runtime-Config-Register Application To Queue
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    AppRuntimeConfigCreate:
      properties:
        env:
          additionalProperties:
            type: string
          type: object
          title: Env
          default: {}
        default_resources:
          anyOf:
            - $ref: '#/components/schemas/ResourcesDefinition'
            - type: 'null'
        attributes:
          anyOf:
            - $ref: '#/components/schemas/AppRuntimeConfigAttributes'
            - type: 'null'
        service_port:
          anyOf:
            - type: integer
            - type: 'null'
          title: Service Port
      type: object
      title: AppRuntimeConfigCreate
      description: AppRuntimeConfig definition for creation.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ResourcesDefinition:
      properties:
        cpu:
          anyOf:
            - type: number
            - type: 'null'
          title: Cpu
        memory_gb:
          anyOf:
            - type: number
            - type: 'null'
          title: Memory Gb
      type: object
      title: ResourcesDefinition
      description: Resource definition.
    AppRuntimeConfigAttributes:
      properties:
        image:
          type: string
          title: Image
        working_dir:
          type: string
          title: Working Dir
        mount:
          additionalProperties:
            $ref: '#/components/schemas/JsonValue'
          type: object
          title: Mount
        network:
          type: string
          title: Network
        ports:
          items:
            type: integer
          type: array
          title: Ports
      type: object
      title: AppRuntimeConfigAttributes
      description: Attribute definition for AppRuntimeConfig data model.
    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
    JsonValue: {}

````