How to get FileId if you only have the File Name?
How does one use the API to get the FileId if all that you have is the File Name?
-
I'm not sure how to do this but here's an example with search..
var adminAPIClient = sdk.getAppAuthClient('enterprise', ENTERPRISE_ID); adminAPIClient.search.query( 'Test', { fields: 'id,name', limit: 200, offset: 0 }, function (err, data) { data.entries.forEach(function(file) { console.log(file.id + " " + file.name); }, this); } );
サインインしてコメントを残してください。
コメント
1件のコメント