SP へWeb.registerPushNotificationSubscriber 方法 (sp.js)

サイト コレクション クォータで指定されている最大ディスク領域に対する、サイト コレクションで現在使用されているディスク領域の合計容量の割合を示す値を取得します。

**適用対象:**apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.Web.registerPushNotificationSubscriber()

パラメーター

  • deviceAppInstanceId
    デバイスのアプリのインスタンス識別子です。

  • serviceToken
    デバイス通知を受信する通知サービスによって提供されるトークンです。

戻り値

SP.PushNotificationSubscriber

登録済みのプッシュ通知の購読します。

注釈

serviceTokenパラメーター nullことはできません。空でなければなりません。

他のリソースのエンドポイント

詳細については、 Web リソースを参照してください。

エンドポイント URI 構造

http://<sitecollection>/<site>/_api/web/registerPushNotificationSubscriber(deviceAppInstanceId,serviceToken)

HTTP 要求

このリソースには、次の HTTP コマンドがサポートしています。

  • 投稿

投稿の書式

POST http://<sitecollection>/<site>/_api/web/registerPushNotificationSubscriber(deviceAppInstanceId,serviceToken)

リソースのパラメーター

  • deviceAppInstanceId

  • serviceToken