Skip to main content

Fula API Reference

The Fula API includes the following:

  • a Graph API for storing and querying structured data (JSON) over a graphql interface

  • a File API for uploading and retrieving files

Typical API Usage

The File and Graph APIs can be used together to build many different types of DApps.

To better understand how they work together, here is an illustration of the basic flow you would use if you wanted to build your own photos DApp.

At a high level you will write a client that enables the user to upload a bunch of files and retrieve a list of the files so that they can be displayed in your DApp.

In order to do this you need to tell the Graph API where to store the collection of photos. You can give this collection any name you choose.

Photo Upload





Under the Covers

To understand how the Fula client connects to a Box, it may help to understand what is going on under the covers.

The following Box <-> Client class diagram shows relationships and responsibilities for each component.

Client Box architecture