-
Notifications
You must be signed in to change notification settings - Fork 14
CHANGELOG V3.x to V4.x (for users)
taniahumar edited this page Jan 13, 2023
·
16 revisions
Important changes for the end users due to the migration of geocat.ch from the geonetwork version 3.x to 4.x.
REST API
All request's endpoint with a 0.1
have been replaced by a shorter URL without the 0.1
V3.10 | V4.2 |
---|---|
https://www.geocat.ch/geonetwork/srv/api/0.1/* |
https://www.geocat.ch/geonetwork/srv/api/* |
CSW endpoints for portal
V3.10 | V4.2 |
---|---|
https://www.geocat.ch/geonetwork/srv/{lang}/csw-{ORG-Name} |
https://www.geocat.ch/geonetwork/{ORG-Name}/{lang}/csw |
Request xml.metadata.get
This request doesn't exist anymore in the version 4. Please, use the REST API.
V3.10 | V4.2 |
---|---|
https://www.geocat.ch/geonetwork/srv/{lang}/xml.metadata.get?uuid={uuid} |
https://www.geocat.ch/geonetwork/srv/api/records/{uuid}/formatters/xml |
Request gm03.xml
This request doesn't exist anymore in the version 4. Please, use the REST API.
V3.10 | V4.2 |
---|---|
https://www.geocat.ch/geonetwork/srv/{lang}/gm03.xml?uuid={uuid} |
https://www.geocat.ch/geonetwork/srv/api/records/{uuid}/formatters/gm03 |
Metadata permalink
V3.10 | V4.2 |
---|---|
https://www.geocat.ch/geonetwork/srv/{lang}/md.viewer#/full_view/{uuid} |
https://www.geocat.ch/geonetwork/srv/{lang}/catalog.search#/metadata/{uuid} |
Metadata permalink with custom XSL-Formatter (html/pdf)
V3.10 | V4.2 |
---|---|
https://www.geocat.ch/geonetwork/srv/{lang}/md.format.html?uuid={uuid}&xsl={formatter_id} |
https://geocat.ch/geonetwork/srv/api/records/{uuid}/formatters/{formatter_id}?language={lang} |
https://www.geocat.ch/geonetwork/srv/{lang}/md.format.pdf?uuid={uuid}&xsl={formatter_id} |
https://geocat.ch/geonetwork/srv/api/records/{uuid}/formatters/{formatter_id}?language={lang}&output=pdf |
The former Q search endpoint doesn't exist anymore with the version 4. It has been replaced by an ElasticSearch Search API.
V3.10 | V4.2 |
---|---|
https://www.geocat.ch/geonetwork/srv/{lang}/q |
https://www.geocat.ch/geonetwork/srv/api/search/records/_search |
- The new ES search API is a POST request.
- ES documentation : https://www.elastic.co/guide/en/elasticsearch/reference/current/search-search.html
- Test the API : https://www.geocat.ch/geonetwork/doc/api/index.html#/search/search
- The parameter
resultType
cannot take the valueresults_with_summary
anymore. Useresults
instead. - In the filter, the parameter
PropertyName
cannot take the valueany
anymore. UseAnyText
instead.