CreateSkillVersionFromFilesBody interface

多部分請求文,用於從檔案建立技能版本。 可接受單一壓縮檔或多個技能檔案(目錄上傳)。 對於壓縮檔上傳,伺服器會解壓並驗證內容。 對於目錄上傳,檔案會被驗證 as-is。

屬性

default

是否要將此版本設為預設。 預設為 False。

files

技能檔案要上傳。 上傳一個壓縮檔或多個帶有相對路徑的獨立檔案。

屬性詳細資料

default

是否要將此版本設為預設。 預設為 False。

default?: boolean

屬性值

boolean

files

技能檔案要上傳。 上傳一個壓縮檔或多個帶有相對路徑的獨立檔案。

files: (FileContents | { contentType?: string, contents: FileContents, filename?: string })[]

屬性值

(FileContents | { contentType?: string, contents: FileContents, filename?: string })[]