You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: server/auth/rest/README.md
+5-2
Original file line number
Diff line number
Diff line change
@@ -321,7 +321,9 @@ If accounts are managed by the server, the server should respond with an error `
321
321
322
322
### `rtagns` Get a list of restricted tag namespaces.
323
323
324
-
Server may enforce certain tag namespaces to be restricted, i.e. not editable by the user.
324
+
Server may enforce certain tag namespaces (tag prefixes) to be restricted, i.e. not editable by the user.
325
+
These are also used when searching for users.
326
+
The server may optionally provide a regular expression to validate search tokens before rewriting them as prefixed tags. I.e. if server allows only logins of 3-8 ASCII letters and numbers then the regexp could be `^[a-z0-9_]{3,8}$` which is base64-encoded as `XlthLXowLTlfXXszLDh9JA==`.
325
327
326
328
#### Sample request
327
329
```json
@@ -333,6 +335,7 @@ Server may enforce certain tag namespaces to be restricted, i.e. not editable by
0 commit comments