The Video
object type represents a video content object. atlassian:video
should be used to ingest
video-specific fields.
1 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 [] [Optional] ├─ accountId (string) └─ ari (string) └─ lastUpdatedAt (Instant (ISO8601 / RFC3339)) [Required] └─ lastUpdatedBy [] [Required] ├─accountId (string) └─ ari └─ permissions └─ 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<object>) [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 (double) [Required] ├─ title (string) [Required] └─ contributors (List<object>) [Optional] ├─ user (object) [Required] ├─ accountId (string) [Optional] ├─ email (string) [Optional] ├─ externalId (string) [Optional] ├─ ari (string) [Optional] ├─ name (string) [Optional] ├─ userName (string) [Optional] ├─ avatar (string) [Optional] └─ url (string) [Optional] └─ 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 | user | No |
The user that created the object. See User to learn more. |
lastUpdatedAt | string | Yes |
The date the object was last updated. Format: Instant (ISO8601 / RFC3339) |
lastUpdatedBy | user | No |
The user that last updated the object. See User to learn more. |
owners | list<User> | No | List 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. |
containerKey | entityKey | No |
The container identifier that this object belongs to. 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 | URL to the video thumbnail image. |
embedUrl | string | Yes | URL for embedding the video in other applications. |
durationInSeconds | integer | No | The duration of the video in seconds. |
width | integer | No | The width of the video in pixels. |
height | integer | No | The height of the video in pixels. |
commentCount | integer | No | The number of comments on the video. |
textTracks | List<object> | No | List of text tracks associated with the video. |
textTracks.name | string | No | The name of the text track. |
textTracks.locale | string | No | The locale of the text track. |
textTracks.cues | List<Cue> | Yes | List of cues for the text track. |
textTracks.cues.id | string | No | The unique identifier for the cue. |
textTracks.cues.startTimeInSeconds | double | Yes | The start time of the cue in seconds. |
textTracks.cues.endTimeInSeconds | double | No | The end time of the cue in seconds. |
textTracks.cues.text | string | Yes | The text content of the cue. |
chapters | List<Chapter> | No | List of chapters in the video. |
chapters.startTimeInSeconds | double | Yes | The start time of the chapter in seconds. |
chapters.title | string | Yes | The title of the chapter. |
contributors | List<object> | No | List of contributors to the video. |
contributors.user | object | Yes | User information for the contributor. |
contributors.interactionCount | integer | Yes | The interaction count for the contributor. |
1 2{ "objects" : [ { "id" : "video-1", "updateSequenceNumber" : 1, "displayName" : "My video", "description" : "My first video", "url" : "https://www.example-video.com/share/59105659e3b84d2d8491bcc8f608284d", "lastUpdatedAt" : "2024-07-09T14:27:37.000Z", "permissions" : [ { "action" : "read", "accessControls" : [ { "principals" : [ { "type" : "EVERYONE" } ] } ] }, { "accessControls" : [ { "principals" : [ { "type" : "MUST_HAVE_VIEWED" } ] } ] } ], "atlassian:video" : { "thumbnailUrl" : "https://example-video.com/thumbnail/123123", "embedUrl" : "https://example-video.com/embed/embed-123", "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, this is my first video." } ] } ], "chapters" : [ { "startTimeInSeconds" : 0, "title" : "Introduction" }, { "startTimeInSeconds" : 90, "title" : "Where are we now" }, { "startTimeInSeconds" : 220, "title" : "What do we want to achieve" } ], "contributors" : [ { "user" : { "externalId" : "external-id-1" }, "interactionCount" : 5 } ] } } ], "operationType" : "NORMAL" }
Rate this page: