About Search

About Search

Contents

Introduction

Use search method to search for files or folder in the user’s Personal Cloud Storage account.

Search by Extension

This code sample lists all files with a jpg extension.

Code Sample

files, folders = cloud.search(query='extension:jpg')

Search for Content

This code sample lists all audio files by specifying content type of audio/mpeg.

Code Sample

files, folders = cloud.search(query='contentType:audio/mpeg')

Search for Recent Updates

You can use this code sample to search for recently updated files by specifying versionCreated. versionCreated lists the date and time of the last change to the file.

Code Sample

files, folders = cloud.search(query='file:true', sort='versionCreated+desc')

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.