| Field | Type | Required | Description | Example |
|---|---|---|---|---|
active |
T.nilable(T.any(T::Boolean, Models::Shared::LmsUpsertContentRequestDto2)) | ➖ | Whether the content is active and available for users. | true |
additional_data |
T::Array<Models::Shared::AdditionalData> | ➖ | The additional_data associated with this content | |
authors |
T::Array<Models::Shared::AuthorModel> | ➖ | The authors of the content | [ { "id": "123", "name": "John Doe" } ] |
categories |
T::Array<Models::Shared::CreateCategoriesApiModel> | ➖ | The categories associated with this content | |
content_type |
T.nilable(Models::Shared::LmsUpsertContentRequestDtoContentType) | ➖ | The type of content | |
content_url |
T.nilable(::String) | ➖ | The external URL of the content | https://www.youtube.com/watch?v=16873 |
cover_url |
T.nilable(::String) | ➖ | The URL of the thumbnail image associated with the content. | https://www.googledrive.com/?v=16873 |
created_at |
Date | ➖ | The date on which the content was created. | 2021-07-21T14:00:00.000Z |
description |
T.nilable(::String) | ➖ | The description of the content | This video acts as learning content for software engineers. |
duration |
T.nilable(::String) | ➖ | The duration of the content following the ISO8601 standard. If duration_unit is applicable we will derive this from the smallest unit given in the duration string or the minimum unit accepted by the provider. | P3Y6M4DT12H30M5S |
external_reference |
::String | ✔️ | The external ID associated with this content | SOFTWARE-ENG-LV1-TRAINING-VIDEO-1 |
languages |
T::Array<Models::Shared::LanguageEnum> | ➖ | The languages associated with this content | |
localizations |
T::Array<Models::Shared::LocalizationModel> | ➖ | The localization data for this course | [ { "title": "Software Engineer Lv 1", "description": "This course acts as learning resource for software engineers.", "languages": { "value": "en-GB", "source_value": "string" } }, { "title": "Software Engineer: A comprehensive guide", "description": "This course acts as learning resource for software engineers.", "languages": { "value": "en-US", "source_value": "string" } } ] |
mobile_launch_content_url |
T.nilable(::String) | ➖ | The mobile friendly URL of the content | https://www.mobile.youtube.com/watch?v=16873 |
order |
T.nilable(::Float) | ➖ | The order of the individual content within a content grouping. This is not applicable for pushing individual content. | 1 |
passthrough |
T::Hash[Symbol, ::Object] | ➖ | Value to pass through to the provider | { "other_known_names": "John Doe" } |
short_description |
T.nilable(::String) | ➖ | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. A short description or summary for the content |
This course is a valuable resource and acts as learning content for... |
skills |
T::Array<Models::Shared::CreateSkillsApiModel> | ➖ | The skills associated with this content | [ { "id": "12345", "name": "Sales Techniques" } ] |
tags |
T::Array<::String> | ➖ | A list of tags associated with the content | [ "Sales Techniques", "Customer Service" ] |
title |
T.nilable(::String) | ➖ | The title of the content | Software Engineer Lv 1 |
unified_custom_fields |
T::Hash[Symbol, ::Object] | ➖ | Custom Unified Fields configured in your StackOne project | { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value" } |
updated_at |
Date | ➖ | The date on which the content was last updated. | 2021-07-21T14:00:00.000Z |