Share via


SP.File.getContentVerFromTag Method (sp.js)

Reserved for internal use only. This method exposes the internal ContentVersion value inside of a ContentTag.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.File.getContentVerFromTag(context)

Parameters

  • context

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/folders/getbyurl(folderrelativeurl)/files/getbyurl(filerelativeurl)/getContentVerFromTag(context)

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/web/folders/getbyurl(folderrelativeurl)/files/getbyurl(filerelativeurl)/getContentVerFromTag(context)

Resource parameters

  • context