Skip to content

Commit

Permalink
Automated commit 'Merge pull request #27 from sailpoint/NEROCKET-965
Browse files Browse the repository at this point in the history
NEROCKET-965 added locale to user API specs.' by github action: 9100711617
  • Loading branch information
developer-relations-sp committed May 15, 2024
1 parent 783f479 commit 231c057
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 3 deletions.
30 changes: 28 additions & 2 deletions nerm/schemas/GET/User.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,60 @@ properties:
type: string
format: uuid
readonly: true
example: db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e
description: ID of the object to retrieve or update
uid:
type: string
minLength: 32
maxLength: 32
readonly: true
example: user1
description: UID of the user
name:
type: string
description: The name
example: myusername
email:
type: string
format: email
description: The email
example: [email protected]
type:
type: string
enum: [NeprofileUser, NeaccessUser]
default: NeprofileUser
description: Type of user
example: NeprofileUser
title:
type: string
description: The title
example: Director
status:
type: string
enum: [Active, Disabled]
description: Status of the user
example: Active
login:
type: string
type: string
description: The login
example: myLogin
last_login:
type: string
format: date-time
readOnly: true
description: When the user last logged in
example: Wed, 07 Feb 2024 12:55:20.456682000 EST -05:00
cookies_accepted_at:
type: string
format: date-time
readOnly: true
description: When cookies were accepted
example: Wed, 07 Feb 2024 12:55:20.456682000 EST -05:00
preferred_language:
type: string
type: string
description: The locale the user prefers to use
example: fr-CA
locale:
type: string
description: The locale the user prefers to use
example: fr-CA
6 changes: 5 additions & 1 deletion nerm/schemas/PATCH/User.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,8 @@ properties:
group_strings:
type: string
description: The group strings
example: "Administrator_group,Developer_group"
example: "Administrator_group,Developer_group"
locale:
type: string
description: The locale the user prefers to use
example: fr-CA
4 changes: 4 additions & 0 deletions nerm/schemas/POST/User.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@ properties:
type: string
description: The user group strings
example: "Administrator_group,Developer_group"
locale:
type: string
description: The locale the user prefers to use
example: fr-CA

0 comments on commit 231c057

Please sign in to comment.