This application shows how to use Nulab Cacoo APIs in Go. Some API calls are made in parallel to show how to use this Go feature.
The application reads configuration from a config.toml file placed in the root folder of the project. The file must have the following structure:
user_id = "your-user-ID"
api_key = "your-api-key"
redis_host = "your-redis-server-url" # only in case you are not running the app from the docker container.
Cd into the project folder and run: docker-compose up
-
/api/user
Returns basic user information.
-
/api/info
Returns information on user activity: numbers of diagrams and folders.
-
/api/folder/{folder-ID}
Returns information for a given folder ID.
-
/api/diagram/{diagram-ID}
Returns information for a given diagram ID,