2 Replies Latest reply on Oct 14, 2009 5:08 PM by Matt Bucknam

    Rest Interface path examples

    Matt Bucknam Newbie

      I was wondering if anyone could post examples of pulling items out of the example repository using the Rest interface? I rebuilt the Rest war using the repository and workspace, and data from the examples (Aircraft, Cars, Vehicles, etc) and can query it fine out to http://.../items but I can't seem to figure out what the path should be like. For example to retrieve an aircraft or a car and/or some or all of the properties of each?

      Some examples that work for me:

      http://localhost:8080/resources
      http://localhost:8080/resources/Vehicles/virtual/items
      http://localhost:8080/resources/Cars/workspace1/items
      http://localhost:8080/resources/Aircraft/workspace2/items

      Can't seem to add a {path} element to the end of the uri which I know is because I don't know what I'm doing. Help...