Re: In-depth REST documentation

2018-02-09 Thread PeeDub
It is a useful tool, but I have found that none of the sample calls ever work. For instance, to create a new user, the sample JSON does not have the @class property, which is required. -- Sent from: http://syncope-user.1051894.n5.nabble.com/

Re: In-depth REST documentation

2018-02-09 Thread Andrea Patricelli
I think that swagger is the best choice to find out the correct JSON request body. For example, to make user self operations, use [1]. Click on your preferred operation (UserSelf) and then click on top right "Try it out" button. You'll find some sample well-formed JSON values. You should

Re: In-depth REST documentation

2018-02-09 Thread PeeDub
I am aware of those resources. Of note is that documentation: - does not describe what fields are required and which are optional - does not mention requied fields such as "@class" - does not list values for certain constrained fields (such as "type") I am guessing that this list is my best hope

Re: In-depth REST documentation

2018-02-09 Thread Andrea Patricelli
Hi, please take a look at [1] and especially to swagger extension [2]. You can also be interested in Syncope playground environment at [3] and [4]. HTH, Andrea [1] https://syncope.apache.org/docs/index.html [2] https://syncope.apache.org/docs/reference-guide.html#swagger [3]