Skip to content

Elements API

All endpoints are described in OpenAPI this is available on every URL where the API is located under the path: /docs/openapi

Query records

This part will describe the some of the ways to query records, the types are availables in the OpenAPI documentation.

Searching for records with incoming relations

The query below describes the method to find all related records with incoming relations. Note that the value must be the URI that is used on the records the example is the default but can be rewritten through the configuration.

POST /search/records
Content-Type: application/json

{
    "pagination": {
        "page": 1,
        "perPage": 100
    },
    "query": {        
        "type": "FieldQuery",
        "operator": "equals",
        "field": "_link",
        "value": "http://example.com/resources/records/46291cc9-0459-44f7-96c1-86148a904940"                    
    }
}