RWS module: Controller Service → Operations on Identity Resource → Get Identity Resource
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_identity_actions(client, action=None)
async
Get Identity Actions.
Route: GET /ctrl/identity
ABB constraints: Supported in bootserver mode
| Parameters: |
-
client
(RWSClient)
–
-
action
(str | None, default:
None
)
–
Query parameter. Optional.
|
| Returns: |
-
Response
–
Raw HTTP response. Expected success: HTTP 200.
|
Example
>>> await get_identity_actions(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/ctrl/identity.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
73
74
75
76
77
78
79 | async def get_identity_actions(
client: RWSClient,
action: str | None = None,
) -> httpx.Response:
"""
Get Identity Actions.
Route: ``GET /ctrl/identity``
ABB constraints: Supported in bootserver mode
Args:
client: Open RWSClient instance.
action: Query parameter. Optional.
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: NOT_FOUND(404) See
Example:
```python
>>> await get_identity_actions(client)
<Response [200]>
```
"""
return await client.get(
"/ctrl/identity",
params={k: v for k, v in {"action": action}.items() if v is not None},
)
|
get_identity_resource(client)
async
Get Identity Resource.
Route: GET /ctrl/identity
ABB constraints: Supported in bootserver mode
| Returns: |
-
Response
–
Raw HTTP response. Expected success: HTTP 200.
|
Example
>>> await get_identity_resource(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/ctrl/identity.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_identity_resource(client: RWSClient) -> httpx.Response:
"""
Get Identity Resource.
Route: ``GET /ctrl/identity``
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: NOT_FOUND(404) See
Example:
```python
>>> await get_identity_resource(client)
<Response [200]>
```
"""
return await client.get("/ctrl/identity")
|
set_the_identity_of_the_controller(client)
async
Set the Identity of the controller.
Route: PUT /ctrl/identity
ABB constraints: Supported in bootserver mode
| Returns: |
-
Response
–
Raw HTTP response. Expected success: HTTP 204.
|
Example
>>> await set_the_identity_of_the_controller(client)
<Response [204]>
Source code in abb_rws_client_python_rw6/rws/ctrl/identity.py
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110 | async def set_the_identity_of_the_controller(client: RWSClient) -> httpx.Response:
"""
Set the Identity of the controller.
Route: ``PUT /ctrl/identity``
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: UNAUTHORIZED(401), BAD_REQUEST(400), UNSUPPORTED_MEDIA(415)
Example:
```python
>>> await set_the_identity_of_the_controller(client)
<Response [204]>
```
"""
return await client.put(
"/ctrl/identity",
data={},
)
|