Lightweight Java client for Rocket.Chat's REST API using Unirest and Jackson.
- Requires Rocket.Chat v0.49.2 due to massive changes from Rocket.Chat, also v0.48 rewrote the REST API, see the pull request #5140 for details
- This api is still a work in progress, feel free to submit pull requests to add functionality
- Server url doesn't require
api/
anymore, but it can still be provided - None of the results are cached, every time a method is called it goes out and gets it
- The method calls are sync and blocking
- Maven is configured to startup Rocket.Chat v.0.48-develop via docker therefore docker must be installed.
The JavaDoc is generated per build: https://ci.craftyn.com/job/rocket-chat-rest-client/javadoc/
<repositories>
<repository>
<id>repo-snapshots</id>
<url>https://repo.craftyn.com/repository/snapshots/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.baloise</groupId>
<artifactId>rocket-chat-rest-client</artifactId>
<version>0.1.2-SNAPSHOT</version>
</dependency>
</dependencies>
The maven build needs Docker for integration testing. Please install it for your platform before running and also make sure your user has permission to use the docker command (Linux, add your user to the docker group).
mvn clean install
To keep the docker containers running:
mvn -Ddocker.keepRunning clean install