Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (36 sloc) 1.48 KB

API Introduction

The Bludit API (Application Programming Interface) is a plugin to provide an easy integration with Bludit. With this plugin, you can retrieve or update data from the database with just an HTTP request.


Bludit comes with the plugin API pre-installed, you only need to activate it.

Go to Admin panel > Plugins > API > Activate.


The URL of the API is:


Endpoints and Methods

Endpoint | Method | Description --||--| /pages | GET | Returns an array with a list of pages | /pages/{key} | GET | Returns a page, filtered by the page key | /pages | POST | Create a new page | /pages/{key} | PUT | Edit a page | /pages/{key} | DELETE | Delete a page |

Methods Inputs

Key | Type | Description -||--| token | string | API token | authentication | string | Authentication user token | limit | integer | A number for limit the pages returned |

HTTP Response

The response format is JSON, here is a list of keys from the JSON object.

| Key | Type | Description | -||--| | message | string | Returns a little message about the execution | | data | array | The content of the response for the endpoint |

You can check the HTTP Code for different responses.