Skip to main content

getOpenApi

Description

API to query available engine functions

getOpenApi()

int getOpenApi(void* obj, char** openApiJson)
Parameters
Name Type Description
objvoid*

'ArgoEngineApi' object pointer

openApiJsonchar**

Query result string (json) for available engine functions

Return Value

int: Length of 'openApiJson' string

Example

char *resultJsonStr = nullptr;
int resultSize = getOpenApi(obj, &resultJsonStr);
std::string resultJson(resultJsonStr, resultSize);