I think "Object with fields" will have more readability as we can retrieve
particular info from key instead of index.

On Aug 19, 2016 11:59 AM, "Maxim Solodovnik" <solomax...@gmail.com> wrote:
>
> yep it is OK :)
> Thanks
>
> how would you like to get revision and build date?
> as Object with fields
> {
>   version: 3.1.3-SNAPSHOT,
>   revision: xxxxxxxxxx,
>   buildDate: 2016-08-19
> }
>
> as (list of Strings)
> ["3.1.3-SNAPSHOT", "xxxxxxxxxx", "2016-08-19"]
>
> via additional method(s) ?
>
> On Fri, Aug 19, 2016 at 1:20 PM, Bhushan Patil <thebhushanpa...@gmail.com>
wrote:
>>
>> Hi Maxim, I created the issue, will you check it and see if it is
correctly done?
>>
>> On Aug 19, 2016 9:56 AM, "Maxim Solodovnik" <solomax...@gmail.com> wrote:
>> >
>> > Service is ready to be committed :)
>> > waiting for the issue :)))
>> >
>> > On Fri, Aug 19, 2016 at 11:10 AM, Bhushan Patil <
thebhushanpa...@gmail.com> wrote:
>> >>
>> >> On Aug 19, 2016 9:33 AM, "Maxim Solodovnik" <solomax...@gmail.com>
wrote:
>> >> >
>> >> > Do you need only version?
>> >> > revision and buildDate can also be retrieved
>> >> Yes, I currently need only version but I think we should also
provided revision n buildDate.
>> >> >
>> >> > On Fri, Aug 19, 2016 at 10:59 AM, Maxim Solodovnik <
solomax...@gmail.com> wrote:
>> >> >>
>> >> >> could you please create JIRA issue?
>> >> Yes, I will create it.
>> >>
>> >>
>> >> >>
>> >> >> On Fri, Aug 19, 2016 at 10:55 AM, Bhushan Patil <
thebhushanpa...@gmail.com> wrote:
>> >> >>>
>> >> >>> Seems great. Thanks.
>> >> >>>
>> >> >>> On Aug 19, 2016 9:21 AM, "Maxim Solodovnik" <solomax...@gmail.com>
wrote:
>> >> >>> >
>> >> >>> > ServerWebService is actually for manging cluster servers ....
>> >> >>> > I'm afraid additional service is required here like
InfoWebService ....
>> >> >>> > with SOAP method getVersion
>> >> >>> > with REST method GET /info/version
>> >> >>> >
>> >> >>> > On Fri, Aug 19, 2016 at 10:48 AM, Bhushan Patil <
thebhushanpa...@gmail.com> wrote:
>> >> >>> >>
>> >> >>> >> How about 'getVersion' or 'getOMVersion' method in
'ServerWebService' ?
>> >> >>> >>
>> >> >>> >> On Aug 19, 2016 9:08 AM, "Maxim Solodovnik" <
solomax...@gmail.com> wrote:
>> >> >>> >> >
>> >> >>> >> > I can add it to 3.1.3, could you propose service name for
this?
>> >> >>> >> >
>> >> >>> >> > On Fri, Aug 19, 2016 at 10:37 AM, Bhushan Patil <
thebhushanpa...@gmail.com> wrote:
>> >> >>> >> >>
>> >> >>> >> >> We are thinking that our soap services invocation code
should be configurable. For example, if detects that OM version is 3.1.2
then don't call getSession method, call directly login method.
>> >> >>> >> >>
>> >> >>> >> >> On Aug 19, 2016 9:01 AM, "Maxim Solodovnik" <
solomax...@gmail.com> wrote:
>> >> >>> >> >> >
>> >> >>> >> >> > hmm the version of OM itself ....
>> >> >>> >> >> > we never has API call for this :(
>> >> >>> >> >> > It can be easily added, but why do you need it?
>> >> >>> >> >> >
>> >> >>> >> >> > On Fri, Aug 19, 2016 at 10:28 AM, Bhushan Patil <
thebhushanpa...@gmail.com> wrote:
>> >> >>> >> >> >>
>> >> >>> >> >> >> Sorry but I couldn't find anything which returns OM
version from the links you provided.
>> >> >>> >> >> >>
>> >> >>> >> >> >> On Aug 19, 2016 8:29 AM, "Maxim Solodovnik" <
solomax...@gmail.com> wrote:
>> >> >>> >> >> >> >
>> >> >>> >> >> >> > I already provide you with number of links to start
with ...
>> >> >>> >> >> >> > do you need more :))
>> >> >>> >> >> >> >
>> >> >>> >> >> >> > On Fri, Aug 19, 2016 at 9:57 AM, Bhushan Patil <
thebhushanpa...@gmail.com> wrote:
>> >> >>> >> >> >> >>
>> >> >>> >> >> >> >> So is there any api which I can use get OM version?
If not, please guide me how can I create one.
>> >> >>> >> >> >> >> Thank you.
>> >> >>> >> >> >> >>
>> >> >>> >> >> >> >> On Aug 19, 2016 8:12 AM, "Maxim Solodovnik" <
solomax...@gmail.com> wrote:
>> >> >>> >> >> >> >> >
>> >> >>> >> >> >> >> > yep Moodle plugin as well as PHP API are updated to
work with new REST services as expected
>> >> >>> >> >> >> >> > It also was discussed in mailing lists :)
>> >> >>> >> >> >> >> >
>> >> >>> >> >> >> >> > On Fri, Aug 19, 2016 at 9:36 AM,
seba.wag...@gmail.com <seba.wag...@gmail.com> wrote:
>> >> >>> >> >> >> >> >>
>> >> >>> >> >> >> >> >> Was there a new Moodle plugin issued to be
compatible with this API ?
>> >> >>> >> >> >> >> >>
>> >> >>> >> >> >> >> >> 2016-08-19 12:32 GMT+10:00 Maxim Solodovnik <
solomax...@gmail.com>:
>> >> >>> >> >> >> >> >>>
>> >> >>> >> >> >> >> >>> yep, Swagger :))
>> >> >>> >> >> >> >> >>>
>> >> >>> >> >> >> >> >>> The general flow is the same, I just reduced the
number of requests required (2 against 3) :)
>> >> >>> >> >> >> >> >>> Also new version is more extendable and more
compact :)
>> >> >>> >> >> >> >> >>>
>> >> >>> >> >> >> >> >>> On Fri, Aug 19, 2016 at 9:29 AM,
seba.wag...@gmail.com <seba.wag...@gmail.com> wrote:
>> >> >>> >> >> >> >> >>>>
>> >> >>> >> >> >> >> >>>> Swagger you mean. Yeah that is a really good
idea. Especially to get a proper API document out. With Swagger you can
embed example request and responses a lot more easy.
>> >> >>> >> >> >> >> >>>>
>> >> >>> >> >> >> >> >>>> "Actually everything was changed"
>> >> >>> >> >> >> >> >>>> =>I understand the framework and method
signatures have changed. But the logical flow is the same.
>> >> >>> >> >> >> >> >>>>
>> >> >>> >> >> >> >> >>>> Thanks,
>> >> >>> >> >> >> >> >>>> Sebastian
>> >> >>> >> >> >> >> >>>>
>> >> >>> >> >> >> >> >>>>
>> >> >>> >> >> >> >> >>>> 2016-08-19 11:31 GMT+10:00 Maxim Solodovnik <
solomax...@gmail.com>:
>> >> >>> >> >> >> >> >>>>>
>> >> >>> >> >> >> >> >>>>> JFYI:
http://cxf.markmail.org/thread/tmarv3xwewgemiut
>> >> >>> >> >> >> >> >>>>>
>> >> >>> >> >> >> >> >>>>> On Fri, Aug 19, 2016 at 8:24 AM, Maxim
Solodovnik <solomax...@gmail.com> wrote:
>> >> >>> >> >> >> >> >>>>>>
>> >> >>> >> >> >> >> >>>>>> I need help from community to document this
>> >> >>> >> >> >> >> >>>>>> I have no time to write code otherwise :((((
>> >> >>> >> >> >> >> >>>>>>
>> >> >>> >> >> >> >> >>>>>> Additionally I was thinking about add Swanger
to REST ....
>> >> >>> >> >> >> >> >>>>>>
>> >> >>> >> >> >> >> >>>>>> On Fri, Aug 19, 2016 at 8:23 AM, Maxim
Solodovnik <solomax...@gmail.com> wrote:
>> >> >>> >> >> >> >> >>>>>>>
>> >> >>> >> >> >> >> >>>>>>> Actually everything was changed
>> >> >>> >> >> >> >> >>>>>>>
>> >> >>> >> >> >> >> >>>>>>> 0) Axis was removed in favor of CXF
>> >> >>> >> >> >> >> >>>>>>> 1) services were split to multiple groups
error, user, group, room recording etc.
>> >> >>> >> >> >> >> >>>>>>> 2) method signatures were cleaned up
>> >> >>> >> >> >> >> >>>>>>> 3) REST methods are works with JSON now (and
produces both XML and JSON)
>> >> >>> >> >> >> >> >>>>>>> 4) REST methods uses GET/POST/DELETE (I
haven't added PUT)
>> >> >>> >> >> >> >> >>>>>>>
>> >> >>> >> >> >> >> >>>>>>>
>> >> >>> >> >> >> >> >>>>>>> On Fri, Aug 19, 2016 at 8:16 AM,
seba.wag...@gmail.com <seba.wag...@gmail.com> wrote:
>> >> >>> >> >> >> >> >>>>>>>>
>> >> >>> >> >> >> >> >>>>>>>> Has it been reworked to fit into the REST
(GET/PUT/POST/DELETE) specification? Is that the change?
>> >> >>> >> >> >> >> >>>>>>>>
>> >> >>> >> >> >> >> >>>>>>>> Cause AFAIK I think the methods/flow are the
same, right ?
>> >> >>> >> >> >> >> >>>>>>>>
>> >> >>> >> >> >> >> >>>>>>>> Thanks,
>> >> >>> >> >> >> >> >>>>>>>> Sebastian
>> >> >>> >> >> >> >> >>>>>>>>
>> >> >>> >> >> >> >> >>>>>>>> 2016-08-19 11:09 GMT+10:00 Maxim Solodovnik <
solomax...@gmail.com>:
>> >> >>> >> >> >> >> >>>>>>>>>
>> >> >>> >> >> >> >> >>>>>>>>> Hello,
>> >> >>> >> >> >> >> >>>>>>>>>
>> >> >>> >> >> >> >> >>>>>>>>> The API was changed (it was discussed here:
http://openmeetings.markmail.org/thread/43d5irskmknn3u6u)
>> >> >>> >> >> >> >> >>>>>>>>> Full API as javadocs available here
http://openmeetings.apache.org/openmeetings-webservice/apidocs/index.html
>> >> >>> >> >> >> >> >>>>>>>>> Short example available here:
http://openmeetings.apache.org/RestAPISample.html
>> >> >>> >> >> >> >> >>>>>>>>> PHP API is here:
https://github.com/openmeetings/openmeetings-api-plugin
>> >> >>> >> >> >> >> >>>>>>>>>
>> >> >>> >> >> >> >> >>>>>>>>> unfortunately there no t much documentation
:(
>> >> >>> >> >> >> >> >>>>>>>>> I have filed issue against this:
https://issues.apache.org/jira/browse/OPENMEETINGS-1451
>> >> >>> >> >> >> >> >>>>>>>>>
>> >> >>> >> >> >> >> >>>>>>>>> suggestions/contributions are welcome :)
>> >> >>> >> >> >> >> >>>>>>>>>
>> >> >>> >> >> >> >> >>>>>>>>> On Fri, Aug 19, 2016 at 2:45 AM, Bhushan
Patil <thebhushanpa...@gmail.com> wrote:
>> >> >>> >> >> >> >> >>>>>>>>>>
>> >> >>> >> >> >> >> >>>>>>>>>> Hello everyone, we have integrated older
version of Openmeetings with our application. At the time of migration to
OM 3.1.2, we realized that api are changed. We want to  keep old code as
well as write new code for newer APIs.
>> >> >>> >> >> >> >> >>>>>>>>>> I am unable to find soap/rest api which
let us know version of Openmeetings.
>> >> >>> >> >> >> >> >>>>>>>>>> Any suggestions?
>> >> >>> >> >> >> >> >>>>>>>>>
>> >> >>> >> >> >> >> >>>>>>>>>
>> >> >>> >> >> >> >> >>>>>>>>>
>> >> >>> >> >> >> >> >>>>>>>>>
>> >> >>> >> >> >> >> >>>>>>>>> --
>> >> >>> >> >> >> >> >>>>>>>>> WBR
>> >> >>> >> >> >> >> >>>>>>>>> Maxim aka solomax
>> >> >>> >> >> >> >> >>>>>>>>
>> >> >>> >> >> >> >> >>>>>>>>
>> >> >>> >> >> >> >> >>>>>>>>
>> >> >>> >> >> >> >> >>>>>>>>
>> >> >>> >> >> >> >> >>>>>>>> --
>> >> >>> >> >> >> >> >>>>>>>> Sebastian Wagner
>> >> >>> >> >> >> >> >>>>>>>> https://twitter.com/#!/dead_lock
>> >> >>> >> >> >> >> >>>>>>>> seba.wag...@gmail.com
>> >> >>> >> >> >> >> >>>>>>>
>> >> >>> >> >> >> >> >>>>>>>
>> >> >>> >> >> >> >> >>>>>>>
>> >> >>> >> >> >> >> >>>>>>>
>> >> >>> >> >> >> >> >>>>>>> --
>> >> >>> >> >> >> >> >>>>>>> WBR
>> >> >>> >> >> >> >> >>>>>>> Maxim aka solomax
>> >> >>> >> >> >> >> >>>>>>
>> >> >>> >> >> >> >> >>>>>>
>> >> >>> >> >> >> >> >>>>>>
>> >> >>> >> >> >> >> >>>>>>
>> >> >>> >> >> >> >> >>>>>> --
>> >> >>> >> >> >> >> >>>>>> WBR
>> >> >>> >> >> >> >> >>>>>> Maxim aka solomax
>> >> >>> >> >> >> >> >>>>>
>> >> >>> >> >> >> >> >>>>>
>> >> >>> >> >> >> >> >>>>>
>> >> >>> >> >> >> >> >>>>>
>> >> >>> >> >> >> >> >>>>> --
>> >> >>> >> >> >> >> >>>>> WBR
>> >> >>> >> >> >> >> >>>>> Maxim aka solomax
>> >> >>> >> >> >> >> >>>>
>> >> >>> >> >> >> >> >>>>
>> >> >>> >> >> >> >> >>>>
>> >> >>> >> >> >> >> >>>>
>> >> >>> >> >> >> >> >>>> --
>> >> >>> >> >> >> >> >>>> Sebastian Wagner
>> >> >>> >> >> >> >> >>>> https://twitter.com/#!/dead_lock
>> >> >>> >> >> >> >> >>>> seba.wag...@gmail.com
>> >> >>> >> >> >> >> >>>
>> >> >>> >> >> >> >> >>>
>> >> >>> >> >> >> >> >>>
>> >> >>> >> >> >> >> >>>
>> >> >>> >> >> >> >> >>> --
>> >> >>> >> >> >> >> >>> WBR
>> >> >>> >> >> >> >> >>> Maxim aka solomax
>> >> >>> >> >> >> >> >>
>> >> >>> >> >> >> >> >>
>> >> >>> >> >> >> >> >>
>> >> >>> >> >> >> >> >>
>> >> >>> >> >> >> >> >> --
>> >> >>> >> >> >> >> >> Sebastian Wagner
>> >> >>> >> >> >> >> >> https://twitter.com/#!/dead_lock
>> >> >>> >> >> >> >> >> seba.wag...@gmail.com
>> >> >>> >> >> >> >> >
>> >> >>> >> >> >> >> >
>> >> >>> >> >> >> >> >
>> >> >>> >> >> >> >> >
>> >> >>> >> >> >> >> > --
>> >> >>> >> >> >> >> > WBR
>> >> >>> >> >> >> >> > Maxim aka solomax
>> >> >>> >> >> >> >
>> >> >>> >> >> >> >
>> >> >>> >> >> >> >
>> >> >>> >> >> >> >
>> >> >>> >> >> >> > --
>> >> >>> >> >> >> > WBR
>> >> >>> >> >> >> > Maxim aka solomax
>> >> >>> >> >> >
>> >> >>> >> >> >
>> >> >>> >> >> >
>> >> >>> >> >> >
>> >> >>> >> >> > --
>> >> >>> >> >> > WBR
>> >> >>> >> >> > Maxim aka solomax
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >> > --
>> >> >>> >> > WBR
>> >> >>> >> > Maxim aka solomax
>> >> >>> >
>> >> >>> >
>> >> >>> >
>> >> >>> >
>> >> >>> > --
>> >> >>> > WBR
>> >> >>> > Maxim aka solomax
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> WBR
>> >> >> Maxim aka solomax
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > WBR
>> >> > Maxim aka solomax
>> >
>> >
>> >
>> >
>> > --
>> > WBR
>> > Maxim aka solomax
>
>
>
>
> --
> WBR
> Maxim aka solomax

Reply via email to