Skip to content

Commit

Permalink
fix remaining title and following fields
Browse files Browse the repository at this point in the history
  • Loading branch information
jalpp committed Apr 12, 2024
1 parent c63510e commit 6b21b74
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/specs/schemas/Title.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
type: string
enum: [GM, WGM, IM, WIM, FM, WFM, NM, CM, WCM, WNM, LM, BOT]
example: NM
description: only appears if the user is a titled player or a bot user
5 changes: 5 additions & 0 deletions doc/specs/schemas/UserExtended.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,18 @@ allOf:
followable:
type: boolean
example: true
description: only appears if the request is [authenticated with OAuth2](#section/Introduction/Authentication)
following:
type: boolean
example: false
description: only appears if the request is [authenticated with OAuth2](#section/Introduction/Authentication)
blocking:
type: boolean
example: false
description: only appears if the request is [authenticated with OAuth2](#section/Introduction/Authentication)
followsYou:
type: boolean
example: false
description: only appears if the request is [authenticated with OAuth2](#section/Introduction/Authentication)


2 changes: 0 additions & 2 deletions doc/specs/tags/users/api-user-username.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ get:
summary: Get user public data
description: |
Read public data of a user.
If the request is [authenticated with OAuth2](#section/Introduction/Authentication),
then extra fields might be present in the response: `followable`, `following`, `blocking`, `followsYou`.
tags:
- Users
security:
Expand Down

0 comments on commit 6b21b74

Please sign in to comment.