SP へFileVersion オブジェクト (sp.js)

の SP のバージョンを表しますファイルオブジェクトです。

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

var object = new SP.FileVersion()

メンバー

FileVersionオブジェクトでは、次のメンバーがあります。

Constructor

FileVersionオブジェクトでは、次のコンスがあります。

コンストラクター

説明

FileVersion

Initializes a new instance of the SP.FileVersion object.

メソッド

FileVersionオブジェクトでは、次の方法があります。

メソッド

説明

deleteObject

initPropertiesFromJson

プロパティ

FileVersionオブジェクトでは、次のプロパティがあります。

プロパティ

説明

checkInComment

Gets a value that specifies the check-in comment.

作成しました。

Gets a value that specifies the creation date and time for the file version.

createdBy

Gets a value that specifies the user that represents the creator of the file version.

id

Gets the internal identifier for the file version.

isCurrentVersion

Gets a value that specifies whether the file version is the current version.

サイズ

url

Gets a value that specifies the relative URL of the file version based on the URL for the site or subsite.

versionLabel

Gets a value that specifies the implementation specific identifier of the file.

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

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

エンドポイント URI 構造

http://<sitecollection>/<site>/_api/web/folders/getbyurl(folderrelativeurl)/files/getbyurl(filerelativeurlfilerelativeurl})/versions(versionid

HTTP 要求

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

書式を削除します。

DELETE http://<sitecollection>/<site>/_api/web/folders/getbyurl(folderrelativeurl)/files/getbyurl(filerelativeurlfilerelativeurl})/versions(versionid

投稿の書式

POST http://<sitecollection>/<site>/_api/web/folders/getbyurl(folderrelativeurl)/files/getbyurl(filerelativeurlfilerelativeurl})/versions(versionid