Milestone 0: import zappier billing, Verae middleware, and Zapier research
Compose-ready workspace: packages/zappier (rate card, portal, Stripe), packages/verae-zapier-middleware (timestamp + NATS), packages/verae-zapier (CLI app), vendor/zapier-platform, and research/zapier vendor corpus. Gate 0 structure checks pass. Product code and research are not yet wired.
This commit is contained in:
commit
b4150c8250
1364 changed files with 6814366 additions and 0 deletions
73
packages/zappier/openapi.yaml
Normal file
73
packages/zappier/openapi.yaml
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
openapi: 3.0.3
|
||||
info:
|
||||
title: Zappier API
|
||||
version: 0.1.0
|
||||
description: Metered data API. Every priced call returns its quote.
|
||||
security:
|
||||
- apiKey: []
|
||||
paths:
|
||||
/v1/status:
|
||||
get:
|
||||
operationId: status
|
||||
summary: Service status (free)
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
/v1/transform:
|
||||
post:
|
||||
operationId: transform
|
||||
summary: Uppercase a string (fixed price)
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
required: [text]
|
||||
properties:
|
||||
text:
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
/v1/storage:
|
||||
post:
|
||||
operationId: storage
|
||||
summary: Store metadata and file attachments (variable price by size)
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
multipart/form-data:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
metadata:
|
||||
type: string
|
||||
description: JSON string of metadata
|
||||
attachments:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
format: binary
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
get:
|
||||
operationId: storage-list
|
||||
summary: List your stored items (free)
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
/v1/usage:
|
||||
get:
|
||||
operationId: usage
|
||||
summary: Your usage summary for the current period
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
components:
|
||||
securitySchemes:
|
||||
apiKey:
|
||||
type: apiKey
|
||||
in: header
|
||||
name: x-api-key
|
||||
Loading…
Add table
Add a link
Reference in a new issue