Microsoft Edge · Arazzo Workflow

Microsoft Edge Upload Package And Validate

Version 1.0.0

Upload a draft package for a product and poll until the package is validated.

1 workflow 1 source API 1 provider
View Spec View on GitHub BrowserChromiumDeveloper ToolsEdgeExtensionsMicrosoftProgressive Web AppsWeb DevelopmentWebviewArazzoWorkflows

Provider

microsoft-edge

Workflows

upload-package-and-validate
Upload a draft package and await upload validation.
Uploads a ZIP package as a draft for the product and polls the upload operation until it reaches a terminal Succeeded or Failed status.
2 steps inputs: accessToken, packageContent, productId outputs: uploadOperationId, uploadResultStatus
1
uploadPackage
Upload the new extension package as a draft for the product. The current Add-ons API publishes no product read, so the product is not pre-checked; a missing product surfaces as an upload error. The upload is asynchronous and returns 202 with an operation identifier.
2
pollUploadStatus
Poll the upload operation until it leaves the InProgress state. The loop ends on Succeeded, while a Failed status terminates the workflow.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Microsoft Edge Upload Package And Validate
  summary: Upload a draft package for a product and poll until the package is validated.
  description: >-
    A focused package-staging flow for the Edge Add-ons store. The workflow
    uploads a new extension package as a draft for the given product and then
    polls the asynchronous upload operation until it
    reports Succeeded or Failed. It stops short of creating a submission so it
    can be used to validate a build before deciding to publish. Every step
    spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: packagesApi
  url: ../openapi/microsoft-edge-packages-api-openapi.yml
  type: openapi
workflows:
- workflowId: upload-package-and-validate
  summary: Upload a draft package and await upload validation.
  description: >-
    Uploads a ZIP package as a draft for the product and polls the upload operation until it reaches a terminal Succeeded or
    Failed status.
  inputs:
    type: object
    required:
    - accessToken
    - productId
    - packageContent
    properties:
      accessToken:
        type: string
        description: >-
          Azure AD bearer access token acquired via the client credentials
          flow for the Microsoft Partner Center scope.
      productId:
        type: string
        description: The product (extension) identifier to upload a package for.
      packageContent:
        type: string
        description: The binary contents of the extension package ZIP file.
  steps:
  - stepId: uploadPackage
    description: >-
      Upload the new extension package as a draft for the product. The current
      Add-ons API publishes no product read, so the product is not pre-checked;
      a missing product surfaces as an upload error.
      The upload is asynchronous and returns 202 with an operation identifier.
    operationId: $sourceDescriptions.packagesApi.uploadPackage
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: productId
      in: path
      value: $inputs.productId
    requestBody:
      contentType: application/zip
      payload: $inputs.packageContent
    successCriteria:
    - condition: $statusCode == 202
    outputs:
      uploadOperationId: $response.body#/operationId
      uploadStatus: $response.body#/status
  - stepId: pollUploadStatus
    description: >-
      Poll the upload operation until it leaves the InProgress state. The loop
      ends on Succeeded, while a Failed status terminates the workflow.
    operationId: $sourceDescriptions.packagesApi.getPackageUploadStatus
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: productId
      in: path
      value: $inputs.productId
    - name: operationId
      in: path
      value: $steps.uploadPackage.outputs.uploadOperationId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      uploadResultStatus: $response.body#/status
      uploadMessage: $response.body#/message
    onSuccess:
    - name: stillRunning
      type: goto
      stepId: pollUploadStatus
      criteria:
      - condition: $response.body#/status == 'InProgress'
    - name: validated
      type: end
      criteria:
      - condition: $response.body#/status == 'Succeeded'
    onFailure:
    - name: validationFailed
      type: end
      criteria:
      - condition: $response.body#/status == 'Failed'
  outputs:
    uploadOperationId: $steps.uploadPackage.outputs.uploadOperationId
    uploadResultStatus: $steps.pollUploadStatus.outputs.uploadResultStatus

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • 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 workflow
curl "https://apis.io/api/v1/arazzo/microsoft-edge-upload-package-and-validate-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?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.