Is is possible to sort by created_at

新規投稿

コメント

4件のコメント

  • Alex Novotny

    You should be able to sort by any of the fields identified in the query parameter description. Are you seeing an error? What endpoint are you using?

    Thanks, 

    Alex, Box Developer Advocate

    0
    コメントアクション パーマリンク
  • 菊池 裕之

    Alex Novotny

    Thank you for your help

    > You should be able to sort by any of the fields that are returned in the response. Are you seeing an error? What endpoint are you using?

     I used https://{{api.box.com}}/2.0/folders/:folder_id/items

    You mean, response will be sort by created_at even though this api??

    I could see that response will be sorted by modificted_by when I set date in sort request parameter

    Could you tell me the set how to sort by created_at if this api has abitity to sort by created_at??

    0
    コメントアクション パーマリンク
  • Alex Novotny

    I see what you mean! Yes. You can input `date` but cannot clarify what date type to use. Hmm. Let me reach out to someone internally and get back to you! 

    0
    コメントアクション パーマリンク
  • 菊池 裕之

    Alex Novotny

    Thank you for you quick message. I'll wait your survey

    Anyway, from my viewpoint, It seems that id might be generated in order of created_at

    Is it correct?? If this so, I'll use id instead of date for sort parameter

    0
    コメントアクション パーマリンク

投稿コメントは受け付けていません。