[GeoNetwork-users] Wrong link on GeoNetwork API documentation web site

Hello,

I'm interested to have a look on GeoNetwork API documentation, but from the website ((http://geonetwork-opensource.org/manuals/3.0.5/eng/users/api/the-geonetwork-api.html same from github) the link to the draft doc refers to a localhost url : http://localhost:8080/geonetwork/doc/api/

How can I get the draft doc ?

Thanks,

Benjamin

Hi Benjamin,

I think that document is only valid for Geonetwork 3.2+, not 3.0.+. On my
3.2.x installation the API documentation is indeed at
http://myurl/geonetwork/doc/api/, but it's not present on a 3.0.x
installation that I run. I've just submitted a pull request to get that
clarified in the documentation.

Regards

Jo

On Mon, Apr 3, 2017 at 3:45 PM, SACLIER Benjamin <benjamin.saclier@anonymised.com>
wrote:

Hello,

I'm interested to have a look on GeoNetwork API documentation, but from
the website ((http://geonetwork-opensource.org/manuals/3.0.5/
eng/users/api/the-geonetwork-api.html same from github) the link to the
draft doc refers to a localhost url : http://localhost:8080/
geonetwork/doc/api/

How can I get the draft doc ?

Thanks,

Benjamin

------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/
projects/geonetwork

--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek

--
--
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech
<https://twitter.com/astuntech&gt;

Register here:
https://www.eventbrite.co.uk/e/astun-user-conference-2017-tickets-31457635635?aff=es2
Astun User Conference web page:
https://astuntechnology.com/astun-user-conference/
iShare - enterprise geographic intelligence platform
<https://astuntechnology.com/ishare/&gt;
GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/services/#training&gt;
Helpdesk and customer portal
<http://support.astuntechnology.com/support/login&gt;

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

Hi all,

you are right, http://myurl/geonetwork/doc/api gives the API documentation on my Geonetwork 3.2.2 ;
but did you succeed in using this geonetwork API ?

so as to test it, i am using the pluginHttpRequester for Mozilla <https://www.google.fr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwiGkoPWwMfWAhVLORQKHf4uDBQQFggnMAA&url=https%3A%2F%2Faddons.mozilla.org%2Ffr%2Ffirefox%2Faddon%2Fhttprequester%2F&usg=AFQjCNHFZ7-qUAxn-0ETL27td8_sL-ZZLQ&gt;so as to be able to execute GET or PUT requests, but nothing works ! :-\

i only get HTML errors :
GET http://localhost:8080/geonetwork/srv/api/0.1/me -> error 406
GET http://localhost:8080/geonetwork/srv/api/0.1/search/ping -> error 406

but requests without the API gives the correct responses, of course...
GET http://localhost:8080/geonetwork/srv/csw -> 202 OK

can you tell me what I do not understand, please ?

thanks in advance,

Ernest.

Le 06/04/2017 à 10:31, Jo Cook a écrit :

Hi Benjamin,

I think that document is only valid for Geonetwork 3.2+, not 3.0.+. On my
3.2.x installation the API documentation is indeed at
http://myurl/geonetwork/doc/api/, but it's not present on a 3.0.x
installation that I run. I've just submitted a pull request to get that
clarified in the documentation.

Regards

Jo

On Mon, Apr 3, 2017 at 3:45 PM, SACLIER Benjamin<benjamin.saclier@anonymised.com...>
wrote:

Hello,

I'm interested to have a look on GeoNetwork API documentation, but from
the website ((http://geonetwork-opensource.org/manuals/3.0.5/
eng/users/api/the-geonetwork-api.html same from github) the link to the
draft doc refers to a localhost url :http://localhost:8080/
geonetwork/doc/api/

How can I get the draft doc ?

Thanks,

Benjamin

------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!http://sdm.link/slashdot
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained athttp://sourceforge.net/
projects/geonetwork

--
Ernest CHIARELLO -Ernest.Chiarello@anonymised.com
UMR6049 ThéMA - Théoriser et Modéliser pour Aménager
CNRS / université de Bourgogne Franche-Comté
32 rue Mégevand 25030 BESANÇON Cedex

Tel : 03 81 66 53 66 Mob : 07 82 99 11 08