Fabrik API

More useful stuff from fabrik.

Welcome to Fabrik API.

Fabrik API enables you to build applications on top of the powerful fabrik publication platform.

Technical Summary

We've tried to follow REST principles as closely as possible. This makes the API highly discoverable and compatible with any framework that can speak HTTP.

The default response media type is JSON and we support compression via the Accept-Encoding header.

Currently only Basic authentication is supported.

Getting started

The easiest way to discover Fabrik API is via your browser. You'll need to authenticate using your fabrik login username and password.

Example URI Templates

Site /sites/{siteId}
Portfolios /sites/{siteId}/portfolios
Projects /sites/{siteId}/projects
Project Media /sites/{siteId}/projects/{id}/media

Fabrik API Clients

Whilst Fabrik API is platform agnostic we are working on platform specific API clients to make it even easier to build applications "on fabrik".

Currently only a .NET client exists but we will be adding more in the future.

                
    var api = ApiClient.Create(cfg => cfg
        .ConnectTo("https://api.onfabrik.com")
        .UseBasicAuthentication("my@email.com", "mypassword");

    var portfolio = api.GetPortfolioClient();

    var projects = await portfolio.GetProjectsAsync(
        siteId: mySiteId,
        tags: new[] { "Fabrik", "API" },
        page: 1,
        pageSize: 10
    );
            

You'll find the .NET client for Fabrik API on Github.

Support

We'll be adding more documentation, samples and other goodies in the future. For now, if you have any questions, please drop us an email at support@getfabrik.com