InseeFr / Metadata-API

An API specification for accessing statistical metadata
MIT License
1 stars 7 forks source link

expertise et correction de la différence entre la documentation swagger et la sortie xml réelle de /geo/commune/{code} #106

Open EmmanuelDemey opened 8 months ago

EmmanuelDemey commented 8 months ago

Le service https://api-interne-rmes.insee.fr/geo/commune/{id} donne une documentation : `

Commune
<DateCreation>1943-01-01</DateCreation>
<DateSuppression>2019-01-01</DateSuppression>
<IntituleSansArticle typeArticle="5">
    <intituleSansArticle>Aigle</intituleSansArticle>
</IntituleSansArticle>
<ChefLieu>string</ChefLieu>
<CategorieJuridique>string</CategorieJuridique>
<inclusion>totale</inclusion>
<Intitule>L&apos;Aigle</Intitule>

Alors qu'en faisant curl --location 'https://api-interne-rmes.insee.fr/geo/commune/14475' --header 'accept: application/xml on obtient :

L'Aigle Commune 1961-06-22 Aigle

`

GtanSndil commented 8 months ago

il faut donc modifier IntituleSansArticle et supprimer

GtanSndil commented 7 months ago

prévoir 1/2 journée pour balayer les end-points et vérifier les outputs

GtanSndil commented 4 weeks ago

related to #110