Metadata services examples

<< Click to Display Table of Contents >>

Navigation:  Low-code Process Automation > Studio Cloud - Authoring environment > Bizagi Studio > Bizagi from external applications > Bizagi API > OData RESTful services > Bizagi API examples >

Metadata services examples

Overview

Through the metadata services you can obtain details focused on how to further invoke data services, such as: Obtaining the list of processes, Personas in the project, or which searches, relevant processes or my stuff collections they have under their Experience design.

 

Important

The Metadata services in Bizagi do not consider the context and information relevant to the user (Persona) who makes the authenticated request, and does not return proprietary business information.

 

note_pin

Resources of the Metadata services are available through HTTP GET actions.

 

Metadata services base URL

To access the Metadata services, start from this URL:

[your_bizagi_project_url]/odata/metadata

 

Customizations:

[your_bizagi_project_url]: Corresponds to the URL where end users access the Bizagi Work portal.

While for Automation Service projects, such URL would be:

https://[project_environment]-[your_project]-[your_company].bizagi.com/odata/metadata

 

Resources in Metadata services

The following table provides a reference about further resources handled by the Metadata services:

 

Resource

Description

URL example

Processes

Returns a list of all processes.

For more information about this resource and its features and query options, refer to Processes metadata.

[your_bizagi_project_url]/odata/metadata/processes

Personas

Returns a list of available Personas available.

For more information about this resource and its features and query options, refer to Personas metadata.

[your_bizagi_project_url]/odata/metadata/Personas

getProject

Returns the details of the current project.

For more information about this resource, refer to Project metadata.

[your_bizagi_project_url]/odata/metadata/getProject

 

The definitions above relate to an HTTP GET action with the base URL ([your_bizagi_project_url]/odata/metadata):

{

 "@odata.context": "[your_bizagi_project_url]/odata/metadata/$metadata",

 "value": [

   {

     "name": "Personas",

     "kind": "EntitySet",

     "url": "Personas"

   },

   {

     "name": "processes",

     "kind": "EntitySet",

     "url": "processes"

   }

 ]

}


Last Updated 6/9/2023 3:08:16 AM