新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

Fetching particular Folder items (for type=file) after a specific date.

新規投稿

コメント

3件のコメント

  • Rui Barbosa

    Hi,

    This can have multiple reasons, none of them related with "doing something wrong", and it could be as simple as ehe user that created the developer token does not have access to the file.

    So if you just search the content of the parent folder (without any more parameters), does it list the file?

    if so this means the search parameters are incorrect or the search hasn't indexed the file (unlikely if the file has not been created in the last few minutes).

    If you list the contents of the folder (as opposed to search) does it list the file? 

    If not this means the user associated with the API token does not have permissions to access the file.

    Let us know.

    0
    コメントアクション Permalink
  • Box User

    Okay, 
    I checked user have access to this file.
    I am getting this file when I list the item of the file using folder id.

    If u think search parameters were incorrect. 
    please point out where I am doing it wrong.
    The API call was : 

    https://api.box.com/2.0/search?query=Autotest&ancestor_folder_ids=190051656573&fields=id,name&type=file&updated_at_range=2021-05-15T13:35:01-07:00,2023-01-20T13:35:01-07:00

    Please let me know.

    0
    コメントアクション Permalink
  • Rui Barbosa

    It looks fine to me.

    If you apply that type of filter to any other content, does it find it?

    0
    コメントアクション Permalink

サインインしてコメントを残してください。