Endpoint to get Files inside Folder?

Hi,

Is there any endpoint to get the files inside of a folder?

I tried using /folders/{folderid}/items but this only give me the folders inside folder.

Ultimately, I am trying to get the itemIDs of the files to be used in the custom code we are writing so that we can open the files in the Home page.

Parents
  • 0
    Thomson Reuters Thomson Reuters staff member

    Hi,

    To retrieve the files within a folder, please use the following endpoint.

    curl 'developers.thomsonreuters.com/.../files'

    Endpoint: /files?q="folderid=1"



    Thanks.

  • Hi Rakesh,

    Thanks for the quick response. I've looked into this further, and I have a few follow-up questions.

    I'm currently using the isheet/{isheetid}/items endpoint to extract data from an iSheet. Within this data, there's a Relevant Files attachment column that contains attached files. The ID I'm getting from this column appears to be the attachment ID, not the file ID itself.

    Is there a way to retrieve the actual file ID directly from the iSheet endpoint?

    My goal is to use the attachment columns within the iSheet to build a custom UI for the user. I was initially trying to save all attachments to a folder and then use a folder link column to get the file IDs. However, I'd prefer a more direct method that doesn't require creating a separate folder and folder link column for every case. Any alternative method for getting the file IDs from the attachments would be very helpful.

  • 0
    Thomson Reuters Thomson Reuters staff member
    in reply to Alex Muscina

    Hi,

    Sure, we will look into this.

    Thank you.

  • Reply
    • 0
      Thomson Reuters Thomson Reuters staff member
      in reply to Alex Muscina

      Hi,

      Sure, we will look into this.

      Thank you.

    Children
    No Data