Announcement

Collapse
No announcement yet.

HTTP API shared folder

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Can you see the folder in the GUI? If yes, compare the request which the GUI makes to your request.

    Comment


    • #3
      Thanks Viktor,

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

      Comment

      Working...
      X