Forgejo · Schema

CreateUserOption

CreateUserOption create user options

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
created_at string For explicitly setting the user creation timestamp. Useful when users are migrated from other systems. When omitted, the user's creation timestamp will be set to "now".
email string
full_name string
login_name string
must_change_password boolean
password string
restricted boolean
send_notify boolean
source_id integer
username string
visibility string
View JSON Schema on GitHub

JSON Schema

createuseroption.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "CreateUserOption",
  "description": "CreateUserOption create user options",
  "type": "object",
  "required": [
    "username",
    "email"
  ],
  "properties": {
    "created_at": {
      "description": "For explicitly setting the user creation timestamp. Useful when users are\nmigrated from other systems. When omitted, the user's creation timestamp\nwill be set to \"now\".",
      "type": "string",
      "format": "date-time",
      "x-go-name": "Created"
    },
    "email": {
      "type": "string",
      "format": "email",
      "x-go-name": "Email"
    },
    "full_name": {
      "type": "string",
      "x-go-name": "FullName"
    },
    "login_name": {
      "type": "string",
      "x-go-name": "LoginName"
    },
    "must_change_password": {
      "type": "boolean",
      "x-go-name": "MustChangePassword"
    },
    "password": {
      "type": "string",
      "x-go-name": "Password"
    },
    "restricted": {
      "type": "boolean",
      "x-go-name": "Restricted"
    },
    "send_notify": {
      "type": "boolean",
      "x-go-name": "SendNotify"
    },
    "source_id": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "SourceID"
    },
    "username": {
      "type": "string",
      "x-go-name": "Username"
    },
    "visibility": {
      "type": "string",
      "x-go-name": "Visibility"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}