chore: fix type.yaml example and summary

isekai-main
Julian Lam 3 years ago
parent 0ee85d5a0b
commit 591424cea1

@ -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
Loading…
Cancel
Save