ImportUrlAttachmentDto
Class: ImportUrlAttachmentDto
Defined in: apps/api/src/modules/attachments/dto/import-url-attachment.dto.ts:18
DTO для импорта вложения по URL.
Используется эндпоинтом:
POST /attachments/import-url
Пример тела запроса:
{
"projectId": "uuid-of-project",
"sourceUrl": "https://example.com/image.png",
"name": "Preview image"
}
Constructors
Constructor
new ImportUrlAttachmentDto():
ImportUrlAttachmentDto
Returns
ImportUrlAttachmentDto
Properties
name?
optionalname:string
Defined in: apps/api/src/modules/attachments/dto/import-url-attachment.dto.ts:37
Имя файла или описание (опционально).
projectId
projectId:
string
Defined in: apps/api/src/modules/attachments/dto/import-url-attachment.dto.ts:23
Идентификатор проекта, к которому принадлежит вложение.
sourceUrl
sourceUrl:
string
Defined in: apps/api/src/modules/attachments/dto/import-url-attachment.dto.ts:29
Исходная ссылка на файл.