OpenMeetings Swagger online for API documentation [OPENMEETINGS-2420]

2021-09-01 Thread seba.wag...@gmail.com
Hi,

I've updated the website and added an automatically generated swagger file
from our Rest Service:
https://openmeetings.apache.org/swagger/

The PR that adds this auto-generation from our WebService definition is
here:
https://github.com/apache/openmeetings/pull/146

There is still a bit of work to do:

   - Make sure each distribution of OpenMeetings also has the updated
   swagger file copied into it
   - Add the swagger-ui browser locally
   - Secure the URL locally by default (similar to what we do to the
   javaDoc, not sure if that is secured or not)

But rather I do that in another PR.

The website is updated, which is good, I think lots of people prefer
swagger to read and browse an API spec over reading a javaDoc these days.
Also you can use this swagger file to auto generate stubs using the
swagger-editor:
https://editor.swagger.io/?url=https://openmeetings.apache.org/swagger/appache-openmeetings-7.0.0-SNAPSHOT-swagger.json

There are probably later also lots of useful annotations that can be
added to make the documentation of our API better too. But that's all
future improvements to do later.

Thanks
Seb

Sebastian Wagner
Director Arrakeen Solutions, OM-Hosting.com
http://arrakeen-solutions.co.nz/
https://om-hosting.com - Cloud & Server Hosting for HTML5
Video-Conferencing OpenMeetings




Re: API documentation

2020-04-19 Thread Maxim Solodovnik
gt;> curl -k -H "Content-Type: application/json"  -X get '
>> https://localhost:5443/openmeetings/services/UserService/login?user=admintest=%211Qay
>> '
>> curl -k -H "Content-Type: application/json"  -X get '
>> https://localhost:5443/openmeetings/services/UserService?user=admintest=%211Qay
>> '
>>
>> I get
>>
>> http://schemas.xmlsoap.org/soap/envelope/;>
>>   
>> 
>>   
>> soap:Server
>>   
>>   
>>  HTTP verb was not GET or POST
>>   
>> 
>>   
>> 
>>
>> *The Browser*
>>
>> https://localhost:5443/openmeetings/services/UserService?user=admintest=%211Qay
>> yields
>>
>> 
>>   
>> 
>>   soap:Server
>> 
>>   No binding operation info while invoking unknown method with
>> params unknown.
>>
>> 
>>   
>> 
>> Best K.
>> which is a bit different but not helpful either
>>
>> Same story with python, so what's wrong with my URL?
>>
>>
>> Best K.
>>
>> Am Sa., 18. Apr. 2020 um 18:06 Uhr schrieb Daniel Baker <
>> i...@collisiondetection.biz>:
>>
>>> And  you can  view  the API  services available on your site:
>>>
>>> https://test.org:5443/openmeetings/services/services
>>> <https://ukom.hopto.org:5443/openmeetings/services/services>
>>>
>>> https://om.alteametasoft.com:8443/next/services/services
>>>
>>>
>>>
>>> On 18/04/2020 15:42, Maxim Solodovnik wrote:
>>>
>>>
>>>
>>> On Sat, 18 Apr 2020 at 19:04, K. Kamhamea 
>>> wrote:
>>>
>>>> The Administration > Configuration Variable *rest.allow.origin* stores
>>>> a list of addresses browser Ajax REST requests can be send. I guess the
>>>> addresses are accepted in IP4. Are other formats allows as well? What
>>>> separator is used? Can IP ranges be specified as well? If so what is the
>>>> accepted syntax?
>>>>
>>>
>>> this config sets "Access-Control-Allow-Origin" you can read docs here
>>>
>>> https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
>>>
>>>
>>>>
>>>> Moreover I have a rather general request.
>>>>
>>>> Does anyone know some more detailed API documentation than this one:
>>>> https://openmeetings.apache.org/RestAPISample.html
>>>>
>>>
>>> Javadoc is here
>>> https://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/package-summary.html
>>> PHP API is here https://github.com/openmeetings/openmeetings-api-plugin
>>> You can use OM plugin for Moodle
>>> https://github.com/openmeetings/openmeetings-moodle-plugin as an example
>>>
>>>
>>>>
>>>> Can anyone provide some code snippets in other programming languages to
>>>> learn from? Is  some open source code available that employs the API
>>>> interface?
>>>>
>>>> Best regards K.
>>>>
>>>>
>>>>
>>>
>>> --
>>> Best regards,
>>> Maxim
>>>
>>>

-- 
Best regards,
Maxim


Re: API documentation

2020-04-19 Thread K. Kamhamea
ng operation info while invoking unknown method with
> params unknown.
>
> 
>   
> 
> Best K.
> which is a bit different but not helpful either
>
> Same story with python, so what's wrong with my URL?
>
>
> Best K.
>
> Am Sa., 18. Apr. 2020 um 18:06 Uhr schrieb Daniel Baker <
> i...@collisiondetection.biz>:
>
>> And  you can  view  the API  services available on your site:
>>
>> https://test.org:5443/openmeetings/services/services
>> <https://ukom.hopto.org:5443/openmeetings/services/services>
>>
>> https://om.alteametasoft.com:8443/next/services/services
>>
>>
>>
>> On 18/04/2020 15:42, Maxim Solodovnik wrote:
>>
>>
>>
>> On Sat, 18 Apr 2020 at 19:04, K. Kamhamea 
>> wrote:
>>
>>> The Administration > Configuration Variable *rest.allow.origin* stores
>>> a list of addresses browser Ajax REST requests can be send. I guess the
>>> addresses are accepted in IP4. Are other formats allows as well? What
>>> separator is used? Can IP ranges be specified as well? If so what is the
>>> accepted syntax?
>>>
>>
>> this config sets "Access-Control-Allow-Origin" you can read docs here
>>
>> https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
>>
>>
>>>
>>> Moreover I have a rather general request.
>>>
>>> Does anyone know some more detailed API documentation than this one:
>>> https://openmeetings.apache.org/RestAPISample.html
>>>
>>
>> Javadoc is here
>> https://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/package-summary.html
>> PHP API is here https://github.com/openmeetings/openmeetings-api-plugin
>> You can use OM plugin for Moodle
>> https://github.com/openmeetings/openmeetings-moodle-plugin as an example
>>
>>
>>>
>>> Can anyone provide some code snippets in other programming languages to
>>> learn from? Is  some open source code available that employs the API
>>> interface?
>>>
>>> Best regards K.
>>>
>>>
>>>
>>
>> --
>> Best regards,
>> Maxim
>>
>>


Re: API documentation

2020-04-19 Thread Maxim Solodovnik
t;> 
>>
>> *The Browser*
>>
>> https://localhost:5443/openmeetings/services/UserService?user=admintest=%211Qay
>> yields
>>
>> 
>>   
>> 
>>   soap:Server
>> 
>>   No binding operation info while invoking unknown method with
>> params unknown.
>>
>> 
>>   
>> 
>> Best K.
>> which is a bit different but not helpful either
>>
>> Same story with python, so what's wrong with my URL?
>>
>>
>> Best K.
>>
>> Am Sa., 18. Apr. 2020 um 18:06 Uhr schrieb Daniel Baker <
>> i...@collisiondetection.biz>:
>>
>>> And  you can  view  the API  services available on your site:
>>>
>>> https://test.org:5443/openmeetings/services/services
>>> <https://ukom.hopto.org:5443/openmeetings/services/services>
>>>
>>> https://om.alteametasoft.com:8443/next/services/services
>>>
>>>
>>>
>>> On 18/04/2020 15:42, Maxim Solodovnik wrote:
>>>
>>>
>>>
>>> On Sat, 18 Apr 2020 at 19:04, K. Kamhamea 
>>> wrote:
>>>
>>>> The Administration > Configuration Variable *rest.allow.origin* stores
>>>> a list of addresses browser Ajax REST requests can be send. I guess the
>>>> addresses are accepted in IP4. Are other formats allows as well? What
>>>> separator is used? Can IP ranges be specified as well? If so what is the
>>>> accepted syntax?
>>>>
>>>
>>> this config sets "Access-Control-Allow-Origin" you can read docs here
>>>
>>> https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
>>>
>>>
>>>>
>>>> Moreover I have a rather general request.
>>>>
>>>> Does anyone know some more detailed API documentation than this one:
>>>> https://openmeetings.apache.org/RestAPISample.html
>>>>
>>>
>>> Javadoc is here
>>> https://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/package-summary.html
>>> PHP API is here https://github.com/openmeetings/openmeetings-api-plugin
>>> You can use OM plugin for Moodle
>>> https://github.com/openmeetings/openmeetings-moodle-plugin as an example
>>>
>>>
>>>>
>>>> Can anyone provide some code snippets in other programming languages to
>>>> learn from? Is  some open source code available that employs the API
>>>> interface?
>>>>
>>>> Best regards K.
>>>>
>>>>
>>>>
>>>
>>> --
>>> Best regards,
>>> Maxim
>>>
>>>

-- 
Best regards,
Maxim


Re: API documentation

2020-04-19 Thread Daniel Baker
eametasoft.com:8443/next/services/services



On 18/04/2020 15:42, Maxim Solodovnik wrote:



On Sat, 18 Apr 2020 at 19:04, K. Kamhamea
mailto:kamha...@googlemail.com>>
wrote:

The Administration > Configuration Variable
*rest.allow.origin* stores a list of addresses browser
Ajax REST requests can be send. I guess the addresses
are accepted in IP4. Are other formats allows as well?
What separator is used? Can IP ranges be specified as
well? If so what is the accepted syntax?


this config sets "Access-Control-Allow-Origin" you can read
docs here

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin


Moreover I have a rather general request.

Does anyone know some more detailed API documentation
than this one:
https://openmeetings.apache.org/RestAPISample.html


Javadoc is here

https://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/package-summary.html
PHP API is here
https://github.com/openmeetings/openmeetings-api-plugin
You can use OM plugin for Moodle
https://github.com/openmeetings/openmeetings-moodle-plugin as
an example


Can anyone provide some code snippets in other
programming languages to learn from? Is  some open
source code available that employs the API interface?

Best regards K.




-- 
Best regards,

Maxim




Re: API documentation

2020-04-19 Thread Maxim Solodovnik
gt;>
>> https://om.alteametasoft.com:8443/next/services/services
>>
>>
>>
>> On 18/04/2020 15:42, Maxim Solodovnik wrote:
>>
>>
>>
>> On Sat, 18 Apr 2020 at 19:04, K. Kamhamea 
>> wrote:
>>
>>> The Administration > Configuration Variable *rest.allow.origin* stores
>>> a list of addresses browser Ajax REST requests can be send. I guess the
>>> addresses are accepted in IP4. Are other formats allows as well? What
>>> separator is used? Can IP ranges be specified as well? If so what is the
>>> accepted syntax?
>>>
>>
>> this config sets "Access-Control-Allow-Origin" you can read docs here
>>
>> https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
>>
>>
>>>
>>> Moreover I have a rather general request.
>>>
>>> Does anyone know some more detailed API documentation than this one:
>>> https://openmeetings.apache.org/RestAPISample.html
>>>
>>
>> Javadoc is here
>> https://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/package-summary.html
>> PHP API is here https://github.com/openmeetings/openmeetings-api-plugin
>> You can use OM plugin for Moodle
>> https://github.com/openmeetings/openmeetings-moodle-plugin as an example
>>
>>
>>>
>>> Can anyone provide some code snippets in other programming languages to
>>> learn from? Is  some open source code available that employs the API
>>> interface?
>>>
>>> Best regards K.
>>>
>>>
>>>
>>
>> --
>> Best regards,
>> Maxim
>>
>>


Re: API documentation

2020-04-19 Thread Daniel Baker
Nice,   do you think you have  time  to  test  some others?   We would  
like to see   your  results  from *add *file   and *kick *:


https://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/FileWebService.html#add(java.lang.String,org.apache.openmeetings.db.dto.file.FileItemDTO,java.io.InputStream)

https://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/RoomWebService.html#kick(java.lang.String,long,java.lang.String,java.lang.String)




On 19/04/2020 07:34, K. Kamhamea wrote:

This is my complete test case so far:

This is my python script to test the url
import requests

def send_http_request():
r = 
requests.get(url='https://localhost:5443/openmeetings/services/user/login?user=admintest=%211Qay', 
verify=False)

 print ("Status code:\t{}".format(r.status_code))
 print ("Headers:\t{}".format("\n\t\t".join(r.headers)))
 print ("Content:\t{}".format(r.text[:100]))# if __name__ =="__main__":
 send_http_request()
 print ("Ready now!")
These are my _curl commands_

curl -k --user-agent "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 
5.0)" -H "Content-Type: application/json" -H "Accept: application/xml" 
-X get 
'https://localhost:5443/openmeetings/services/user/login?user=admintest=!1Qay'


or URL encoded

curl -k -H "Content-Type: application/json"  -X get 
'https://localhost:5443/openmeetings/services/user/login?user=admintest=%211Qay'


This is the line I put into my _Firefox Browser_

https://localhost:5443/openmeetings/services/user/login?user=admintest=%211Qay

-
Then I et the following results
_Python_
Status code:    200
Headers:        Cache-Control
                Expires
                Access-Control-Allow-Origin
                Date
                Content-Type
                Transfer-Encoding
                Keep-Alive
                Connection
Content: 
 {"serviceResult":{"message":"0918be3d-7fa0-42dc-81d6-fbbddcfe8320","type":"SUCCESS"}}


_curl_
{"serviceResult":{"message":"4ef55431-b44d-416b-88c6-b40d0299d599","type":"SUCCESS"}}

Firefox

 *




serviceResult   
message "8b983736-6f71-4a1a-bb3b-f42dc87d86db"
type"SUCCESS"



Obviously Login works.

Next step now

This is obviously the REST API interface that I used here according to 
the information provided here

https://localhost:5443/openmeetings/services/?_wadl

Now how I can test the SOAP API interface
https://localhost:5443/openmeetings/services/services

The url given with my system is
https://localhost:5443/openmeetings/services/UserService

Nothing else, so I tried several approaches. For instance

curl -k -H "Content-Type: application/json"  -X get 
'https://localhost:5443/openmeetings/services/UserService/login?user=admintest=%211Qay'
curl -k -H "Content-Type: application/json"  -X get 
'https://localhost:5443/openmeetings/services/UserService?user=admintest=%211Qay'


I get

http://schemas.xmlsoap.org/soap/envelope/;>
  
    
  
    soap:Server
  
  
 HTTP verb was not GET or POST
  
    
  


_The Browser_
https://localhost:5443/openmeetings/services/UserService?user=admintest=%211Qay
yields


  
    
  soap:Server
    
  No binding operation info while invoking unknown method with 
params unknown.

   
    
  

Best K.
which is a bit different but not helpful either

Same story with python, so what's wrong with my URL?


Best K.

Am Sa., 18. Apr. 2020 um 18:06 Uhr schrieb Daniel Baker 
mailto:i...@collisiondetection.biz>>:


And  you can  view  the API  services available on your site:

https://test.org:5443/openmeetings/services/services
<https://ukom.hopto.org:5443/openmeetings/services/services>

https://om.alteametasoft.com:8443/next/services/services



On 18/04/2020 15:42, Maxim Solodovnik wrote:



On Sat, 18 Apr 2020 at 19:04, K. Kamhamea
mailto:kamha...@googlemail.com>> wrote:

The Administration > Configuration Variable
*rest.allow.origin* stores a list of addresses browser Ajax
REST requests can be send. I guess the addresses are accepted
in IP4. Are other formats allows as well? What separator is
used? Can IP ranges be specified as well? If so what is the
accepted syntax?


    this config sets "Access-Control-Allow-Origin" you can read docs here

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin


Moreover I have a rather general request.

   

Re: API documentation

2020-04-19 Thread K. Kamhamea
This is my complete test case so far:

This is my python script to test the url

import requests

def send_http_request():
r = 
requests.get(url='https://localhost:5443/openmeetings/services/user/login?user=admintest=%211Qay',
verify=False)
print ("Status code:\t{}".format(r.status_code))
print ("Headers:\t{}".format("\n\t\t".join(r.headers)))
print ("Content:\t{}".format(r.text[:100])) #


if __name__ == "__main__":
send_http_request()
print ("Ready now!")

These are my *curl commands*

curl -k --user-agent "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
-H "Content-Type: application/json" -H "Accept: application/xml" -X get '
https://localhost:5443/openmeetings/services/user/login?user=admintest=!1Qay
'

or URL encoded

curl -k -H "Content-Type: application/json"  -X get '
https://localhost:5443/openmeetings/services/user/login?user=admintest=%211Qay
'

This is the line I put into my *Firefox Browser*

https://localhost:5443/openmeetings/services/user/login?user=admintest=%211Qay

-
Then I et the following results
*Python*
Status code:200
Headers:Cache-Control
Expires
Access-Control-Allow-Origin
Date
Content-Type
Transfer-Encoding
Keep-Alive
Connection
Content:
 
{"serviceResult":{"message":"0918be3d-7fa0-42dc-81d6-fbbddcfe8320","type":"SUCCESS"}}

*curl*
{"serviceResult":{"message":"4ef55431-b44d-416b-88c6-b40d0299d599","type":"SUCCESS"}}

Firefox

   -



serviceResult
message "8b983736-6f71-4a1a-bb3b-f42dc87d86db"
type "SUCCESS"


Obviously Login works.

Next step now

This is obviously the REST API interface that I used here according to the
information provided here
https://localhost:5443/openmeetings/services/?_wadl

Now how I can test the SOAP API interface
https://localhost:5443/openmeetings/services/services

The url given with my system is
https://localhost:5443/openmeetings/services/UserService

Nothing else, so I tried several approaches. For instance

curl -k -H "Content-Type: application/json"  -X get '
https://localhost:5443/openmeetings/services/UserService/login?user=admintest=%211Qay
'
curl -k -H "Content-Type: application/json"  -X get '
https://localhost:5443/openmeetings/services/UserService?user=admintest=%211Qay
'

I get

http://schemas.xmlsoap.org/soap/envelope/;>
  

  
soap:Server
  
  
 HTTP verb was not GET or POST
  

  


*The Browser*
https://localhost:5443/openmeetings/services/UserService?user=admintest=%211Qay
yields


  

  soap:Server

  No binding operation info while invoking unknown method with
params unknown.
   

  

Best K.
which is a bit different but not helpful either

Same story with python, so what's wrong with my URL?


Best K.

Am Sa., 18. Apr. 2020 um 18:06 Uhr schrieb Daniel Baker <
i...@collisiondetection.biz>:

> And  you can  view  the API  services available on your site:
>
> https://test.org:5443/openmeetings/services/services
> <https://ukom.hopto.org:5443/openmeetings/services/services>
>
> https://om.alteametasoft.com:8443/next/services/services
>
>
>
> On 18/04/2020 15:42, Maxim Solodovnik wrote:
>
>
>
> On Sat, 18 Apr 2020 at 19:04, K. Kamhamea  wrote:
>
>> The Administration > Configuration Variable *rest.allow.origin* stores a
>> list of addresses browser Ajax REST requests can be send. I guess the
>> addresses are accepted in IP4. Are other formats allows as well? What
>> separator is used? Can IP ranges be specified as well? If so what is the
>> accepted syntax?
>>
>
> this config sets "Access-Control-Allow-Origin" you can read docs here
>
> https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
>
>
>>
>> Moreover I have a rather general request.
>>
>> Does anyone know some more detailed API documentation than this one:
>> https://openmeetings.apache.org/RestAPISample.html
>>
>
> Javadoc is here
> https://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/package-summary.html
> PHP API is here https://github.com/openmeetings/openmeetings-api-plugin
> You can use OM plugin for Moodle
> https://github.com/openmeetings/openmeetings-moodle-plugin as an example
>
>
>>
>> Can anyone provide some code snippets in other programming languages to
>> learn from? Is  some open source code available that employs the API
>> interface?
>>
>> Best regards K.
>>
>>
>>
>
> --
> Best regards,
> Maxim
>
>


Re: API documentation

2020-04-18 Thread Daniel Baker

And  you can  view  the API  services available on your site:

https://test.org:5443/openmeetings/services/services 
<https://ukom.hopto.org:5443/openmeetings/services/services>


https://om.alteametasoft.com:8443/next/services/services



On 18/04/2020 15:42, Maxim Solodovnik wrote:



On Sat, 18 Apr 2020 at 19:04, K. Kamhamea <mailto:kamha...@googlemail.com>> wrote:


The Administration > Configuration Variable *rest.allow.origin*
stores a list of addresses browser Ajax REST requests can be send.
I guess the addresses are accepted in IP4. Are other formats
allows as well? What separator is used? Can IP ranges be specified
as well? If so what is the accepted syntax?


this config sets "Access-Control-Allow-Origin" you can read docs here
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin


Moreover I have a rather general request.

Does anyone know some more detailed API documentation than this one:
https://openmeetings.apache.org/RestAPISample.html


Javadoc is here 
https://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/package-summary.html

PHP API is here https://github.com/openmeetings/openmeetings-api-plugin
You can use OM plugin for Moodle 
https://github.com/openmeetings/openmeetings-moodle-plugin as an example



Can anyone provide some code snippets in other programming
languages to learn from? Is  some open source code available that
employs the API interface?

Best regards K.




--
Best regards,
Maxim


Re: API documentation

2020-04-18 Thread Maxim Solodovnik
On Sat, 18 Apr 2020 at 19:04, K. Kamhamea  wrote:

> The Administration > Configuration Variable *rest.allow.origin* stores a
> list of addresses browser Ajax REST requests can be send. I guess the
> addresses are accepted in IP4. Are other formats allows as well? What
> separator is used? Can IP ranges be specified as well? If so what is the
> accepted syntax?
>

this config sets "Access-Control-Allow-Origin" you can read docs here
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin


>
> Moreover I have a rather general request.
>
> Does anyone know some more detailed API documentation than this one:
> https://openmeetings.apache.org/RestAPISample.html
>

Javadoc is here
https://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/package-summary.html
PHP API is here https://github.com/openmeetings/openmeetings-api-plugin
You can use OM plugin for Moodle
https://github.com/openmeetings/openmeetings-moodle-plugin as an example


>
> Can anyone provide some code snippets in other programming languages to
> learn from? Is  some open source code available that employs the API
> interface?
>
> Best regards K.
>
>
>

-- 
Best regards,
Maxim


Re: API documentation

2020-04-18 Thread Daniel Baker
Maxim has  supplied a few  curl  examples (1)  that can  test the  
functionality.  I hope to make a  pull request to the  OM moodle plugin  
that uses  some of  these  APIs.


The  curl requests  go like this :

*curl*-k --header "Content-Type: application/json" -X get 
'https://test.org:/openmeetings/services/wb/cleanwb/7/0?sid=d18cb4c3-f9c8-4405-bda6-6529a03b20e6'



(1) 
https://openmeetings.markmail.org/search/?q=curl#query:curl%20from%3A%22Daniel%20Baker%22+page:1+mid:vw6vqtv3s4grjp3m+state:results




On 18/04/2020 13:04, K. Kamhamea wrote:
The Administration > Configuration Variable *rest.allow.origin* stores 
a list of addresses browser Ajax REST requests can be send. I guess 
the addresses are accepted in IP4. Are other formats allows as well? 
What separator is used? Can IP ranges be specified as well? If so what 
is the accepted syntax?


Moreover I have a rather general request.

Does anyone know some more detailed API documentation than this one:
https://openmeetings.apache.org/RestAPISample.html

Can anyone provide some code snippets in other programming languages 
to learn from? Is  some open source code available that employs the 
API interface?


Best regards K.




API documentation

2020-04-18 Thread K. Kamhamea
 The Administration > Configuration Variable *rest.allow.origin* stores a
list of addresses browser Ajax REST requests can be send. I guess the
addresses are accepted in IP4. Are other formats allows as well? What
separator is used? Can IP ranges be specified as well? If so what is the
accepted syntax?

Moreover I have a rather general request.

Does anyone know some more detailed API documentation than this one:
https://openmeetings.apache.org/RestAPISample.html

Can anyone provide some code snippets in other programming languages to
learn from? Is  some open source code available that employs the API
interface?

Best regards K.