The OpenAPI specification for Web Push Notifications using Pushpad.
From the OpenAPI Specification:
The OpenAPI Specification (OAS) defines a standard, language-agnostic interface to RESTful APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection. When properly defined, a consumer can understand and interact with the remote service with a minimal amount of implementation logic.
An OpenAPI definition can then be used by documentation generation tools to display the API, code generation tools to generate servers and clients in various programming languages, testing tools, and many other use cases.
The Pushpad OpenAPI Specification is currently in Early Availability. The specification is complete but may evolve based on feedback and real-world use. If you encounter any inaccuracies or have feedback on how it can better suite your use case, please contact us.
While this specification should be considered experimental, the Pushpad API is stable and production-ready: please see the official documentation or use the libraries.
This repository contains the source files used to compile the specification.
A bundled version containing the entire specification is published here:
https://pushpad.xyz/openapi.yaml
Download this repository:
git clone https://github.com/pushpad/pushpad-openapi.git
Then install the dependencies (Redocly):
make setup
To preview the documentation locally, run:
make preview
The documentation will be available at: http://127.0.0.1:4000
.
To generate a bundled version of the specification, run:
make bundle
This will create a file Pushpad.v1.bundle.yaml
with the full OpenAPI specification.
If you make changes, you can validate the specification with:
make lint
This specification is licensed under the Apache License 2.0.