microsoftgraph / microsoftgraph/msgraph-sdk-java
Missing endpoint eDiscoveryHoldPolicy
還沒有人認領這個 Issue。
- 主要語言
- Java
- 星號
- 444
- 分支
- 154
- 平均合併
- 18 小時 28 分鐘
- 30 天內合併 PR
- 4
描述
Describe the bug
I am trying to create a Hold Policy in Purview eDiscovery, but the required methods are not present in the SDK. The documentation for v1.0 says that there is an /legalHolds endpoint under the ediscoveryCases resource and this endpoint can be used with direct HTTP calls, but the SDK does not contain the necessary classes to use it via the Java SDK. The beta SDK, however, does contain these classes.
Expected behavior
A LegalHolds class/method in the Java SDK to be able to use the /security/cases/ediscoveryCases/{ediscoveryCaseId}/legalHolds endpoint as described in the documentation for v1.0
How to reproduce
There is no legalholds subpackage in the current ediscovery package.
In the beta tree it exists, even though it is also a v1.0 endpoint
client.security().cases().ediscoveryCases()
.byEdiscoveryCaseId(purviewCaseId)
.legalHolds() // <<--- Error here, method not found
.byEdiscoveryHoldPolicyId(holdPolicyId)
.userSources().get();
SDK Version
6.65.0
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Configuration
No response
Other information
No response
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先,比對 src/main/java/com/microsoft/graph/generated/security/cases/ediscoverycases/item 下目前的 v1.0 路徑與對應路徑下的 beta legalholds 套件。確認 v1.0 SDK 暴露了 issue 中描述的 legalHolds 端點以及 byEdiscoveryHoldPolicyId().userSources() 鏈結。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- api
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 冷清
- 描述清晰度
- 描述清楚
- 新手友好度
- 68/100