Parents :

Date and time note was created$= dv.current().file.ctime
Date and time note was modified$= dv.current().file.mtime

Samunnati Experience

API Master

In this module we are working on creating a master module that would create a table out of all the apis we would be used in this Samunnati Common Services .

Description

  • API that enables us to create a master module to get and create endpoints along with their T.T.L value

Pseudo Schema Structure

//Key : Type 
{ _id   : ObjectId, 
  apiUrl: string,
  TTL   : Date  
}

Clarifications required

  • Should _id or should not be mentioned as it would be mentioned automatically when a document gets created?
  • Would apiUrl require a validation for the url validation ?
  • Also the TTL in this document has to be hard coded and if so what is the time for each api expiry (The link in the reference would be used by future api not this one).

Other specifications

  • Controller containing the following endpoints
    • GET /api/apiMaster/ : Gets the entire collection details from the api
    • GET /api/apiMaster/:id : Gets the single api details from the collection from the api
    • POST /api/apiMaster : This would have a request body as follows
     {
    	 _id: __ObjectID,// should or should not be mentioned here too ?
    	 apiUrl,
    	 TTL
     }
    • DELETE /api/apiMaster/:id : This would delete any single api from the api-master-module
  • IT shall not be using the DELETE /api/apiMaster because we won’t delete the entire collection of apis right?

References

Footnotes


Samunnati Tracking

Domain Based

Bureau Reporting

They provide API that return some functionality and we are looking for scaling so the requirements from my side is to look for methods that would help in reducing costs and making the flow more scalable.

Bureau reporting API Examples

  1. High Mark
  2. Karza
  3. Experion
  4. CIBIL

FE and A.E have different requirements and thus should look forward how to scale the systems better using micro-services to reduce costs expenditure in the above apis.

More topics to be explored in domain

Code based (Backend Learning)

Related

References