Files Connect Repository File
- リソース
-
1/connect/content-hub/repositories/repositoryId/files/repositoryFileId1/connect/communities/communityId/content-hub/repositories/repositoryId/files/repositoryFileId - 使用可能なバージョン
- 32.0
コミュニティリソースは、バージョン 35.0 以降で使用できます。
- Chatter が必要かどうか
- いいえ
- HTTP メソッド
- GET、HEAD、PATCH
PATCH はバージョン 35.0 以降でサポートされます。
- GET の要求パラメータ
-
名前 型 説明 必須項目/省略可能 使用可能なバージョン includeExternalFilePerimissionsInfo Boolean ファイルを共有するかどうか、使用可能な権限タイプなどの権限情報を含めるかどうかを指定します。 外部ファイル権限の管理は、Google ドライブ、SharePoint Online、OneDrive for Business でサポートされています。
省略可能 36.0 - PATCH のリクエストボディ
-
- ルート XML タグ
- <contentHubInputItem>
- JSON の例
-
1{ 2 "itemTypeId" : "GoogleDocument", 3 "fields" : [ 4 { 5 "name" : "title", 6 "value" : "Content Hub Simple Create Specs" 7 }, 8 { 9 "name" : "description", 10 "value" : "Document explaining the various connect api endpoints required for simple create" 11 }] 12} - プロパティ
-
名前 型 説明 必須項目/省略可能 使用可能なバージョン fields Files Connect Field Value Input[] 作成する項目のリスト。 ファイル名は必須であるためリポジトリに SharePoint ファイルを作成する場合は必須、それ以外の場合は省略可能 35.0 itemTypeId String 項目種別の ID。 リポジトリにファイルを作成する場合は必須 35.0
- GET および PATCH のレスポンスボディ
- Repository File Detail