Skip to content

JSON API

Julie Allinson edited this page Feb 17, 2020 · 3 revisions

JSON API

*** DRAFT DRAFT DRAFT ***

Bulkrax has a JSON API for programmatically creating, updating and deleting Importers.

Content-Type

Using the JSON API requires the use of the following HTTP header.

{'Content-Type' => 'application/json'}

Authorization

Authorization for the JSON API is via a token. The application should set the token as an environment variable called BULKRAX_API_TOKEN.

The token must be supplied using a HTTP Authorization header, like so:

{ 'Authorization'  => 'Token: THE_TOKEN' }
Clone this wiki locally