@openpets/post-bridge
v1.0.0
Published
OpenAPI-based Post Bridge integration for listing social accounts, creating posts, managing media, monitoring post results, and syncing analytics.
Maintainers
Readme
Post Bridge Pet
OpenAPI-based OpenPets plugin for the official Post Bridge API.
This pet is generated from Post Bridge's official Scalar API reference at https://api.post-bridge.com/reference and includes:
- auto-generated endpoint tools (
openapi-tools.ts) - shared API client utilities (
openapi-client.ts) - a custom
post-bridge-test-connectiontool with graceful not-configured behavior
Why openapi.json is committed
Post Bridge currently publishes docs through Scalar but does not expose a stable public openapi.json URL in the reference page.
To keep generation deterministic and avoid scraping at runtime, the embedded official spec is extracted once and stored as openapi.json in this pet.
Setup
- Copy
.env.exampleto.env - Set
POST_BRIDGE_API_KEY - (Optional) Set
POST_BRIDGE_HOSTto override the API base URL
Build and test
bun run pets validate pets/post-bridge
bun run pets build post-bridge
bun run test:pet -- post-bridge --query "test post-bridge connection"Example queries
test post-bridge connectionlist my post bridge social accountslist my recent post bridge postscreate a draft post in post bridge
