Google Chrome Media API

The Media API from Google Chrome — 2 operation(s) for media.

GitHub OpenAPI

Operations 2

POST /v1/customers/{customersId}/policies/files:uploadPolicyFile Upload media #
POST /v2/publishers/{publishersId}/items/{itemsId}:upload Upload media #

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/google-chrome:google-chrome-media-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

google-chrome-media-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Chrome Media API
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
  version: '1.0'
  description: 'Operations tagged Media across 2 of this provider''s published API definitions: google-chrome-chromepolicy-media-api-openapi.yml, google-chrome-chromewebstore-media-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://chromepolicy.googleapis.com
- url: https://chromewebstore.googleapis.com
tags:
- name: Media
paths:
  /v1/customers/{customersId}/policies/files:uploadPolicyFile:
    post:
      operationId: chromepolicy.media.upload
      summary: Upload media
      description: Creates an enterprise file from the content provided by user. Returns a public download url for end user.
      parameters:
      - name: customersId
        in: path
        required: true
        description: Resource name segment (customersId).
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleChromePolicyVersionsV1UploadPolicyFileRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleChromePolicyVersionsV1UploadPolicyFileResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/chrome.management.policy
      - apiKey: []
      x-google-media-upload:
        accept:
        - '*/*'
        protocols:
          simple:
            multipart: true
            path: /upload/v1/{+customer}/policies/files:uploadPolicyFile
      tags:
      - Media
    servers:
    - url: https://chromepolicy.googleapis.com
  /v2/publishers/{publishersId}/items/{itemsId}:upload:
    post:
      operationId: chromewebstore.media.upload
      summary: Upload media
      description: Upload a new package to an existing item.
      parameters:
      - name: publishersId
        in: path
        required: true
        description: Resource name segment (publishersId).
        schema:
          type: string
      - name: itemsId
        in: path
        required: true
        description: Resource name segment (itemsId).
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UploadItemPackageRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadItemPackageResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/chromewebstore
      - apiKey: []
      x-google-media-upload:
        accept:
        - '*/*'
        maxSize: '2147483648'
        protocols:
          simple:
            path: /upload/v2/{+name}:upload
            multipart: true
      tags:
      - Media
    servers:
    - url: https://chromewebstore.googleapis.com
components:
  schemas:
    GoogleChromePolicyVersionsV1UploadPolicyFileResponse:
      properties:
        downloadUri:
          description: The uri for end user to download the file.
          type: string
      type: object
      description: Response message for downloading an uploaded file.
    GoogleChromePolicyVersionsV1UploadPolicyFileRequest:
      properties:
        policyField:
          type: string
          description: Required. The fully qualified policy schema and field name this file is uploaded for. This information will be used to validate the content type of the file.
      type: object
      description: Request message for uploading a file for a policy.
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    UploadItemPackageRequest:
      type: object
      properties: {}
      description: Request message for UploadItemPackage.
    UploadItemPackageResponse:
      properties:
        itemId:
          type: string
          readOnly: true
          description: Output only. The ID of the item the package was uploaded to.
        name:
          type: string
          description: The name of the item the package was uploaded to.
        crxVersion:
          description: The extension version provided in the manifest of the uploaded package. This will not be set if the upload is still in progress (`upload_state` is `UPLOAD_IN_PROGRESS`).
          type: string
        uploadState:
          description: Output only. The state of the upload. If `upload_state` is `UPLOAD_IN_PROGRESS`, you can poll for updates using the fetchStatus method.
          readOnly: true
          type: string
          enum:
          - UPLOAD_STATE_UNSPECIFIED
          - SUCCEEDED
          - IN_PROGRESS
          - FAILED
          - NOT_FOUND
      type: object
      description: Response message for `UploadItemPackage`.
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/chrome.management.policy.readonly: See policies applied to ChromeOS and Chrome Browsers managed within your organization
            https://www.googleapis.com/auth/chrome.management.policy: See, edit, create or delete policies applied to ChromeOS and Chrome Browsers managed within your organization
x-refined-from:
- google-chrome-chromepolicy-media-api-openapi.yml
- google-chrome-chromewebstore-media-api-openapi.yml
x-provenance:
  method: harvested
  publisher: Google
  source: https://chromemanagement.googleapis.com/$discovery/rest?version=v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261109)