API Documentation
The documentation for the SwiftyRx can be found at https://acme.swiftyrx.dev/api/ui/
Client Installation
The Java client is published to Maven Central as com.rxfoundry.clients:swifty-api. One artifact holds both the
main API client (com.rxfoundry.clients.swifty) and the OAuth client (com.rxfoundry.clients.swifty_oauth). It
needs Java 11 or later.
Each build of a release branch (release/X.Y.Z, the rc-X.Y.Z.N candidates) that builds new images publishes the
client as X.Y.Z.N, the same version as the build. Release versions are on Maven Central itself, so no extra
repository is needed: Maven resolves from it by default, and Gradle with mavenCentral(). They are permanent: a
version is never replaced or removed, so a pinned version always builds the same way. The first are 1.20.0.N
versions, from Ibis (1.20) builds; the published ones are listed at
https://central.sonatype.com/artifact/com.rxfoundry.clients/swifty-api.
Use the version of the SwiftyRx you call. Every environment reports it, without authentication, at
GET /swifty/1/version, for example:
$ curl https://<tenant>.<environment host>/swifty/1/version
{"version": "1.20.0.7067"}
Depend on that version, replacing X.Y.Z.N below. If it isn’t listed on Central (a build that changed no images
publishes nothing, and the environment reports the build of the image it runs), use the newest listed version of the
same release. When an environment moves to a new build, move the dependency with it.
<dependency>
<groupId>com.rxfoundry.clients</groupId>
<artifactId>swifty-api</artifactId>
<version>X.Y.Z.N</version>
</dependency>
repositories {
mavenCentral()
}
dependencies {
implementation "com.rxfoundry.clients:swifty-api:X.Y.Z.N"
}
repositories {
mavenCentral()
}
dependencies {
implementation("com.rxfoundry.clients:swifty-api:X.Y.Z.N")
}
The jar’s sources and Javadoc are published alongside it, and every file is signed with the RxFoundry release key.
Example Usage
Full Example
A more complete example of using the Java SDK is forthcoming.