Open API Repositories
Overview
Following are the list of open APIs available in DIGIT
Core Services
egov-user
/user/oauth/token
Endpoint for login. If the user is a citizen, then the login is otp based else it is password based.
https://editor.swagger.io/?url=https://raw.githubusercontent.com/egovernments/egov-services/master/docs/egov-user/contracts/v1-1-0.yml#!//user/citizen/_create
This endpoint is to create citizen with OTP validation
https://editor.swagger.io/?url=https://raw.githubusercontent.com/egovernments/egov-services/master/docs/egov-user/contracts/v1-1-0.yml#!//user/password/nologin/_update
Endpoint to update the password for non logged in user. The OTP is validated before updating the new password.
http://editor.swagger.io/?url=https://raw.githubusercontent.com/egovernments/egov-services/master/docs/egov-user/contracts/v1-1-0.yml#!/
user-otp
/user-otp/v1/_send
This endpoint sends the OTP to the user via sms or email
egov-otp
/otp/v1/_validate
This endpoint is to validate the OTP with respect to mobilenumber
http://editor.swagger.io/?url=https://raw.githubusercontent.com/egovernments/egov-services/master/docs/egov-otp/contract/v1-0-0.yml#!/
egov-localization
/localization/messages
The endpoint is to search the localization messages/localization/messages/v1/_search
The endpoint is to search the localization messages
tenant
/tenant/v1/tenant/_search
The endpoint is used to search tenants
egov-location
/egov-location/boundarys
The endpoint is used to search boundaries/egov-location/boundarys/boundariesByBndryTypeNameAndHierarchyTypeName
The endpoint is used to search boundaries by boundarytype name and hierarchytype name/egov-location/boundarys/getLocationByLocationName
The endpoint is used to get location by name/egov-location/location/v11/geography/_search
This endpoint handles all requests related to geographical boundaries by providing appropriate GeoJson and other associated data based on tenantId or lat/long etc
https://editor.swagger.io/?url=https://raw.githubusercontent.com/egovernments/egov-services/master/docs/egov-location/contracts/v11-0-0.yml#!//egov-location/location/v11/boundarys/_search
The endpoint provides a list of boundaries based on tenantId and list of boundary id's and list of codes and boundarytype and hierarchytype
https://editor.swagger.io/?url=https://raw.githubusercontent.com/egovernments/egov-services/master/docs/egov-location/contracts/v11-0-0.yml#!/
egov-mdms-service
/egov-mdms-service/v1/_search
This endpoint fetches a list of masters for a specified module and tenantId.
https://editor.swagger.io/?url=https://raw.githubusercontent.com/egovernments/egov-services/master/docs/mdms/contract/v1-0-0.yml#!/
egov-filestore
/filestore/v1/files/url
The endpoint will return encrypted urls for any given UUID, multiple urls for images will be returned and will be separated by commas. Each of the url will point to one of the thumbnails created for images. In case of files, only one url will be returned.
egov-url-shortening
/egov-url-shortening
The egov-url-shortening is used to compress long urls
egov-searcher
/egov-searcher/property-services/propertyopensearch/_get
The Api path will be constructed based on the information provided in the yaml file. These following variables from the yaml file will form the API - "moduleName","searchName'' in the following way - @PostMapping("/{moduleName}/{searchName}/_get"). The API upon being queried will return results in the form of json based on the output structure provided in the yaml config.
nlp-engine
/nlp-engine/fuzzy/city
/nlp-engine/fuzzy/locality
xstate-chatbot
/whatsapp-webhook/messages
/xstate-chatbot/message
/xstate-chatbot/status
Municipal Services
pt-calculator-v2
/pt-calculator-v2/billingslab/_search
This endpoint is used to search billing-slabs
Business Services
dashboard-injest
/dashboard-ingest/ingest/upload
The endpoint is used to provide responses for external data upload. Uploaded file gets parsed and stores target data to Elastic search.
https://raw.githubusercontent.com/egovernments/business-services/master/Docs/dss-dashboard/DSS Ingest YAML Spec 1.0.0.yaml
eGov-dcr-service
/edcr/rest/dcr/downloadfile
The endpoint is used to download the dxf file and scrutiny report