jeyroik / extas-bv-api
There is no license information available for the latest version (1.0.1) of this package.
Extas bv api package
1.0.1
2020-03-25 15:37 UTC
Requires
- jeyroik/extas-base: 2.*
- jeyroik/extas-bv: 1.*
- jeyroik/extas-bv-profiles: 1.*
- jeyroik/extas-jsonrpc: 1.*
README
Extas busyness value micro-service with crud + calculations api.
install
install plugins
# vendor/bin/extas i
generate json-rpc specs
# vendor/bin/extas jsonrpc -e 1 -s src/configs/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\":\"category.create\", \"data\":{...}}"