Server API - Get Watch Folder Source

Last Updated: Dec 16, 2014 03:22PM PST
Returns details for the specified source associated with the specified watch folder.

Base URI /api/watchfolders/{folderId}/sources/{sourceId}/
Protocol HTTP
Response Formats XML, JSON
Help URL /api/watchfolders/help/operations/GetWatchFolderSource

Common Parameters
Name Required Description
folderId Yes Unique ID for the watch folder
sourceId Yes Unique Source ID for the source

Request Data Fields

Response Data Fields
Name Data Type Required Description

SourceMediaInfo Element Yes Element contains data describing a watch folder source location (XML)
Created DateTime Private Date and time (GMT) that the source record was created
CredentialId GUID No Optional ID of a stored credential set to use to access the source
FileName String No The file name will be treated as a folder if it ends with a slash (/) for watch folders.
FileSize Long No Not used with watch folders
FileUri String No File Uri is the fully specified URI to the source file or location. Supported sources are ftp://, sftp://, s3://, azureblob:// and file://
JobId Guid Private Not used with watch folders
Modified DateTime Private Date and time the source has been modified, if any
Password String No Password to access secure source if the
CredentialId is not used
S3BucketName String Obsolete Name of the S3 bucket with the source. Required if the type is S3
SourceId Guid Private Unique ID for the source record
Type Enumeration Obsolete Type of source. The source can be: 0: Undefined – Not Set 1: Uri – Source is defined by a URI 2: S3 – Source is on Amazon S3
UserName String No Username for accessing a secured source location or file and when not using CredentialId
WatchFolderId Guid Private Unique ID of the watch folder to which this source belongs

Example cURL call:
curl -H "Accept: application/xml" -H "Content-Type: application/xml" -H "x-Authorization: Basic
YWRtaW46YWRtaW4=" -X GET http://<host>/api/watchfolders/<WatchFolder_GUID/sources/<Source_GUID>/
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found