Please see the Java SDK Docs for details.
In the root directory, run:
mvn clean install -Dgpg.skip=true
export TRACEROOT_TOKEN=your_token
export TRACEROOT_ROOT_PATH=your_absolute_path_to_git_repo
# Optional: aws (default) or tencent
export TRACEROOT_PROVIDER=aws
cd examples/spring-boot-example
mvn spring-boot:runthen
# List tasks
curl http://localhost:8080/api/tasks
# Create task
curl -X POST http://localhost:8080/api/tasks \
-H "Content-Type: application/json" \
-d '{"title":"read Spring docs"}'
# Toggle task
curl -X PUT http://localhost:8080/api/tasks/1/toggle
# Delete task
curl -X DELETE http://localhost:8080/api/tasks/1Please reach out to [email protected] if you have any questions.