Skip to content

detect version of geonetwork in order to target the good api subportail sources url#33

Merged
landryb merged 2 commits intomasterfrom
gn_api_url_subportal
Oct 22, 2025
Merged

detect version of geonetwork in order to target the good api subportail sources url#33
landryb merged 2 commits intomasterfrom
gn_api_url_subportal

Conversation

@jeanmi151
Copy link
Collaborator

trying to fix the error 404 on /gaia/admin/geonetwork that fail to contact geonetwork api (cf #32 )

this pr propose some code in order to detect the version of geonetwork using /geonetwork/srv/api/site
and configure the url depeding on the version

@jeanmi151 jeanmi151 requested a review from landryb October 21, 2025 15:54
@landryb landryb merged commit 57416a3 into master Oct 22, 2025
@landryb landryb linked an issue Oct 22, 2025 that may be closed by this pull request
@jeanmi151 jeanmi151 deleted the gn_api_url_subportal branch October 22, 2025 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

api.py contain geonetwork url that goes into 404

2 participants