Welcome to Rapstore Builder and Storage service’s documentation!

GET /hello

Hello world test route.

POST /builder/build/riot_application/(riot_uuid)/(board)

Build requested application.

Parameters:
  • riot_uuid – RIOT version UUID
  • board – RIOT internal board name
Request JSON Object:
 
  • application_directory (string) – application relative path in RIOT
Response JSON Object:
 
  • build_ret (int) – Build return value
  • build_out (string) – Build output
  • files (JSONObject) – map of files by extension "ext": base64(content.ext)

Example request:

POST /builder/build/riot_application/a8098c1a-f86e-11da-bd1a-00112444be1e/iotlab-m3 HTTP/1.1
Content-Type: application/json

{
    "application_directory": "examples/default"
}

Example response:

HTTP/1.1 200 OK
Content-Type: application/json

{
    "build_out": "Building application\nOK\n",
    "build_ret": 0,
    "files": {
        "elf": "f0VMRg=="
    }
}

Indices and tables