Skip to content

Latest commit

 

History

History
29 lines (26 loc) · 45 KB

File metadata and controls

29 lines (26 loc) · 45 KB

LmsUpsertContentRequestDto

Fields

Field Type Required Description Example
unifiedCustomFields array<string, mixed> Custom Unified Fields configured in your StackOne project {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
}
title ?string The title of the content Software Engineer Lv 1
description ?string The description of the content This video acts as learning content for software engineers.
languages array<Components\LanguageEnum> The languages associated with this content
contentUrl ?string The external URL of the content https://www.youtube.com/watch?v=16873
mobileLaunchContentUrl ?string The mobile friendly URL of the content https://www.mobile.youtube.com/watch?v=16873
coverUrl ?string The URL of the thumbnail image associated with the content. https://www.googledrive.com/?v=16873
active bool|Components\LmsUpsertContentRequestDtoActive2|null Whether the content is active and available for users. true
duration ?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
skills array<Components\CreateSkillsApiModel> The skills associated with this content [
{
"id": "12345",
"name": "Sales Techniques"
}
]
order ?float The order of the individual content within a content grouping. This is not applicable for pushing individual content. 1
shortDescription ?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...
localizations array<Components\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"
}
}
]
tags array<string> A list of tags associated with the content [
"Sales Techniques",
"Customer Service"
]
authors array<Components\AuthorModel> The authors of the content [
{
"id": "123",
"name": "John Doe"
}
]
updatedAt \DateTime The date on which the content was last updated. 2021-07-21T14:00:00.000Z
createdAt \DateTime The date on which the content was created. 2021-07-21T14:00:00.000Z
passthrough array<string, mixed> Value to pass through to the provider {
"other_known_names": "John Doe"
}
externalReference string ✔️ The external ID associated with this content SOFTWARE-ENG-LV1-TRAINING-VIDEO-1
categories array<Components\CreateCategoriesApiModel> The categories associated with this content
additionalData array<Components\AdditionalData> The additional_data associated with this content
contentType ?Components\LmsUpsertContentRequestDtoContentType The type of content