cogmoteGO
  1. exps
cogmoteGO
  • data
    • Get experiments data
      GET
  • broadcast
    • List data broadcasting
      GET
    • Create data broadcasting
      POST
    • Subscribe data broadcasting
      GET
    • Get latest data
      GET
    • Upload data to specific data broadcasting
      POST
    • Delete broadcast
      DELETE
    • Subscribe mock data broadcasting
      GET
    • Get latest mock data
      GET
    • Subscribe default data broadcasting
      GET
    • Get latest data from default data broadcasting endpoint
      GET
    • Upload data to default data broadcasting
      POST
  • cmds
    • proxies
      • Get all command proxy
      • Create command proxy
      • Send command to proxy
      • Delete all command proxies
      • Delete a command proxy
  • exps
    • List experiment records
      GET
    • Register experiment
      POST
    • Delete experiments
      DELETE
    • Get experiment
      GET
    • Update experiment record
      PUT
    • Delete experiment
      DELETE
    • Init git experiment
      POST
    • update experiment git repository
      PUT
    • Switch to a branch
      POST
    • init archive experiment
      POST
    • Update archive experiment
      PUT
    • Start experiment
      POST
    • Start experiment by cmd
      POST
    • Stop experiment
      POST
  • infos
    • Get cagelab information
    • Update cagelab infomations
  • obs
    • get obs state
    • init obs
    • start streaming
    • stop streaming
    • push data to obs
  • email
    • Post email
  • Get cagelab health
    GET
  • Get whether cogmoteGO is running
    GET
  • Get device infomation
    GET
  • get exps status
    GET
  • update exps status
    PATCH
  • Schemas
    • exps
      • experiment
      • experimentRecords
      • experimentRecord
      • experimentStatus
    • cmds
      • proxies
        • endpoint
        • cmds_proxy
    • broadcast
      • bordercastEndpoints
    • obs
      • obsData
    • APIError
    • HealthReport
    • device
    • BroadcastExample
  1. exps

Register experiment

Developing
POST
/api/exps
Last modified:2025-06-22 08:58:37

Request

Body Params application/json

Examples
{
    "nickname": "exps_demo",
    "type": "git",
    "address": "https://github.com/Ccccraz/exps_demo.git",
    "exec": "matlab -batch \"DotDemo\""
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location --request POST 'http://localhost:9012/api/exps' \
--header 'Content-Type: application/json' \
--data-raw '{
    "nickname": "exps_demo",
    "type": "git",
    "address": "https://github.com/Ccccraz/exps_demo.git",
    "exec": "matlab -batch \"DotDemo\""
}'

Responses

🟢201Created
application/json
Body

Example
{
    "id": "NdMy48DjSoLrMbpDycH60",
    "experiment": {
        "nickname": "Handcrafted Cotton Table",
        "type": "git",
        "address": "https://scented-utilization.biz/",
        "exec": "matlab"
    }
}
Modified at 2025-06-22 08:58:37
Previous
List experiment records
Next
Delete experiments
Built with