File
Медиафайл команды. Загрузка через `createFile`: видео в формате `base64`, лимит около 100 МБ.
"""
Медиафайл команды. Загрузка через `createFile`: видео в формате `base64`, лимит около 100 МБ.
"""
type File implements Node {
"""Непрозрачный GraphQL Global ID."""
id: ID!
key: String
thumbnailUrl: String
"""URL доступа к файлу, если выдан."""
url: String
"""UUID файла в команде."""
rowId: UUID!
createdAt: Datetime
updatedAt: Datetime
teamId: UUID!
bucket: String!
region: String!
"""Имя файла."""
filename: String!
"""MIME-тип (например, `video/mp4`)."""
mimeType: String
"""Размер в байтах."""
sizeBytes: BigInt
etag: String
parentId: UUID
"""Метаданные обработки (JSON)."""
metadata: JSON
"""Ошибка загрузки или обработки."""
error: String
errorAt: Datetime
"""Время успешной загрузки."""
uploadedAt: Datetime
"""Срок действия подписанной ссылки."""
expiresAt: Datetime
"""Временная подписанная ссылка."""
signedUrl: String
"""Длительность видео (секунды)."""
duration: Int
thumbnailFilename: String
sourceId: UUID!
"""Reads a single `File` that is related to this `File`."""
fileByParentId: File
"""Reads and enables pagination through a set of `Task`."""
tasksByFileId(
"""
Only read the first `n` values of the set.
Max: 100
"""
first: Int = 10
"""
Only read the last `n` values of the set.
Max: 100
"""
last: Int
"""
Skip the first `n` values from our `after` cursor, an alternative to cursor
based pagination. May not be used with `last`.
"""
offset: Int
"""Read all values in the set before (above) this cursor."""
before: Cursor
"""Read all values in the set after (below) this cursor."""
after: Cursor
"""
A condition to be used in determining which values should be returned by the collection.
"""
condition: TaskCondition
"""
A filter to be used in determining which values should be returned by the collection.
"""
filter: TaskFilter
"""The method to use when ordering `Task`."""
orderBy: [TaskOrderBy!] = [PRIMARY_KEY_ASC]
): TaskConnection!
"""Reads and enables pagination through a set of `File`."""
filesByParentId(
"""
Only read the first `n` values of the set.
Max: 100
"""
first: Int = 10
"""
Only read the last `n` values of the set.
Max: 100
"""
last: Int
"""
Skip the first `n` values from our `after` cursor, an alternative to cursor
based pagination. May not be used with `last`.
"""
offset: Int
"""Read all values in the set before (above) this cursor."""
before: Cursor
"""Read all values in the set after (below) this cursor."""
after: Cursor
"""
A condition to be used in determining which values should be returned by the collection.
"""
condition: FileCondition
"""
A filter to be used in determining which values should be returned by the collection.
"""
filter: FileFilter
"""The method to use when ordering `File`."""
orderBy: [FileOrderBy!] = [PRIMARY_KEY_ASC]
): FileConnection!
}