mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-01 21:30:30 +01:00
chore: fix type.yaml example and summary
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- deprecated
|
- deprecated
|
||||||
summary: Export a user's posts (.csv)
|
summary: Export a user's posts/profile/uploads (.csv)
|
||||||
parameters:
|
parameters:
|
||||||
- name: userslug
|
- name: userslug
|
||||||
in: path
|
in: path
|
||||||
@@ -10,10 +10,10 @@ get:
|
|||||||
type: string
|
type: string
|
||||||
example: admin
|
example: admin
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"302":
|
||||||
description: "A CSV file containing a user's posts"
|
description: A redirect to the new URL format (without the `/uid` prefix)
|
||||||
content:
|
headers:
|
||||||
text/csv:
|
Location:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: binary
|
example: /api/user/admin/export/posts
|
||||||
Reference in New Issue
Block a user