Server API Documentation - solettaproject/soletta-dev-app GitHub Wiki

It is possible to use Soletta Development Application without a browser, it is necessary to communicate with the server with HTTP GET/POST requests.

The following describes what parameters and returns is expected when this communication is established.

Action Method - API URL Paramter Name Return Format
Get Journald System GET - /api/journald/ None JSON
Get FBP Service Status GET - /api/service/status service : service_name String
Get SVG GET - /api/gen-svg code : FBP_CODE SVG
Check FBP Syntax GET - /api/check/fbp code : FBP_CODE String
Clone GIT Repository POST - /api/github/repo/sync code : FBP_CODE String
Remove locally repository POST - /api/github/repo/remove repo : Repository Name String
Create new file in repository POST - /api/github/repo/create/file file_path : File Path String
Create new folder in repository POST - /api/github/repo/create/folder folder_path : Folder Path String
Write file POST - /api/file/write file_path : File Path
file_body : File body
Status Code:
<= 0 OK
>= 1 Failed
⚠️ **GitHub.com Fallback** ⚠️