jacamo-lang / jacamo-rest

REST API for JaCaMo (draft)
7 stars 5 forks source link

JaCaMo REST provides a REST API to interact with agents, artifacts and organisations.

Using this project

The simplest way to use JaCaMo-REST is by developing your MAS with JaCaMo >= 1.1, which includes JaCaMo-REST. An example is available at the JaCaMo demos. Examples focused on integration are also found at demos.

Otherwise, we can include jacamo-rest dependency in build.gradle:

repositories {
    mavenCentral()

    maven { url "https://raw.githubusercontent.com/jacamo-lang/mvn-repo/master" }

}

dependencies {
    implementation group: 'org.jacamo'     , name: 'jacamo-rest'   , version: '0.7'
}

and start the API server in your .jcm application file:

mas yourmas {

    ...

    // starts rest api on port 8080
    platform: jacamo.rest.JCMRest("--restPort 8080")

}

About jacamo-rest...

REST API versions

Overview

Agents

(obs 1) /code is only provided in jacamo-web

Workspaces

Organisations

Services