Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Server API Documentation

Bruno Bottazzini edited this page Aug 31, 2015 · 2 revisions

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
Clone this wiki locally