Skip to content

About

OpenAPI 3.1 description of the Samva email API, versioned and checksummed for client generators.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Samva OpenAPI

The canonical OpenAPI 3.1 description for the Samva email API.

Samva's release process publishes a release here whenever a change to the API changes the document. Issues and pull requests are welcome; CONTRIBUTING.md explains how a pull request reaches a release.

Artifacts

  • openapi.json is the API description: every public operation and a webhooks section with the body of every webhook event Samva sends.
  • manifest.json records the version, the compatibility class against the previous release, the checksum, and the document's shape. manifest.schema.json describes it.
  • SHA256SUMS lets consumers verify the downloaded artifact before generation.

Consume

Pin a release and verify its checksum before generating a client. Name the tag in your build rather than resolving the newest one:

version=v0.47.1
curl -fsSLO "https://github.com/SamvaHQ/samva-openapi/releases/download/$version/openapi.json"
curl -fsSLO "https://github.com/SamvaHQ/samva-openapi/releases/download/$version/SHA256SUMS"
shasum -a 256 -c SHA256SUMS

Do not use the live API URL as a build input; it changes as the API does.

See COMPATIBILITY.md for versioning and release behavior.

License

MIT

About

OpenAPI 3.1 description of the Samva email API, versioned and checksummed for client generators.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors