Skip to content

Latest commit

 

History

History
41 lines (22 loc) · 1.78 KB

README.md

File metadata and controls

41 lines (22 loc) · 1.78 KB

Alerte Line of code Coverage

Plugin geocodes

Introduction

The purpose of this plug-in is to provide a service to:

  • find a city or a country label according to its INSEE code and a validity date,

  • search for communes or a country on their wording (minimum 3 first letters) and a validity date, to obtain their INSEE codes

Configuration

Usage

The data is accessible through two channels:

  • a GeoCodesService java class

  • a REST service (see swagger documentation, available with the swaggerui plugin) :

  • GET /rest/geocodes/api/v1/cities?search={name}&dateref={dateref}
  • GET /rest/geocodes/api/v1/cities/list?search={name}&dateref={dateref}
  • GET /rest/geocodes/api/v1/cities/{code}&dateref={dateref}
  • GET /rest/geocodes/api/v1/countries
  • GET /rest/geocodes/api/v1/countries/{id}
  • GET /rest/geocodes/api/v1/countries/search/{str}

Maven documentation and reports

generated by xdoc2md - do not edit directly.