Add a Save to Mac button for files in the Files tab

This commit is contained in:
Ian Gulliver
2026-10-23 12:17:17 -07:00
parent 1383bd6ae5
commit dc2fcc6075
4 changed files with 240 additions and 95 deletions
+17
View File
@@ -520,6 +520,23 @@ paths:
"400": { $ref: "#/components/responses/Error" }
"404": { $ref: "#/components/responses/Error" }
/api/projects/{projectId}/raw:
parameters:
- { name: projectId, in: path, required: true, schema: { type: string } }
get:
operationId: getProjectRaw
description: >
A regular file on the server, whole, with a content type chosen by its extension, as getTaskRaw serves it.
parameters:
- { name: path, in: query, required: true, schema: { type: string }, description: "Slash-separated, absolute or relative to the project's repository root." }
responses:
"200":
description: The file's bytes.
content:
"*/*": { schema: { type: string, format: binary } }
"400": { $ref: "#/components/responses/Error" }
"404": { $ref: "#/components/responses/Error" }
/api/projects/{projectId}/todo/tasks:
parameters:
- { name: projectId, in: path, required: true, schema: { type: string } }