GET Files/AttachmentGet
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
fileId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
AttachmentViewName | Description | Type | Additional information |
---|---|---|---|
type |
Тип: файл/картинка |
UploadedType |
None. |
typeStr |
Строковое значение типа |
string |
None. |
typeAdditionally |
Подтип: аудио, видео, word, excel и т.д. |
AttachmentType |
None. |
typeAdditionallyStr |
Строкое значение подтипа |
string |
None. |
id |
Идентификатор файла |
string |
None. |
name | string |
None. |
|
sha1 |
SHA1 файла |
string |
None. |
size |
Размер |
integer |
None. |
contentType |
ContentType файла |
string |
None. |
versions |
Список миниатюр (актуально для картинок) |
Dictionary of string [key] and string [value] |
None. |
Response Formats
application/json, text/json
Sample:
{ "type": 0, "typeStr": "image", "typeAdditionally": 0, "typeAdditionallyStr": "unknown", "id": "sample string 1", "name": "sample string 2", "sha1": "sample string 3", "size": 4, "contentType": "sample string 5", "versions": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }