Skip to content
Docs menu

users

Public user profiles

2 operations · 1 schema

GET /v1/users/{username}

Public user profile

getUser · scope none

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

getUser parameters
NameInTypeDescription
usernamerequiredpathSlug

User handle.

Responses

getUser responses
StatusDescriptionBody
200

The user.

UserPublic
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json

GET /v1/handles/{handle}

Check whether a handle is free

checkHandle · scope key:read

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

checkHandle parameters
NameInTypeDescription
handlerequiredpathstring

length 1–64

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

checkHandle responses
StatusDescriptionBody
200

The answer.

HandleCheck
401

Missing or invalid credentials.

Problemapplication/problem+json

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

object

HandleCheck fields
FieldTypeDescription
handlerequiredstring

The handle that was checked, in lower case.

availablerequiredboolean

The caller could take it now.

reasonrequiredstring | null

one of invalid · reserved · taken · yours

Why it is not free:

  • invalid: not a handle;
  • reserved: a name the site keeps for its pages;
  • taken: a user or an organization has it.

yours when it is already the caller's handle. Null when it is free.

messagerequiredstring

One sentence for the form.

suggestionrequiredstring | null

A free handle close to the one asked for, when that one is not free.