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

Search within a folder using tags - API

回答済み
新規投稿

コメント

4件のコメント

  • mwiller

     You should be able to use the Search API to do this — something like the following should do what you want (just replace the ALL_CAPS parts with your parameters):

     

    curl -H "Authorization: Bearer ACCESS_TOKEN" https://api.box.com/2.0/search?query=TAG_NAME&content_types=tags&ancestor_folder_ids=FOLDER_ID
    0
    コメントアクション Permalink
  • rogerwith

     Thank you,

     

    Tried the code and it worked until certain point, which it will not recognize "ancestor_folder_ids". 

    but thank you again you gave me a way out!

     

    ancestor_folders_ids.png

     

     

     

    0
    コメントアクション Permalink
  • phil-northcott

    This didn't work for us.  Is there some documentation on exactly how these strings are supposed to be formed?   

    Ideally we're looking for a regex or sql type search into tag contents (or metadata contents) 

    0
    コメントアクション Permalink
  • azndoodle

    Is there confirmation that it's work again?

    0
    コメントアクション Permalink

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