Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 3 of 3
  1. #1
    enzbang Guest

    Default HTTP API shared folder

    Hello,

    I'm trying to read shared folders content with the HTTP API without success.

    Listing all root folder I get:

    Code:
    {"data":[[1,"Private folders","system"],[2,"Public folders","system"],[3,"Shared folders","system"],[9,"I
    nfostore","infostore"]],"timestamp":1266331011825}
    Then I can see all folders inside "Shared folders" but when trying to access to a subfolder (here folder 3->82):

    Code:
    https://xchange.eu.adacore.com/ajax/folders?action=list
    with parent=82
    I get an error message:

    Code:
    {"code":"APP-0013","error_id":"-702655763-171456","category":3,"error_params":[],"error":"You do not have
     the necessary permissions"}
    What's wrong here ?

    Thanks in advance for you help,

    Olivier

  2. #2
    Join Date
    Feb 2007
    Posts
    253

    Default

    Can you see the folder in the GUI? If yes, compare the request which the GUI makes to your request.

  3. #3
    enzbang Guest

    Default

    Thanks Viktor,

    I didn't know that it the web interface was using the same API. That's very easy now !

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •