aboutsummaryrefslogtreecommitdiffhomepage
path: root/openapi
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-17 21:11:07 +0900
committernsfisis <nsfisis@gmail.com>2024-08-17 21:11:07 +0900
commit01d3120fd7129f573d88f7aa7c227b3ef93fe368 (patch)
treeeea4f5ac0f025c7bdbff71d2ee83b4dce99355ef /openapi
parentf926ef682de637b717d3b0cc0eaee43c59e83c95 (diff)
parentb923a9d6534820d33f42bc65c47ae22889bde922 (diff)
downloadiosdc-japan-2024-albatross-01d3120fd7129f573d88f7aa7c227b3ef93fe368.tar.gz
iosdc-japan-2024-albatross-01d3120fd7129f573d88f7aa7c227b3ef93fe368.tar.zst
iosdc-japan-2024-albatross-01d3120fd7129f573d88f7aa7c227b3ef93fe368.zip
Merge branch 'feat/icon'
Diffstat (limited to 'openapi')
-rw-r--r--openapi/fortee.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/openapi/fortee.yaml b/openapi/fortee.yaml
index 707a29b..9237954 100644
--- a/openapi/fortee.yaml
+++ b/openapi/fortee.yaml
@@ -44,3 +44,36 @@ paths:
- username
required:
- loggedIn
+ /api/user/view/{username}:
+ get:
+ operationId: getUser
+ summary: Get a user
+ parameters:
+ - in: path
+ name: username
+ schema:
+ type: string
+ required: true
+ responses:
+ '200':
+ description: User found
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ uuid:
+ type: string
+ example: "11111111-1111-1111-1111-111111111111"
+ username:
+ type: string
+ example: "john"
+ avatar_url:
+ type: string
+ example: "/files/_user/11111111-1111-1111-1111-111111111111.jpg"
+ required:
+ - uuid
+ - username
+ - avatar_url
+ '404':
+ description: User not found