From 591424cea1d99a272bccfcfc8da603c6d977be1b Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 29 Oct 2021 14:21:42 -0400 Subject: [PATCH] chore: fix type.yaml example and summary --- .../openapi/read/user/uid/userslug/export/type.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/public/openapi/read/user/uid/userslug/export/type.yaml b/public/openapi/read/user/uid/userslug/export/type.yaml index f859087247..e0ea7d93d1 100644 --- a/public/openapi/read/user/uid/userslug/export/type.yaml +++ b/public/openapi/read/user/uid/userslug/export/type.yaml @@ -1,7 +1,7 @@ get: tags: - deprecated - summary: Export a user's posts (.csv) + summary: Export a user's posts/profile/uploads (.csv) parameters: - name: userslug in: path @@ -10,10 +10,10 @@ get: type: string example: admin responses: - "200": - description: "A CSV file containing a user's posts" - content: - text/csv: + "302": + description: A redirect to the new URL format (without the `/uid` prefix) + headers: + Location: schema: type: string - format: binary \ No newline at end of file + example: /api/user/admin/export/posts \ No newline at end of file