Java example: write a file to a folder on a remote device via the awaBerry Agentic API and read it back — step-by-step code walkthrough.
This test demonstrates file read/write permissions using the awaBerry Java API client. Create a project in awaBerry agentic using the permission config of awaberry_agent_project_limitedprojecttoreadandwritefilesinfolder.json (upload it in the project creation view). Change the configured folder for the project if required. Select only one device (in case you have connected more than one). Create the project.
ts-node usageFullScenario.js <projectKey> <projectSecret>Back to Java API Client