64 lines
1.5 KiB
Markdown
64 lines
1.5 KiB
Markdown
---
|
|
name: postcards-routes
|
|
description: Handle 4 OpenAPI operation(s) under /postcards for the postcards route group.
|
|
---
|
|
|
|
# postcards API Routes
|
|
|
|
Handle 4 OpenAPI operation(s) under /postcards for the postcards route group.
|
|
|
|
Use the generated operation tools to make real API calls. Do not invent API responses.
|
|
If a tool reports missing setup, return the exact setup field name to the caller.
|
|
For write, update, or delete operations, state the intended action before calling the tool.
|
|
|
|
## Operations
|
|
|
|
### postcard_retrieve
|
|
|
|
- Operation ID: `postcard_retrieve`
|
|
- Route: `GET /postcards/{psc_id}`
|
|
- Mode: READ
|
|
- Summary: Retrieve
|
|
- Parameters:
|
|
- `psc_id` in `path` required
|
|
|
|
### postcard_delete
|
|
|
|
- Operation ID: `postcard_delete`
|
|
- Route: `DELETE /postcards/{psc_id}`
|
|
- Mode: WRITE
|
|
- Summary: Cancel
|
|
- Parameters:
|
|
- `psc_id` in `path` required
|
|
|
|
### postcards_list
|
|
|
|
- Operation ID: `postcards_list`
|
|
- Route: `GET /postcards`
|
|
- Mode: READ
|
|
- Summary: List
|
|
- Parameters:
|
|
- `limit` in `query`
|
|
- `before/after` in `query`
|
|
- `include` in `query`
|
|
- `date_created` in `query`
|
|
- `metadata` in `query`
|
|
- `campaign_id` in `query`
|
|
- `status` in `query`
|
|
- `size` in `query`
|
|
- `scheduled` in `query`
|
|
- `send_date` in `query`
|
|
- `mail_type` in `query`
|
|
- `sort_by` in `query`
|
|
|
|
### postcard_create
|
|
|
|
- Operation ID: `postcard_create`
|
|
- Route: `POST /postcards`
|
|
- Mode: WRITE
|
|
- Summary: Create
|
|
- Parameters:
|
|
- `Idempotency-Key` in `header`
|
|
- `idempotency_key` in `query`
|
|
- Body: JSON request body accepted.
|