Back to mods
Integrated REST project artwork

Modrinth · Minecraft mod

Integrated REST

Expose Integrated Dynamics networks as a REST API

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Integrated REST release should I use?

Updated today
Latest stable file 26.1.2-1.1.15
Game version 26.1.2
Loader NeoForge

Integrated REST 26.1.2-1.1.15 targets 26.1.2 with NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. All 3 required mods have matching files.

Where it goes

Is Integrated REST required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Integrated REST 26.1.2-1.1.15 need?

26.1.2-1.1.15. Change the file and its required mods may change too.

All 3 required mods have matching files

Install Integrated Dynamics, Cyclops Core, Common Capabilities first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

2 listed on this file 1 pulled in by one of those mods
Integrated Dynamics Needed by Integrated REST 26.1.2-1.1.15
required
Matching file found Matched file: 26.1.2-1.34.0
Cyclops Core Needed by Integrated REST 26.1.2-1.1.15
required
Matching file found Matched file: 26.1.2-1.30.3
Common Capabilities Needed by Integrated Dynamics
pulled in
Matching file found Matched file: 26.1.2-2.11.8

1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Integrated REST without breaking your instance.

Built for Integrated REST 26.1.2-1.1.15. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 26.1.2-1.1.15. It targets 26.1.2 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Integrated Dynamics, Cyclops Core, Common Capabilities first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 26.1.2-1.1.15. It opens that exact file at the source.

About this project

What does Integrated REST add?

 

This requires the Cyclops Core library and Integrated Dynamics!
Come talk to us in #integratedmods on the Cyclops Discord server!

 

This mod allows you to read from and write to your Integrated Dynamics networks via a REST API.
This makes it possible to read the status of your networks and worlds via Web-protocols, and interact with them by POST-ing values to HTTP Proxy blocks in your world.

 

Some examples on what is possible with this mod (and some external coding):

  • Control the lights of your home based on the day time in your Minecraft world.
  • Play a sound in Minecraft when you receive an email.
  • Show the positions of all online players in the overworld on your website.
  • Open a door from your mob farm when you gain a new Twitch or Mixer subscriber.

 

WARNING: If you have never heard about 'API' or 'REST' before, then this probably is nothing for you. This mod is mainly aimed at advanced users wanting to do very advanced automation using external system that can communicate over HTTP.

 

This mod exposes your networks as JSON on a configurable port. Here is a snippet of a single network element output:

 

{
  "@context": "https://raw.githubusercontent.com/CyclopsMC/IntegratedREST/master-1.12/src/main/resources/context.jsonld",
  "@id": "http://localhost:3000/",
  "networkElements": [
    {
      "@id": "http://localhost:3000/networkElement/integrateddynamics/part/4",
      "position": {
        "world": 0,
        "x": -26,
        "y": 57,
        "z": -249,
        "side": "ir:east"
      },
      "block": "http://localhost:3000/registry/block/integrateddynamics/cable",
      "@type": [
        "NetworkElement",
        "http://localhost:3000/registry/part/display_panel"
      ],
      "channel": 0,
      "priority": 0,
      "updateInterval": 1,
      "network": "http://localhost:3000/network/1619976862",
      "valueType": "http://localhost:3000/registry/value/valuetype/valuetypes/integrateddynamics/string/name",
      "value": "I was updated\\nvia HTTP!",
      "target": {
        "world": 0,
        "x": -25,
        "y": 57,
        "z": -249,
        "side": "ir:west"
      },
      "loaded": true
    },
  ...
  ]
}

In fact, this JSON is valid JSON-LD (Linked Data JSON), which makes it possible to use this output in RDF tools. 

 

Next to the state of your network and its elements, this mod also exposes the state of most Forge registries.
All available information (accessible via the API index page):

  • Networks
  • Network elements
  • Part types
  • Aspect types
  • Value types
  • Items
  • Blocks
  • Fluids
  • Mods

This mod adds a single craftable block to the game, the HTTP Proxy.

 

Like all network elements, this block is accessible via HTTP. For example, an HTTP Proxy with ID 7 will be accessible via http://localhost:3000/networkElement/integrateddynamics/http/7.

This block has an internal value state that can be updated via HTTP POST requests (more information on the wiki).

 

Note: If you are using this mod on a server, you'll probably want to disable starting up the HTTP server client-side, by disabling it via the config file of the players.

 

This mod collects anonymized startup data, this can be disabled in the config file and adheres to Minecraft's snooper settings.

 


Support us via the referral code cyclops when renting a Bisect Hosting server, and get 25% off!

If you like this mod, consider supporting me on Patreon!

Project description from Modrinth.

Pick your setup

Integrated REST by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

16 available setups

Showing the newest 12 of 16 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Integrated REST versions and loaders

78 of 78 releases match

Looking for an older file? The official Modrinth project page is in Resources.