API-CRUD
In general all add-ons have the ability to access the i-doit up API. With the API it is possible to interact or change the data of the application. In this section we will describe how the add-on can gain access to it.
Install the i-doit up API-Client#
To install the i-doit up API-Client it can be done via composer require docupike/api-client:^v1.0.0
. After it has been installed the add-on can use the i-doit up API client which contains all necessary methods to interact with the data of the i-doit up application.
Connector to the API#
The i-doit up API has an factory method which creates an object of the API. Here is a simple example which creates an API object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
Basic examples of the API CRUD for (Object, Entry)#
The i-doit up API contains topics and in each topic all CRUD operations can be called.
Objects#
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
Category entry#
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|