docs(api): document attachment archive route

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-08-19 12:08:34 +00:00
1 parent 53098c2027
commit 26fc3bac0d
1 file changed
+14
+14
View File
@@ -2655,6 +2655,20 @@ registry.registerPath({
responses: { 200: r.ok(), 401: r.unauthorized },
});
registry.registerPath({
method: "get",
path: "/api/issues/{id}/attachments/archive",
tags: ["assets"],
summary: "Download issue attachments and documents as a ZIP archive",
request: { params: z.object({ id: z.string() }) },
responses: {
200: { description: "ZIP archive content" },
401: r.unauthorized,
404: r.notFound,
422: r.unprocessable,
},
});
registry.registerPath({
method: "get",
path: "/api/companies/{companyId}/labels",