action apache_get_user { label: "Get a user" description: "Get a user with a specific username.\n\n*New in version 2.1.0*\n" provider: apache method: GET path: "/users/{username}" encoding: json output: { type: "object" description: "A user object.\n\n*New in version 2.1.0*\n" properties: { active: { type: "boolean" description: "Whether the user is active" } changed_on: { type: "string" format: "datetime" description: "The date user was changed" } created_on: { type: "string" format: "datetime" description: "The date user was created" } email: { type: "string" description: "The user's email.\n\n*Changed in version 2.2.0*: A minimum character length requirement ('minLength') is added.\n" } failed_login_count: { type: "integer" description: "The number of times the login failed" } first_name: { type: "string" description: "The user's first name.\n\n*Changed in version 2.4.0*: The requirement for this to be non-empty was removed.\n" } last_login: { type: "string" format: "datetime" description: "The last user login" } last_name: { type: "string" description: "The user's last name.\n\n*Changed in version 2.4.0*: The requirement for this to be non-empty was removed.\n" } login_count: { type: "integer" description: "The login count" } roles: { type: "array" description: "User roles.\n\n*Changed in version 2.2.0*: Field is no longer read-only.\n" items: { type: "object" properties: { name: { type: "string" } } } } username: { type: "string" description: "The username.\n\n*Changed in version 2.2.0*: A minimum character length requirement ('minLength') is added.\n" } } } }