Skip to main content
Version: ADONIS 12/ADOIT 13

Search for process models

This article shows how to use the ADOXX API to search a repository's content to find all models of a specific model type.

The snippet below uses the endpoint /rest/<VERSION>/repos/<REPO_ID>/search to look for Business Process Diagrams in the repository and return the first 20. For each model, the name and the description should be contained in the response.

note

The snippet below uses Token Based Authentication. The token is generated using the Util class introduced in First REST Request - Connection.

Replace the values in angle brackets with values that fit your setup, e.g. instead of <HOST> use the host at which you access your ADOXX instance.

Click to view the code!

Source Code

Loading code...

The result should look similar to the following:

Status Code: 200
Result:
{
"rest_links": [ ... ],
"hitsTotal": 246,
"locale": "en",
"rangeStart": 0,
"rangeEnd": 20,
"items": [ ... ]
}