API request examples

Dear DATAGERRY community,

I wanted to create a type on my DATAGERRY instance via the API.
During this action I noticed that the Example Requests of the API are not quite complete in the documentation (see here: 1. Framework — DATAGERRY 1.6.4 documentation).

Unfortunately there is no example POST request for creating objects in the documentation. Here it would be also good to update the documentation.

It would be very helpful if you could see here which fields are mandatory and which are optional.

All the best,
Stephan

Hello @Lostboi and welcome to our community.

We are still expanding our documentation. And in the near future it will be ready :slight_smile:

In the attachment you will find examples of how to create types, objects, categories via Rest and which properties (validation of incoming data is done via Ceberus) are required.

Type Requests:
type_schema.txt (5.0 KB)
put_type.txt (1.2 KB)
post_type.txt (1.2 KB)

Object Requests:
put_object.txt (436 Bytes)
post_object.txt (405 Bytes)
object_schema.txt (1.1 KB)

Category Requests:
put_category.txt (447 Bytes)
post_category.txt (391 Bytes)
category_schema.txt (981 Bytes)