Audiala Img Tier API

The img-tier API from Audiala — 6 operation(s) for img-tier.

Operations 8

GET /img/wikimedia/w{width}/{key_file} Img Wikimedia Derived #
GET /img/wikimedia/{key_file} Img Wikimedia #
POST /img/wikimedia/register Img Wikimedia Register #
HEAD /img/google/{key_file} Head Img Google #
GET /img/google/{key_file} Img Google #
HEAD /img/google/{key_file}/availability Google Image Availability #
GET /img/google/{key_file}/availability Google Image Availability #
POST /img/google/register Img Google Register #

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/audiala-com:audiala-com-img-tier-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

audiala-com-img-tier-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MarcoPolo Img Tier API
  description: API for the MarcoPolo application
  version: 0.1.0
tags:
- name: img-tier
paths:
  /img/wikimedia/w{width}/{key_file}:
    get:
      tags:
      - img-tier
      summary: Img Wikimedia Derived
      description: 'Serve a WebP width derivative (/wikimedia/w640|960|1280|1920/.webp).


        The Caddy vhost serves the nightly-generated file when it exists and

        proxies here otherwise; the master is fetched/persisted first if needed, so

        the derivative ladder is complete on first request instead of next morning.'
      operationId: img_wikimedia_derived_img_wikimedia_w_width___key_file__get
      parameters:
      - name: width
        in: path
        required: true
        schema:
          type: integer
          title: Width
      - name: key_file
        in: path
        required: true
        schema:
          type: string
          title: Key File
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /img/wikimedia/{key_file}:
    get:
      tags:
      - img-tier
      summary: Img Wikimedia
      description: 'Serve (or miss-fetch + persist) a Commons image by contract key.


        ``?maxWidthPx=N`` serves the JPEG variant at the smallest ladder width >= N

        (the master when N > 1920). Blocked keys answer the placeholder whatever N is.'
      operationId: img_wikimedia_img_wikimedia__key_file__get
      parameters:
      - name: key_file
        in: path
        required: true
        schema:
          type: string
          title: Key File
      - name: maxWidthPx
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Maxwidthpx
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /img/wikimedia/register:
    post:
      tags:
      - img-tier
      summary: Img Wikimedia Register
      description: 'Upsert key->filename mapping rows (the pipeline calls this at P18 resolve time).


        Idempotent; returns the derived key + public URL per filename so callers can

        emit img.audiala.com URLs without reimplementing the hash.'
      operationId: img_wikimedia_register_img_wikimedia_register_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-internal-token
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Internal-Token
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WikimediaRegisterRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /img/google/{key_file}:
    head:
      tags:
      - img-tier
      summary: Head Img Google
      description: 'Read-only cached-master availability; never enter GET''s origin path.


        Width hints do not resize or select derivatives. A registry row alone is

        insufficient: only a nonempty persisted file locally or on the peer is a hit.

        No-store avoids a negative HEAD poisoning the subsequent materializing GET.'
      operationId: head_img_google_img_google__key_file__head
      parameters:
      - name: key_file
        in: path
        required: true
        schema:
          type: string
          title: Key File
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - img-tier
      summary: Img Google
      description: 'Serve (or miss-fetch) a Google Places photo by contract key.


        GOOGLE_PHOTO_PERSIST=true (default): persist bytes + attributions, serve

        immutable. false: ToS-compliant 30d proxy-only — no self-host write.'
      operationId: img_google_img_google__key_file__get
      parameters:
      - name: key_file
        in: path
        required: true
        schema:
          type: string
          title: Key File
      - name: maxWidthPx
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Maxwidthpx
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /img/google/{key_file}/availability:
    head:
      tags:
      - img-tier
      summary: Google Image Availability
      description: 'CDN-safe availability URL: both methods are intrinsically read-only.


        A CDN may convert a cold HEAD into GET. Keeping this path non-image and

        implementing GET safely prevents that conversion reaching materialization.'
      operationId: google_image_availability_img_google__key_file__availability_head
      parameters:
      - name: key_file
        in: path
        required: true
        schema:
          type: string
          title: Key File
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - img-tier
      summary: Google Image Availability
      description: 'CDN-safe availability URL: both methods are intrinsically read-only.


        A CDN may convert a cold HEAD into GET. Keeping this path non-image and

        implementing GET safely prevents that conversion reaching materialization.'
      operationId: getImgGoogleByKeyFileAvailability
      parameters:
      - name: key_file
        in: path
        required: true
        schema:
          type: string
          title: Key File
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-operation-id-source: normalized
      x-operation-id-original: google_image_availability_img_google__key_file__availability_head
  /img/google/register:
    post:
      tags:
      - img-tier
      summary: Img Google Register
      description: Register every shipped Places identifier in the one permanent store.
      operationId: img_google_register_img_google_register_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-internal-token
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Internal-Token
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleRegisterRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    WikimediaRegisterRequest:
      properties:
        filenames:
          items:
            type: string
          type: array
          maxItems: 1000
          minItems: 1
          title: Filenames
      type: object
      required:
      - filenames
      title: WikimediaRegisterRequest
      description: Batch of Commons filenames to map into the key space (resolve-time write).
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    GoogleRegisterRequest:
      properties:
        photo_names:
          items:
            type: string
          type: array
          maxItems: 1000
          title: Photo Names
        photo_references:
          items:
            type: string
          type: array
          maxItems: 1000
          title: Photo References
        photos:
          items:
            $ref: '#/components/schemas/GooglePhotoRegistration'
          type: array
          maxItems: 1000
          title: Photos
        monument_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Monument Id
      type: object
      title: GoogleRegisterRequest
      description: Batch of new-API names and/or legacy references to map permanently.
    GooglePhotoRegistration:
      properties:
        photo_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Photo Name
        photo_reference:
          anyOf:
          - type: string
          - type: 'null'
          title: Photo Reference
        monument_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Monument Id
        html_attributions:
          anyOf:
          - items: {}
            type: array
          - type: 'null'
          title: Html Attributions
        source_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Source Url
      type: object
      title: GooglePhotoRegistration
      description: One photo identifier plus metadata already returned by Places.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError