microsoftgraph / microsoftgraph/msgraph-sdk-java

Not able to publish a SharePoint page, so created page is stuck in "Checked out"

オープン
#1,962 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Java
スター
444
フォーク
154
平均マージ
18時間 28分
マージ済み PR(30日)
4

説明

Expected behavior

Based on the API documentation here:
https://learn.microsoft.com/en-us/graph/api/sitepage-publish?view=graph-rest-1.0

I would expect this code to compile:

client.sites().bySiteId(ms.getSiteId()).pages()
	.byBaseSitePageId("0eb44212-1667-41bb-b200-d41689ffddc8")
	.graphSitePage()
	.publish();
Actual behavior

I can only do a GET from the graphSitePage point in the SDK, there is no publish() method.

Steps to reproduce the behavior

Use the POST to create a site page and then try to publish it via the SDK.
This is important because I used a app client secret, not myself, so I can't "see" the page in the Sharepoint UI when I log in as myself.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

例に示されている graphSitePage SDK のエントリポイントから始め、src/test/java/com/microsoft/graph/functional 配下の機能テストを確認してください。利用可能な操作を、文書化されている site-page publish endpoint と比較してください。作成したページの公開を Java SDK がサポートし、その操作を対象とするテストがあることが完了の条件です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
api
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。