add document to source control Method

Applies to: SharePoint Foundation 2010

Adds a file to a source control database.

method=add document to source control:server_extension_version 
&service_name=/&document_name=service_based_path/file_name 
[&validateWelcomeNames=(true|false)]

Parameters

service_name Parameter

document_name Parameter

validateWelcomeNames Parameter

Decoded

POST /site_url/_vti_bin/_vti_aut/author.dll HTTP/1.0
.
.
.
method=add+document+to+source+control:6.0.n.nnnn
&service_name=/
&document_name=file_name

See Also

Concepts

Server Versions for SharePoint Foundation