Add a REST API to XWiki Notifications

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Add a REST API to XWiki Notifications

nikos delis
Hi all,
I am new on this mailist and thanks for the invite.I have do proposal for
Add a Rest API to XWiki Notifications.
mr Clément Aubin came into contact with me with some helpful links to
understand how notifications is impliment on Xwiki platform and how
notifications works.I see that you have a complete Notificaton API that
works perfect for Xwiki platform therefore you want to make a  REST API to
take notifications from other platforms to Xwiki platform? I understood
this from the speech .Second REST API will be created from scratch? or will
build up on the existing?
Thanks for reading

Nikos.
Reply | Threaded
Open this post in threaded view
|

Re: Add a REST API to XWiki Notifications

vmassol
Administrator
Hi Nikos,

Is this related to a GSOC project? If so, could you provide the link to this GSOC project so that we can understand the context?

This mailing list is for the dev of the XWiki project and not everyone know by heart about the various GSOC projects.

> On 27 Mar 2018, at 16:09, nikos delis <[hidden email]> wrote:
>
> Hi all,
> I am new on this mailist and thanks for the invite.I have do proposal for
> Add a Rest API to XWiki Notifications.
> mr Clément Aubin came into contact with me with some helpful links to
> understand how notifications is impliment on Xwiki platform and how
> notifications works.I see that you have a complete Notificaton API that
> works perfect for Xwiki platform therefore you want to make a  REST API to
> take notifications from other platforms to Xwiki platform? I understood
> this from the speech .Second REST API will be created from scratch? or will
> build up on the existing?
> Thanks for reading
>
> Nikos.

Thanks
-Vincent


Reply | Threaded
Open this post in threaded view
|

Re: Add a REST API to XWiki Notifications

nikos delis
Yes sure Mr Vincent Massol
here is the link : Add a REST API to XWiki Notifications
<http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/AddaRESTAPItoXWikiNotifications>

2018-03-27 17:11 GMT+03:00 Vincent Massol <[hidden email]>:

> Hi Nikos,
>
> Is this related to a GSOC project? If so, could you provide the link to
> this GSOC project so that we can understand the context?
>
> This mailing list is for the dev of the XWiki project and not everyone
> know by heart about the various GSOC projects.
>
> > On 27 Mar 2018, at 16:09, nikos delis <[hidden email]> wrote:
> >
> > Hi all,
> > I am new on this mailist and thanks for the invite.I have do proposal for
> > Add a Rest API to XWiki Notifications.
> > mr Clément Aubin came into contact with me with some helpful links to
> > understand how notifications is impliment on Xwiki platform and how
> > notifications works.I see that you have a complete Notificaton API that
> > works perfect for Xwiki platform therefore you want to make a  REST API
> to
> > take notifications from other platforms to Xwiki platform? I understood
> > this from the speech .Second REST API will be created from scratch? or
> will
> > build up on the existing?
> > Thanks for reading
> >
> > Nikos.
>
> Thanks
> -Vincent
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Add a REST API to XWiki Notifications

vmassol
Administrator
Hi Nikos,

> On 27 Mar 2018, at 16:14, nikos delis <[hidden email]> wrote:
>
> Yes sure Mr Vincent Massol
> here is the link : Add a REST API to XWiki Notifications
> <http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/AddaRESTAPItoXWikiNotifications>

ok cool, I’ve just read it now :)

see below

> 2018-03-27 17:11 GMT+03:00 Vincent Massol <[hidden email]>:
>
>> Hi Nikos,
>>
>> Is this related to a GSOC project? If so, could you provide the link to
>> this GSOC project so that we can understand the context?
>>
>> This mailing list is for the dev of the XWiki project and not everyone
>> know by heart about the various GSOC projects.
>>
>>> On 27 Mar 2018, at 16:09, nikos delis <[hidden email]> wrote:
>>>
>>> Hi all,
>>> I am new on this mailist and thanks for the invite.I have do proposal for
>>> Add a Rest API to XWiki Notifications.
>>> mr Clément Aubin came into contact with me with some helpful links to
>>> understand how notifications is impliment on Xwiki platform and how
>>> notifications works.I see that you have a complete Notificaton API that
>>> works perfect for Xwiki platform therefore you want to make a  REST API
>> to
>>> take notifications from other platforms to Xwiki platform?

Correct, the idea is to be able to access notifications information from outside of XWiki using this new REST API for notifications.

>>> I understood
>>> this from the speech .Second REST API will be created from scratch? or
>> will
>>> build up on the existing?

From scratch since I don’t think there’s any existing Notifications REST API.

But it should use JAXRS and the fwk we already use. See:
* http://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/XWikiRESTfulAPI
* https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-rest

Thanks!
-Vincent

>>> Thanks for reading
>>>
>>> Nikos.
>>
>> Thanks
>> -Vincent
>>
>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: Add a REST API to XWiki Notifications

nikos delis
i have read this articles  :Notifications API
<http://extensions.xwiki.org/xwiki/bin/view/Extension/Notifications%20API/>
and this : Notifications Applications
<http://extensions.xwiki.org/xwiki/bin/view/Extension/Notifications%20Application/>
So you have an API that is not REST and want to make REST from scratch
along with new additions?

Thanks

2018-03-27 17:18 GMT+03:00 Vincent Massol <[hidden email]>:

> Hi Nikos,
>
> > On 27 Mar 2018, at 16:14, nikos delis <[hidden email]> wrote:
> >
> > Yes sure Mr Vincent Massol
> > here is the link : Add a REST API to XWiki Notifications
> > <http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/
> AddaRESTAPItoXWikiNotifications>
>
> ok cool, I’ve just read it now :)
>
> see below
>
> > 2018-03-27 17:11 GMT+03:00 Vincent Massol <[hidden email]>:
> >
> >> Hi Nikos,
> >>
> >> Is this related to a GSOC project? If so, could you provide the link to
> >> this GSOC project so that we can understand the context?
> >>
> >> This mailing list is for the dev of the XWiki project and not everyone
> >> know by heart about the various GSOC projects.
> >>
> >>> On 27 Mar 2018, at 16:09, nikos delis <[hidden email]> wrote:
> >>>
> >>> Hi all,
> >>> I am new on this mailist and thanks for the invite.I have do proposal
> for
> >>> Add a Rest API to XWiki Notifications.
> >>> mr Clément Aubin came into contact with me with some helpful links to
> >>> understand how notifications is impliment on Xwiki platform and how
> >>> notifications works.I see that you have a complete Notificaton API that
> >>> works perfect for Xwiki platform therefore you want to make a  REST API
> >> to
> >>> take notifications from other platforms to Xwiki platform?
>
> Correct, the idea is to be able to access notifications information from
> outside of XWiki using this new REST API for notifications.
>
> >>> I understood
> >>> this from the speech .Second REST API will be created from scratch? or
> >> will
> >>> build up on the existing?
>
> From scratch since I don’t think there’s any existing Notifications REST
> API.
>
> But it should use JAXRS and the fwk we already use. See:
> * http://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/
> XWikiRESTfulAPI
> * https://github.com/xwiki/xwiki-platform/tree/master/
> xwiki-platform-core/xwiki-platform-rest
>
> Thanks!
> -Vincent
>
> >>> Thanks for reading
> >>>
> >>> Nikos.
> >>
> >> Thanks
> >> -Vincent
> >>
> >>
> >>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Add a REST API to XWiki Notifications

Paul Libbrecht-2
This project is cool.
Could it bring us RocketChat and RiotIM notifications for every server? Or even SMS?
Should there be both push and pull models of the API? (has there been something since X? Can you call Y when something happens?).

paul

On 27 Mar 2018, at 16:28, nikos delis wrote:

> i have read this articles  :Notifications API
> <http://extensions.xwiki.org/xwiki/bin/view/Extension/Notifications%20API/>
> and this : Notifications Applications
> <http://extensions.xwiki.org/xwiki/bin/view/Extension/Notifications%20Application/>
> So you have an API that is not REST and want to make REST from scratch
> along with new additions?
>
> Thanks
>
> 2018-03-27 17:18 GMT+03:00 Vincent Massol <[hidden email]>:
>
>> Hi Nikos,
>>
>>> On 27 Mar 2018, at 16:14, nikos delis <[hidden email]> wrote:
>>>
>>> Yes sure Mr Vincent Massol
>>> here is the link : Add a REST API to XWiki Notifications
>>> <http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/
>> AddaRESTAPItoXWikiNotifications>
>>
>> ok cool, I’ve just read it now :)
>>
>> see below
>>
>>> 2018-03-27 17:11 GMT+03:00 Vincent Massol <[hidden email]>:
>>>
>>>> Hi Nikos,
>>>>
>>>> Is this related to a GSOC project? If so, could you provide the link to
>>>> this GSOC project so that we can understand the context?
>>>>
>>>> This mailing list is for the dev of the XWiki project and not everyone
>>>> know by heart about the various GSOC projects.
>>>>
>>>>> On 27 Mar 2018, at 16:09, nikos delis <[hidden email]> wrote:
>>>>>
>>>>> Hi all,
>>>>> I am new on this mailist and thanks for the invite.I have do proposal
>> for
>>>>> Add a Rest API to XWiki Notifications.
>>>>> mr Clément Aubin came into contact with me with some helpful links to
>>>>> understand how notifications is impliment on Xwiki platform and how
>>>>> notifications works.I see that you have a complete Notificaton API that
>>>>> works perfect for Xwiki platform therefore you want to make a  REST API
>>>> to
>>>>> take notifications from other platforms to Xwiki platform?
>>
>> Correct, the idea is to be able to access notifications information from
>> outside of XWiki using this new REST API for notifications.
>>
>>>>> I understood
>>>>> this from the speech .Second REST API will be created from scratch? or
>>>> will
>>>>> build up on the existing?
>>
>> From scratch since I don’t think there’s any existing Notifications REST
>> API.
>>
>> But it should use JAXRS and the fwk we already use. See:
>> * http://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/
>> XWikiRESTfulAPI
>> * https://github.com/xwiki/xwiki-platform/tree/master/
>> xwiki-platform-core/xwiki-platform-rest
>>
>> Thanks!
>> -Vincent
>>
>>>>> Thanks for reading
>>>>>
>>>>> Nikos.
>>>>
>>>> Thanks
>>>> -Vincent
>>>>
>>>>
>>>>
>>
>>

signature.asc (523 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Add a REST API to XWiki Notifications

nikos delis
Hello Mr Paul Libbrecht
Sure RocketChat and RiotM is open sources too ,its possible to connect this
2 chats with Xwiki notificaton REST API.
I think that must be a push model Notification that is the basic for show
notification messages to user, pull model maybe can be exist for desirable
updates or for reminders...
Nick

2018-03-27 17:55 GMT+03:00 Paul Libbrecht <[hidden email]>:

> This project is cool.
> Could it bring us RocketChat and RiotIM notifications for every server? Or
> even SMS?
> Should there be both push and pull models of the API? (has there been
> something since X? Can you call Y when something happens?).
>
> paul
>
> On 27 Mar 2018, at 16:28, nikos delis wrote:
>
> > i have read this articles  :Notifications API
> > <http://extensions.xwiki.org/xwiki/bin/view/Extension/
> Notifications%20API/>
> > and this : Notifications Applications
> > <http://extensions.xwiki.org/xwiki/bin/view/Extension/
> Notifications%20Application/>
> > So you have an API that is not REST and want to make REST from scratch
> > along with new additions?
> >
> > Thanks
> >
> > 2018-03-27 17:18 GMT+03:00 Vincent Massol <[hidden email]>:
> >
> >> Hi Nikos,
> >>
> >>> On 27 Mar 2018, at 16:14, nikos delis <[hidden email]> wrote:
> >>>
> >>> Yes sure Mr Vincent Massol
> >>> here is the link : Add a REST API to XWiki Notifications
> >>> <http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/
> >> AddaRESTAPItoXWikiNotifications>
> >>
> >> ok cool, I’ve just read it now :)
> >>
> >> see below
> >>
> >>> 2018-03-27 17:11 GMT+03:00 Vincent Massol <[hidden email]>:
> >>>
> >>>> Hi Nikos,
> >>>>
> >>>> Is this related to a GSOC project? If so, could you provide the link
> to
> >>>> this GSOC project so that we can understand the context?
> >>>>
> >>>> This mailing list is for the dev of the XWiki project and not everyone
> >>>> know by heart about the various GSOC projects.
> >>>>
> >>>>> On 27 Mar 2018, at 16:09, nikos delis <[hidden email]>
> wrote:
> >>>>>
> >>>>> Hi all,
> >>>>> I am new on this mailist and thanks for the invite.I have do proposal
> >> for
> >>>>> Add a Rest API to XWiki Notifications.
> >>>>> mr Clément Aubin came into contact with me with some helpful links to
> >>>>> understand how notifications is impliment on Xwiki platform and how
> >>>>> notifications works.I see that you have a complete Notificaton API
> that
> >>>>> works perfect for Xwiki platform therefore you want to make a  REST
> API
> >>>> to
> >>>>> take notifications from other platforms to Xwiki platform?
> >>
> >> Correct, the idea is to be able to access notifications information from
> >> outside of XWiki using this new REST API for notifications.
> >>
> >>>>> I understood
> >>>>> this from the speech .Second REST API will be created from scratch?
> or
> >>>> will
> >>>>> build up on the existing?
> >>
> >> From scratch since I don’t think there’s any existing Notifications REST
> >> API.
> >>
> >> But it should use JAXRS and the fwk we already use. See:
> >> * http://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/
> >> XWikiRESTfulAPI
> >> * https://github.com/xwiki/xwiki-platform/tree/master/
> >> xwiki-platform-core/xwiki-platform-rest
> >>
> >> Thanks!
> >> -Vincent
> >>
> >>>>> Thanks for reading
> >>>>>
> >>>>> Nikos.
> >>>>
> >>>> Thanks
> >>>> -Vincent
> >>>>
> >>>>
> >>>>
> >>
> >>
>
Reply | Threaded
Open this post in threaded view
|

Re: Add a REST API to XWiki Notifications

caubin
Hi

On 03/27/2018 11:10 PM, nikos delis wrote:
> Hello Mr Paul Libbrecht
> Sure RocketChat and RiotM is open sources too ,its possible to connect this
> 2 chats with Xwiki notificaton REST API.
> I think that must be a push model Notification that is the basic for show
> notification messages to user, pull model maybe can be exist for desirable
> updates or for reminders...

For now, we are only using a pull model for notifications in the wiki.
Implementing a push model on top of that would be indeed a cool idea and
cover more use cases, but I'm having doubts about the scope of this and
the REST API project ; WDYT ?

[…]

>>>>>>> On 27 Mar 2018, at 16:09, nikos delis <[hidden email]>
>> wrote:
>>>>>>>
>>>>>>> Hi all,
>>>>>>> I am new on this mailist and thanks for the invite.I have do proposal
>>>> for
>>>>>>> Add a Rest API to XWiki Notifications.
>>>>>>> mr Clément Aubin came into contact with me with some helpful links to
>>>>>>> understand how notifications is impliment on Xwiki platform and how
>>>>>>> notifications works.I see that you have a complete Notificaton API
>> that
>>>>>>> works perfect for Xwiki platform therefore you want to make a  REST
>> API
>>>>>> to
>>>>>>> take notifications from other platforms to Xwiki platform?
>>>>
>>>> Correct, the idea is to be able to access notifications information from
>>>> outside of XWiki using this new REST API for notifications.
>>>>

One cool idea for this project would also be to accept and relay events
sent as REST requests that would then become notifications. This would
allow to introduce notifications in the wiki about another service.

Thanks,
Clément

>>>>>>> I understood
>>>>>>> this from the speech .Second REST API will be created from scratch?
>> or
>>>>>> will
>>>>>>> build up on the existing?
>>>>
>>>> From scratch since I don’t think there’s any existing Notifications REST
>>>> API.
>>>>
>>>> But it should use JAXRS and the fwk we already use. See:
>>>> * http://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/
>>>> XWikiRESTfulAPI
>>>> * https://github.com/xwiki/xwiki-platform/tree/master/
>>>> xwiki-platform-core/xwiki-platform-rest
>>>>
>>>> Thanks!
>>>> -Vincent
>>>>
>>>>>>> Thanks for reading
>>>>>>>
>>>>>>> Nikos.
>>>>>>
>>>>>> Thanks
>>>>>> -Vincent
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Add a REST API to XWiki Notifications

nikos delis
> For now, we are only using a pull model for notifications in the wiki.
> Implementing a push model on top of that would be indeed a cool idea and
> cover more use cases, but I'm having doubts about the scope of this and
> the REST API project ; WDYT ?


First of all sorry for the late,in the last project i worked on we made a
Rest API ,we had  a push notification  model and something like pull
notification model because we created it with firebase notifications and i
think that is not the most completed way.
I think that push model it must be from WebSocket that is more complexity
but is the most completed way.I dont know how much computing resource
"eats" Websocket because i think that must be connected with the app the
whole time.

Something else that i want to ask i have do an acc to try Xwiki platform
and to see how it works the existing one notification system but  in my
bell i dont have notifications option i see instruction to select from my
profile but same...
The notification system that exist is on stable mode?

Nick