jeyroik / kb-api
Kilobook api
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/jeyroik/kb-api
Requires
This package is auto-updated.
Last update: 2025-10-20 19:16:02 UTC
README
Kilobook api
install
install plugins
# vendor/bin/extas i
generate api specs
# vendor/bin/extas jsonrpc -s extas.json
install specs
# vendor/bin/extas i
usage
set EXTAS__BASE_PATH
# export EXTAS__BASE_PATH=/your/path
run server
# php -S 0.0.0.0:8080 -t vendor/jeyroik/extas-jsonrpc/src/public
check specs
curl -X POST localhost:8080/specs -d "{\"id\":\"request id\", \"method\":\"operation.all\"}"
use api
Warning: fill the data before using
curl -X POST localhost:8080/api/jsonrpc -d "{\"id\":\"request id\", \"method\":\"book.create\", \"data\":{...}}"