Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Latest commit

 

History

History
64 lines (47 loc) · 1.9 KB

File metadata and controls

64 lines (47 loc) · 1.9 KB

⚠️ THIS PROJECT IS DEPRECATED AND NO LONGER MAINTAINED.

TraceRoot Java SDK

Testing Status Documentation TraceRoot.AI Website Maven Central

Please see the Java SDK Docs for details.

Spring Boot Example

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:run

then

# 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/1

Contact Us

Please reach out to founders@traceroot.ai if you have any questions.