Azure Container Apps Container Apps Source Controls API

The ContainerAppsSourceControls API from Azure Container Apps — 2 operation(s) for containerappssourcecontrols.

GitHub OpenAPI

Operations 4

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols Get the Container App SourceControls in a given resource group #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName} Get a SourceControl of a Container App #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName} Create or update the SourceControl for a Container App #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName} Delete a Container App SourceControl #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/azure-container-apps:azure-container-apps-containerappssourcecontrols-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

azure-container-apps-containerappssourcecontrols-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ContainerApps API Client Container Apps Source Controls API
  version: '2026-07-01'
  description: Functions is an extension resource to revisions and the api listed is used to proxy the call from Web RP to the function app's host process, this api is not exposed to users and only Web RP is allowed to invoke functions extension resource.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: ContainerAppsSourceControls
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols
  : get:
      operationId: ContainerAppsSourceControls_ListByContainerApp
      tags:
      - ContainerAppsSourceControls
      summary: Get the Container App SourceControls in a given resource group
      description: Get the Container App SourceControls in a given resource group.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: containerAppName
        in: path
        description: Name of the Container App.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceControlCollection'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DefaultErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName}
  : get:
      operationId: ContainerAppsSourceControls_Get
      tags:
      - ContainerAppsSourceControls
      summary: Get a SourceControl of a Container App
      description: Get a SourceControl of a Container App.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: containerAppName
        in: path
        description: Name of the Container App.
        required: true
        schema:
          type: string
      - name: sourceControlName
        in: path
        description: Name of the Container App SourceControl.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceControl'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DefaultErrorResponse'
    put:
      operationId: ContainerAppsSourceControls_CreateOrUpdate
      tags:
      - ContainerAppsSourceControls
      summary: Create or update the SourceControl for a Container App
      description: Create or update the SourceControl for a Container App.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: containerAppName
        in: path
        description: Name of the Container App.
        required: true
        schema:
          type: string
      - name: sourceControlName
        in: path
        description: Name of the Container App SourceControl.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource 'SourceControl' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceControl'
        '201':
          description: Resource 'SourceControl' create operation succeeded
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceControl'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DefaultErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: location
        final-state-schema: '#/definitions/SourceControl'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourceControl'
        description: Properties used to create a Container App SourceControl
        required: true
    delete:
      operationId: ContainerAppsSourceControls_Delete
      tags:
      - ContainerAppsSourceControls
      summary: Delete a Container App SourceControl
      description: Delete a Container App SourceControl.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: containerAppName
        in: path
        description: Name of the Container App.
        required: true
        schema:
          type: string
      - name: sourceControlName
        in: path
        description: Name of the Container App SourceControl.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource deleted successfully.
        '202':
          description: Resource deletion accepted.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DefaultErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
components:
  schemas:
    Resource:
      type: object
      title: Resource
      description: Common fields that are returned in the response for all Azure Resource Manager resources
      properties:
        id:
          type: string
          format: arm-id
          description: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
          readOnly: true
        name:
          type: string
          description: The name of the resource
          readOnly: true
        type:
          type: string
          description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
          readOnly: true
        systemData:
          $ref: '#/components/schemas/systemData'
          description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
          readOnly: true
      x-ms-azure-resource: true
    RegistryInfo:
      type: object
      description: Container App registry information.
      properties:
        registryUrl:
          type: string
          description: registry server Url.
        registryUserName:
          type: string
          description: registry username.
        registryPassword:
          type: string
          format: password
          description: registry secret.
          x-ms-mutability:
          - update
          - create
          x-ms-secret: true
    DefaultErrorResponseErrorDetailsItem:
      type: object
      description: Detailed errors.
      properties:
        code:
          type: string
          description: Standardized string to programmatically identify the error.
          readOnly: true
        message:
          type: string
          description: Detailed error description and debugging information.
          readOnly: true
        target:
          type: string
          description: Detailed error description and debugging information.
          readOnly: true
    DefaultErrorResponse:
      type: object
      description: App Service error response.
      properties:
        error:
          $ref: '#/components/schemas/DefaultErrorResponseError'
          description: Error model.
          readOnly: true
    SourceControl:
      type: object
      description: Container App SourceControl.
      properties:
        properties:
          $ref: '#/components/schemas/SourceControlProperties'
          description: SourceControl resource specific properties
          x-ms-client-flatten: true
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    SourceControlCollection:
      type: object
      description: SourceControl collection ARM resource.
      properties:
        value:
          type: array
          description: The SourceControl items on this page
          items:
            $ref: '#/components/schemas/SourceControl'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    SourceControlProperties:
      type: object
      description: SourceControl resource specific properties
      properties:
        operationState:
          $ref: '#/components/schemas/SourceControlOperationState'
          description: Current provisioning State of the operation
          readOnly: true
        repoUrl:
          type: string
          description: The repo url which will be integrated to ContainerApp.
        branch:
          type: string
          description: The branch which will trigger the auto deployment
        githubActionConfiguration:
          $ref: '#/components/schemas/GithubActionConfiguration'
          description: 'Container App Revision Template with all possible settings and the

            defaults if user did not provide them. The defaults are populated

            as they were at the creation time'
    ProxyResource:
      type: object
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/Resource'
    DefaultErrorResponseError:
      type: object
      description: Error model.
      properties:
        code:
          type: string
          description: Standardized string to programmatically identify the error.
          readOnly: true
        message:
          type: string
          description: Detailed error description and debugging information.
          readOnly: true
        target:
          type: string
          description: Detailed error description and debugging information.
          readOnly: true
        details:
          type: array
          description: Details or the error
          items:
            $ref: '#/components/schemas/DefaultErrorResponseErrorDetailsItem'
          x-ms-identifiers:
          - code
        innererror:
          type: string
          description: More information to debug error.
          readOnly: true
    GithubActionConfiguration:
      type: object
      description: Configuration properties that define the mutable settings of a Container App SourceControl
      properties:
        registryInfo:
          $ref: '#/components/schemas/RegistryInfo'
          description: Registry configurations.
        azureCredentials:
          $ref: '#/components/schemas/AzureCredentials'
          description: AzureCredentials configurations.
        contextPath:
          type: string
          description: Context path
        githubPersonalAccessToken:
          type: string
          format: password
          description: One time Github PAT to configure github environment
          x-ms-mutability:
          - update
          - create
          x-ms-secret: true
        image:
          type: string
          description: Image name
        publishType:
          type: string
          description: Code or Image
        os:
          type: string
          description: Operation system
        runtimeStack:
          type: string
          description: Runtime stack
        runtimeVersion:
          type: string
          description: Runtime version
    SourceControlOperationState:
      type: string
      description: Current provisioning State of the operation
      enum:
      - InProgress
      - Succeeded
      - Failed
      - Canceled
      x-ms-enum:
        name: SourceControlOperationState
        modelAsString: true
        values:
        - name: InProgress
          value: InProgress
          description: InProgress
        - name: Succeeded
          value: Succeeded
          description: Succeeded
        - name: Failed
          value: Failed
          description: Failed
        - name: Canceled
          value: Canceled
          description: Canceled
    AzureCredentials:
      type: object
      description: Container App credentials.
      properties:
        clientId:
          type: string
          format: password
          description: Client Id.
          x-ms-mutability:
          - update
          - create
          x-ms-secret: true
        clientSecret:
          type: string
          format: password
          description: Client Secret.
          x-ms-mutability:
          - update
          - create
          x-ms-secret: true
        tenantId:
          type: string
          format: password
          description: Tenant Id.
          x-ms-mutability:
          - update
          - create
          x-ms-secret: true
        kind:
          type: string
          description: Kind of auth github does for deploying the template
          x-ms-mutability:
          - update
          - create
        subscriptionId:
          type: string
          description: Subscription Id.
  parameters:
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.