Libraries tagged by JSON API Spec
phantomwatson/cakephp-json-api
667 Downloads
json-api specification plugin for CakePHP - http://jsonapi.org/
josbeir/cakephp-json-api
1400 Downloads
json-api specification plugin for CakePHP - http://jsonapi.org/
faecie/json-api-error-response
263 Downloads
The Bundle provides en error response as it described in JsonApi specification
as3/modlr-api-jsonapiorg
17066 Downloads
jsonapi.org API spec for the Modlr REST library.
neondigital/openapi-spec-generator
754 Downloads
Creates Open API spec for a Laravel JSON:API
helpscout/specter-php
570 Downloads
JSON API Mocking and Testing for PHP
helpscout/specter
589 Downloads
JSON API Mocking and Testing for PHP
felixarntz/wp-api-json-feed
13 Downloads
Implements JSON feeds following the official JSON feed specification by using the WordPress REST API.
verdigado/gruene-api-client
120 Downloads
## OpenAPI Endpoints OpenAPI Spec in JSON OpenAPI Spec in YAML ### Offboarding Every service conntected to GrΓΌnes Netz needs to remove users when they are removed from `saml.gruene.de`. Connected services need to pull a list of users waiting for removal at least once a week. api.gruene.de needs to be informed whether the user did not exist or was removed. API tokens can be obtained from `[email protected]`.
ricktap/qriteria
44 Downloads
Automatic url parameter mapping to sort, filter, include and select data in an easy to use fluent api within Laravel 5. The default parameter structure is compatible to the http://jsonapi.org specification.
plazzag/polario-sdk-php
115 Downloads
API for Polario __Naming:__ * json properties are formatted in camel case (fooBar) besides of enums (FooBar) * route params are formatted in hyphen case (foo-bar) * query params are formatted in snake case (foo_bar) * query params could hold lists of elements if they are comma separated * enum properties are formatted in capitalized camel case (FooBar) __Default values:__ * default values are specified for optional parameters do only apply to POST requests __Types:__ * numbers are considered to be float values * strings that are not specified to be html formatted should not be interpreted as html to avoid unexpected bahavior, like xss attacks * timestamps are considered to be in unix time __Headers:__ * ___Platform___: can be always set as header param to specify the platform of the request for the logging output
factpulse/sdk
60 Downloads
REST API for electronic invoicing in France: Factur-X (CII), UBL 2.1, AFNOR PDP/PA, electronic signatures. ## π― Main Features ### π Invoice Generation - **Formats**: CII XML, UBL 2.1 XML, or Factur-X PDF/A-3 - **Profiles** (CII/PDF): MINIMUM, BASIC, EN16931, EXTENDED - **UBL**: Always EN16931 compliant - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT), UBL 2.1 (OASIS) - **Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### β Factur-X - Validation - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) ### βοΈ Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification ### π Flux 6 - Invoice Lifecycle (CDAR) - **CDAR Messages**: Acknowledgements, invoice statuses - **PPF Statuses**: REFUSED (210), PAID (212) ### π Flux 10 - E-Reporting - **Tax Declarations**: International B2B, B2C - **Flow Types**: 10.1 (B2B transactions), 10.2 (B2B payments), 10.3 (B2C transactions), 10.4 (B2C payments) ### π‘ AFNOR PDP/PA (XP Z12-013) - **Flow Service**: Submit and search flows to PDPs - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user ### ποΈ Chorus Pro - **Public Sector Invoicing**: Complete API for Chorus Pro ### β³ Async Tasks - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **Webhooks**: Automatic notifications when tasks complete ## π Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### π Method 1: `/api/token/` API (Recommended) **URL:** `https://factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://factpulse.fr/api/token/ \ -H "Content-Type: application/json" \ -d '{ "username": "[email protected]", "password": "your_password" }' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://factpulse.fr/api/token/ \ -H "Content-Type: application/json" \ -d '{ "username": "[email protected]", "password": "your_password", "client_uid": "550e8400-e29b-41d4-a716-446655440000" }' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { "access": "eyJ0eXAiOiJKV1QiLCJhbGc...", // Access token (validity: 30 min) "refresh": "eyJ0eXAiOiJKV1QiLCJhbGc..." // Refresh token (validity: 7 days) } ``` **Advantages:** - β Full automation (CI/CD, scripts) - β Programmatic token management - β Refresh token support for automatic access renewal - β Easy integration in any language/tool #### π₯οΈ Method 2: Dashboard Generation (Alternative) **URL:** https://factpulse.fr/api/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the "Generate Test Token" or "Generate Production Token" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - β Quick for API testing - β No password required - β Simple visual interface **Disadvantages:** - β Requires manual action - β No refresh token - β Less suited for automation ### π Full Documentation For more information on authentication and API usage: https://factpulse.fr/documentation-api/
mirzahilmi/resphpi
329 Downloads
Resphpi is a dynamic response formatter based on JSend specification, enabling APIs to communicate seamlessly with elegant, simple and structured JSON data.
sly-soft-community/jsonapi-spec-generator
295 Downloads
Creates Open API spec for a Laravel JSON:API
shizzen/json-api
267 Downloads
Implementation of JSON:API spec as Laravel package