User

Register a new user

Changed on

Create a new user.

post/user

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Request body

namestring required

The display name for this user

picture_urlstring uri required

URL to the picture associated with this user

usernamestring required

The unique name of the user in small case without spaces

descriptionstring

A description of the user

Example request

{
  "name": "Ladybug Tools",
  "picture_url": "https://avatars1.githubusercontent.com/u/38131342",
  "username": "ladybugbot",
  "description": "Making environmental design knowledge and tools freely accessible to every person, project and design process"
}

Response

Success

idstring uuid required

Id for the newly created resource.

messagestring

A human readable message

Example response

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "message": "Use Location in headers to access the new object."
}

Changes

    • breaking

      the request property's minLength was increased from 0 to 1

    • breaking

      the request property's minLength was increased from 0 to 3

    • breaking

      the request property format changed from no format to uri

    • breaking

      response property detail/items/loc/items/ list-of-types was widened by adding types integer to media type application/json of response 422

    • warning

      the request property's maxLength was set to 65536

    • warning

      the request property's maxLength was set to 30

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      the endpoint scheme security APIKeyAuth was removed from the API