RWS module: User Service → Operations on Remote User → Get remote user actions
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_remote_user_actions(client, action=None)
async
Get remote user actions.
Route: GET /users/remoteuser
ABB constraints: Not 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_remote_user_actions(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/users/remote.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
45
46
47
48
49
50
51 | async def get_remote_user_actions(
client: RWSClient,
action: str | None = None,
) -> httpx.Response:
"""
Get remote user actions.
Route: ``GET /users/remoteuser``
ABB constraints: Not 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: BAD REQUEST(400), FORBIDDEN(403), UNAUTHORIZED(401)
Example:
```python
>>> await get_remote_user_actions(client)
<Response [200]>
```
"""
return await client.get(
"/users/remoteuser",
params={k: v for k, v in {"action": action}.items() if v is not None},
)
|
post_remote_user_logon_request(client, action=None)
async
Remote User Logon Request.
Route: POST /users/remoteuser
ABB constraints: Not Supported in bootserver mode. The UAS grant UAS_REMOTE_LOGIN is
required.
| Parameters: |
-
client
(RWSClient)
–
-
action
(str | None, default:
None
)
–
Query parameter. Optional.
|
| Returns: |
-
Response
–
Raw HTTP response. Expected success: HTTP 204.
|
Example
>>> await post_remote_user_logon_request(client)
<Response [204]>
Source code in abb_rws_client_python_rw6/rws/users/remote.py
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
80
81
82
83
84
85
86
87
88 | async def post_remote_user_logon_request(
client: RWSClient,
action: str | None = None,
) -> httpx.Response:
"""
Remote User Logon Request.
Route: ``POST /users/remoteuser``
ABB constraints: Not Supported in bootserver mode. The UAS grant UAS_REMOTE_LOGIN is
required.
Args:
client: Open RWSClient instance.
action: Query parameter. Optional.
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), FORBIDDEN(403), UNAUTHORIZED(401)
Example:
```python
>>> await post_remote_user_logon_request(client)
<Response [204]>
```
"""
return await client.post(
"/users/remoteuser",
params={k: v for k, v in {"action": action}.items() if v is not None},
data={},
)
|
post_remote_user_logout_request(client, action=None)
async
Remote User Logout Request.
Route: POST /users/remoteuser
ABB constraints: Not Supported in bootserver mode
| Parameters: |
-
client
(RWSClient)
–
-
action
(str | None, default:
None
)
–
Query parameter. Optional.
|
| Returns: |
-
Response
–
Raw HTTP response. Expected success: HTTP 204.
|
Example
>>> await post_remote_user_logout_request(client)
<Response [204]>
Source code in abb_rws_client_python_rw6/rws/users/remote.py
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124 | async def post_remote_user_logout_request(
client: RWSClient,
action: str | None = None,
) -> httpx.Response:
"""
Remote User Logout Request.
Route: ``POST /users/remoteuser``
ABB constraints: Not Supported in bootserver mode
Args:
client: Open RWSClient instance.
action: Query parameter. Optional.
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), FORBIDDEN(403), UNAUTHORIZED(401)
Example:
```python
>>> await post_remote_user_logout_request(client)
<Response [204]>
```
"""
return await client.post(
"/users/remoteuser",
params={k: v for k, v in {"action": action}.items() if v is not None},
data={},
)
|
subscribe_on_remote_user_state(client, identifier=None, identifier_p=None)
async
Subscribe on remote user state.
Route: POST /subscription
ABB constraints: Not supported in bootserver mode.
| Parameters: |
-
client
(RWSClient)
–
-
identifier
(str | None, default:
None
)
–
Body parameter. Optional.
-
identifier_p
(str | None, default:
None
)
–
Body parameter. Optional.
|
| Returns: |
-
Response
–
Raw HTTP response. Expected success: HTTP 201.
|
Example
>>> await subscribe_on_remote_user_state(client)
<Response [201]>
Source code in abb_rws_client_python_rw6/rws/users/remote.py
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165 | async def subscribe_on_remote_user_state(
client: RWSClient,
identifier: str | None = None,
identifier_p: str | None = None,
) -> httpx.Response:
"""
Subscribe on remote user state.
Route: ``POST /subscription``
ABB constraints: Not supported in bootserver mode.
Args:
client: Open RWSClient instance.
identifier: Body parameter. Optional.
identifier_p: Body parameter. Optional.
Returns:
Raw HTTP response. Expected success: HTTP 201.
Raises:
RWSAuthenticationError: On HTTP 401.
RWSNotFoundError: On HTTP 404.
RWSHTTPError: On any other HTTP >= 400.
# ABB codes: UNSUPPORTED_MEDIA(415), BAD_REQUEST(400)
Example:
```python
>>> await subscribe_on_remote_user_state(client)
<Response [201]>
```
"""
return await client.post(
"/subscription",
data={
k: v
for k, v in {"identifier": identifier, "identifier_p": identifier_p}.items()
if v is not None
},
)
|