The Video object type represents a video entity like a Loom video. atlassian:video should be used to ingest video-specific fields.
Additional required fields for Video:
displayName - Required1 2objects {} ├─ schemaVersion (string) [Required] ├─ id (string) [Required] ├─ updateSequenceNumber (long) [Required] ├─ displayName (string) [Required] ├─ description (string) [Optional] ├─ url (string) [Required] ├─ createdAt (Instant (ISO8601 / RFC3339)) [Required] └─ createdBy (userReference) [Optional] ├─ accountId (string) [Optional] ├─ email (string) [Optional] └─ externalId (string) [Required] └─ lastUpdatedAt (Instant (ISO8601 / RFC3339)) [Required] └─ lastUpdatedBy (userReference) [Optional] ├─ accountId (string) [Optional] ├─ email (string) [Optional] └─ externalId (string) [Required] └─ owners (List<userReference>) [Optional] ├─ accountId (string) [Optional] ├─ email (string) [Optional] └─ externalId (string) [Required] └─ thumbnail [Optional] └─ externalUrl (string) └─ parentKey (EntityKey) [Optional] ├─ type (string) [Required] └─ value (jsonNode) [Required] └─ containerKey (EntityKey) [Optional] ├─ type (string) [Required] └─ value (jsonNode) [Required] └─ permissions [] [Required] └─ accessControls └─ principals └─ type └─ associations [] [Optional] ├─ associationType (string) └─ values [] atlassian:video ├─ thumbnailUrl (string) [Required] ├─ embedUrl (string) [Required] ├─ durationInSeconds (integer) [Optional] ├─ width (integer) [Optional] ├─ height (integer) [Optional] ├─ commentCount (integer) [Optional] ├─ textTracks (List<Track>) [Optional] ├─ name (string) [Optional] ├─ locale (string) [Optional] └─ cues (List<Cue>) [Required] ├─ id (string) [Optional] ├─ startTimeInSeconds (double) [Required] ├─ endTimeInSeconds (double) [Optional] └─ text (string) [Required] ├─ chapters (List<Chapter>) [Optional] ├─ startTimeInSeconds (integer) [Required] └─ title (string) [Required] └─ contributors (List<Contributor>) [Optional] ├─ user (userReference) [Required] ├─ accountId (string) [Optional] ├─ email (string) [Optional] └─ externalId (string) [Required] └─ interactionCount (integer) [Required]
| Property | Type | Required | Description |
|---|---|---|---|
schemaVersion |
| Yes | The schema version of the object. |
id |
| Yes | The ID of the object in the source system. |
updateSequenceNumber | long | Yes | A sequence number to compare when writing to the database. Objects are written following
a last write wins strategy, therefore an object with a greater UpdateSequenceNumber
is considered a more recently updated object. |
displayName | string | Yes | The display name of the object. |
description | string | No | The description of the object. |
url | string | Yes | The URL from the provider which the object is accessible from. |
createdAt | string | Yes |
The date the object was created. Format: Instant (ISO8601 / RFC3339) |
createdBy | userReference | No |
A reference to the user that created the object. See userReference to learn more. |
lastUpdatedAt | string | Yes |
The date the object was last updated. Format: Instant (ISO8601 / RFC3339) |
lastUpdatedBy | userReference | No |
A reference to the user that last updated the object. See userReference to learn more. |
owners | list<userReference> | No | List of references of users that own the object. |
thumbnail | thumbnail | No |
The thumbnail of the object. See Thumbnail to learn more. |
parentKey | entityKey | No |
The ID of the parent object. If null, it is a standalone object. See Entity key to learn more. |
permissions | list<Permissions> | Yes |
The permissions configuration of the object. See Permissions to learn more. |
associations | association | No |
List of objects associated with the object. Generally used to link an external object to a Atlassian object. See Association to learn more. |
| Property | Type | Required | Description |
|---|---|---|---|
thumbnailUrl | string | Yes |
The thumbnail URL of the video. Format: Valid URL |
embedUrl | string | Yes |
The embed URL of the video. Format: Valid URL |
durationInSeconds | integer | No |
The duration of the video in seconds. Format: int64 |
width | integer | No |
The video width in pixels. Format: int64 |
height | integer | No |
The video height in pixels. Format: int64 |
commentCount | integer | No |
The number of comments on the video. Format: int64 |
textTracks | List<Track> | No |
The text tracks of the video (e.g., subtitles, captions). Validation: max-length: 100 |
textTracks.name | string | No | The name of the track. |
textTracks.locale | string | No |
The locale of the track. Format: Locale (ISO639) |
textTracks.cues | List<Cue> | Yes | The cues of the track. |
textTracks.cues.id | string | No | The ID of the cue. |
textTracks.cues.startTimeInSeconds | double | Yes |
The start time of the cue in seconds. Format: double |
textTracks.cues.endTimeInSeconds | double | No |
The end time of the cue in seconds. Format: double |
textTracks.cues.text | string | Yes | The text of the cue. |
chapters | List<Chapter> | No |
The chapters of the video. Validation: max-length: 500 |
chapters.startTimeInSeconds | integer | Yes |
The start time of the chapter in seconds. Format: int64 |
chapters.title | string | Yes | The title of the chapter. |
contributors | List<Contributor> | No | The contributors of the video. |
contributors.user | userReference | Yes |
The user entity representation of the contributor. See userReference. |
contributors.interactionCount | integer | Yes |
The number of interactions by the contributor. Format: int64 |
1 2{ "objects" : [ { "schemaVersion" : "2.0", "id" : "video-1", "updateSequenceNumber" : 1, "displayName" : "My cool video", "description" : "AI generated summary for this really cool video", "url" : "https://www.loom.com/share/59105659e3b84d2d8491bcc8f608284d", "createdAt" : "2024-01-15T10:00:00.000Z", "lastUpdatedAt" : "2024-07-09T14:27:37.000Z", "permissions" : [ { "accessControls" : [ { "principals" : [ { "type" : "ATLASSIAN_WORKSPACE" } ] } ] } ], "atlassian:video" : { "thumbnailUrl" : "https://cdn.loom.com/sessions/thumbnails/59105659e3b84d2d8491bcc8f608284d-thumbnail.jpg", "embedUrl" : "https://www.loom.com/embed/59105659e3b84d2d8491bcc8f608284d", "durationInSeconds" : 503, "width" : 3840, "height" : 2160, "commentCount" : 1, "textTracks" : [ { "name" : "English subtitles", "locale" : "en-US", "cues" : [ { "id" : "cue-intro", "startTimeInSeconds" : 0, "endTimeInSeconds" : 5.5, "text" : "Hello, Rafael from Team World Graph here..." } ] } ], "chapters" : [ { "startTimeInSeconds" : 0, "title" : "Introduction" }, { "startTimeInSeconds" : 90, "title" : "Provider and Consumer Schemas" }, { "startTimeInSeconds" : 220, "title" : "Transition to V2 API" } ], "contributors" : [ { "user" : { "externalId" : "some-external-worker-id" }, "interactionCount" : 5 } ] } } ] }
Rate this page: