RWS module: Root Resource → Get Service list
1:1 mirror of the ABB RobotWare 6 REST API.
Each function maps to exactly one HTTP endpoint.
No composed logic — see highlevel/ for wrappers.
get_service_list(client)
async
Get Service list.
Route: GET /
ABB constraints: Supported in bootserver mode
| Returns: |
-
Response
–
Raw HTTP response. Expected success: HTTP 200.
|
Example
>>> await get_service_list(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/root.py
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 | async def get_service_list(client: RWSClient) -> httpx.Response:
"""
Get Service list.
Route: ``GET /``
ABB constraints: Supported in bootserver mode
Args:
client: Open RWSClient instance.
Returns:
Raw HTTP response. Expected success: HTTP 200.
Raises:
RWSAuthenticationError: On HTTP 401.
RWSNotFoundError: On HTTP 404.
RWSHTTPError: On any other HTTP >= 400.
# ABB codes: BAD_REQUEST(400)
Example:
```python
>>> await get_service_list(client)
<Response [200]>
```
"""
return await client.get("/")
|
logout(client)
async
Logout.
Route: GET /logout
ABB constraints: Supported in bootserver mode
| Returns: |
-
Response
–
Raw HTTP response. Expected success: HTTP 204.
|
Example
>>> await logout(client)
<Response [204]>
Source code in abb_rws_client_python_rw6/rws/root.py
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 | async def logout(client: RWSClient) -> httpx.Response:
"""
Logout.
Route: ``GET /logout``
ABB constraints: Supported in bootserver mode
Args:
client: Open RWSClient instance.
Returns:
Raw HTTP response. Expected success: HTTP 204.
Raises:
RWSAuthenticationError: On HTTP 401.
RWSNotFoundError: On HTTP 404.
RWSHTTPError: On any other HTTP >= 400.
# ABB codes: BAD_REQUEST(400)
Example:
```python
>>> await logout(client)
<Response [204]>
```
"""
return await client.get("/logout")
|