Add a Save to Mac button for files in the Files tab
This commit is contained in:
@@ -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 } }
|
||||
|
||||
Reference in New Issue
Block a user