users
Public user profiles
GET / v1/ users/ {username}
Public user profile
Public profile for a user handle (drives /{owner} profile pages). A handle its owner has since changed still answers, with the current username. A client can then send the old address on.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
username | path | Slug | User handle. |
Responses
| Status | Description | Body |
|---|---|---|
200 | The user. | UserPublic |
404 | Resource not found (or hidden from the caller). | Problem |
GET / v1/ handles/ {handle}
Check whether a handle is free
Answers whether the caller could take this handle as their own. The answer carries one sentence for a form. When the handle is not free, it also carries a free one close to it. The rules are the ones updateMe and createOrg apply, so a form and the change it makes agree.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
handle | path | string | The handle to check, as typed. It is checked in lower case. An invalid handle still gets an answer. The call does not refuse it. |
Responses
| Status | Description | Body |
|---|---|---|
200 | The answer. | HandleCheck |
401 | Missing or invalid credentials. | Problem |
Schemas (1)
The schemas these operations reach before any other tag’s do. A type that links elsewhere is rendered on that tag’s page.
HandleCheck
| Field | Type | Description |
|---|---|---|
handle | string | The handle that was checked, in lower case. |
available | boolean | The caller could take it now. |
reason | string | null | Why it is not free:
|
message | string | One sentence for the form. |
suggestion | string | null | A free handle close to the one asked for, when that one is not free. |