List app configuration on IEM - Manual - Industrial Edge - Industrial Edge - Industrial Edge - Documentation of Industrial Edge APIs - CLI tools - Industrial Edge - References - APIs

Industrial Edge Platform Operation - APIs & References

Product
Industrial Edge
Edition
12/2024
Language
en-US (original)

List app configuration on IEM. You need application(either catalog application or developer application) ID as unique identifier of the app, then use the request:

curl -i -X GET \
-H "Authorization:<your-authorization-token>" \
'https://<your-iem-url>/portal/api/v1/applications/<your-app-id>/configs'

A successful response looks like this:

{
    "data": [
        {
            "appConfigId": "365076f4237f48f2b332bc6565b27a5b",
            "displayName": "test",
            "description": "test",
            "appConfigVersionLst": [
                {
                    "appConfigVersionId": "eef6d9492b81410e986a601a3e3d5c0e",
                    "refName": "displayname",
                    "description": "display",
                    "filename": "config.yaml"
                },
                {
                    "appConfigVersionId": "1b08c594df2f4cb9b294b58d2e5b954d",
                    "refName": "test",
                    "description": "test",
                    "filename": "config.json"
                }
            ],
            "versioned": true,
            "templateVo": {
                "refName": "",
                "filename": ""
            }
        },
        {
            "appConfigId": "e0f163d1bd994f85bdced653ed063700",
            "displayName": "testTemplate",
            "description": "template",
            "appConfigVersionLst": [],
            "versioned": false,
            "templateVo": {
                "appConfigTemplateId": "797fe61061b84c509034179bafe04fc4",
                "refName": "temp1",
                "description": "temp",
                "filename": "config.json",
                "schemaType": "OTHER"
            }
        }
    ]
}