Loops · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Loops OpenAPI Spec Uploads API

3 actions 3 updates phrasing extends openapi/loops-uploads-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Loops's API. It is a proposal applied on top of the contract, not a document Loops publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 3

$.info
$.paths['/v1/uploads'].post
$.paths['/v1/uploads/{emailAssetId}/complete'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Loops OpenAPI Spec Uploads API
  version: 1.0.0
extends: openapi/loops-uploads-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 2
- target: $.paths['/v1/uploads'].post
  update:
    x-apievangelist-phrasing:
      intent: Request a pre-signed URL to upload an image
      effect: write
      questions:
      - How do I upload an image to use in my emails?
      - What image types and file sizes can I upload?
      instructions:
      - text: Get an upload URL for a {contentType} image of {contentLength} bytes.
        slots:
          contentType: requestBody.contentType
          contentLength: requestBody.contentLength
      - text: Start an image upload of type {contentType}, size {contentLength} bytes.
        slots:
          contentType: requestBody.contentType
          contentLength: requestBody.contentLength
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v1/uploads/{emailAssetId}/complete'].post
  update:
    x-apievangelist-phrasing:
      intent: Finalize an image upload
      effect: write
      questions:
      - What do I do after putting the file to the pre-signed URL?
      - How do I get the public URL of an image I uploaded?
      instructions:
      - text: Complete upload {emailAssetId}.
        slots:
          emailAssetId: path.emailAssetId
      - text: Finalize image asset {emailAssetId} and give me its public URL.
        slots:
          emailAssetId: path.emailAssetId
      method: generated
      generated: '2026-09-26'