-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
User- and file-related endpoints (#413)
* User- and file-related endpoints `GET /auth/user/favoritelimits` `GET /analysis/{fileId}/{versionId}` `GET /analysis/{fileId}/{versionId}/security` `GET /analysis/{fileId}/{versionId}/standard` `GET /users/{userId}/feedback` `GET /userNotes` `POST /userNotes` `GET /userNotes/{userNoteId}` * Fix mistakes * Fix double spaces * Remove extraneous description * Add contentId filter to feedback * Update openapi/components/paths/users.yaml Co-authored-by: Lars Olzem <hackebein@gmail.com> * Add targetuser to user note * typo * relocate `deprecated` property to method instead of path * Make targetuser optional --------- Co-authored-by: JelleJurre <76777936+jellejurre@users.noreply.github.com> Co-authored-by: Lars Olzem <hackebein@gmail.com> Co-authored-by: jellejurre <jelle@jilles.com>
- Loading branch information
1 parent
ea94d83
commit 30ad99c
Showing
22 changed files
with
547 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
title: UpdateUserNoteRequest | ||
type: object | ||
properties: | ||
targetUserId: | ||
$ref: ../schemas/UserID.yaml | ||
note: | ||
type: string | ||
required: | ||
- targetUserId | ||
- note |
5 changes: 5 additions & 0 deletions
5
openapi/components/responses/favorites/FavoriteLimitsResponse.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
description: Returns a single FavoriteLimits object. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: ../../schemas/FavoriteLimits.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
description: Returns a single FileAnalysis object. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: ../../schemas/FileAnalysis.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
description: Returns a list of Feedback objects. | ||
content: | ||
application/json: | ||
schema: | ||
type: array | ||
items: | ||
$ref: ../../schemas/Feedback.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
description: Returns a list of UserNote objects. | ||
content: | ||
application/json: | ||
schema: | ||
type: array | ||
items: | ||
$ref: ../../schemas/UserNote.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
description: Returns a single UserNote object. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: ../../schemas/UserNote.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
title: FavoriteGroupLimits | ||
type: object | ||
properties: | ||
avatar: | ||
type: integer | ||
friend: | ||
type: integer | ||
world: | ||
type: integer | ||
required: | ||
- avatar | ||
- friend | ||
- world |
Oops, something went wrong.