-
Notifications
You must be signed in to change notification settings - Fork 0
/
igel.xml
73 lines (73 loc) · 3.36 KB
/
igel.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<invoker type="RESTful">
<name>IGEL</name>
<description>Designed to simplify complex enterprise environments, the Universal Management Suite (UMS) supports multiple operating systems, databases, and directories. Smart, simple and secure software that allows your IT department to easily manage any size environment, spanning 100,000+ remote endpoints, from one console.</description>
<hint>This interface provides a basic auth. Read the api documentation here https://kb.igel.com/igelimi-v3/en/rest-basics-2723220.html https://kb.igel.com/en/universal-management-suite/12.04.120/assigning-permissions</hint>
<requiredData>
<item name="url" type="string" visibility="public"/>
<item name="username" type="string" visibility="public"/>
<item name="password" type="string" visibility="public"/>
<item name="basic" type="string" visibility="private">Basic {username:password}</item>
<item name="token" type="string" visibility="private">%{login.body.message}</item>
</requiredData>
<authType>token</authType>
<operations>
<operation name="login" type="test">
<request>
<method>POST</method>
<endpoint>{url}/umsapi/v3/login</endpoint>
<header>
<item name="Authorization" type="string">{basic}</item>
</header>
<body/>
</request>
<response>
<success status="200">
<header/>
<body type="object" format="json" data="raw">
<field name="message" type="string"/>
</body>
</success>
<fail status="401">
<header/>
<body/>
</fail>
</response>
</operation>
<operation name="GetThinclients" type="">
<request>
<method>GET</method>
<endpoint>{url}/umsapi/v3/thinclients?facets=details</endpoint>
<header>
<item name="Cookie" type="string">{token}</item>
</header>
<body/>
</request>
<response>
<success status="200">
<header/>
<body type="array" format="json" data="raw">
<field name="name" type="string"/>
<field name="mac" type="string"/>
<field name="productId" type="string"/>
<field name="flashSize" type="string"/>
<field name="parentID" type="string"/>
<field name="lastIP" type="string"/>
<field name="cpuSpeed" type="string"/>
<field name="cpuType" type="string"/>
<field name="deviceType" type="string"/>
<field name="osType" type="string"/>
<field name="deviceSerialNumber" type="string"/>
<field name="site" type="string"/>
<field name="comment" type="string"/>
<field name="department" type="string"/>
<field name="memorySize" type="string"/>
</body>
</success>
<fail status="401">
<header/>
<body/>
</fail>
</response>
</operation>
</operations>
</invoker>