mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-26 10:26:26 +01:00
docs(api): document attachment archive route
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
53098c2027
commit
26fc3bac0d
1 file changed
+14
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user