I have a requirement to (re)design an existing REST API which is written in Django REST. One of the main requirements is allowing third parties, approved by us, extending of our API. The API is a gateway to couple systems like central ldap, application databases, mail configuration etc. and provides couple means of authentication and authorization but should be extended per third parties specific requirements that get consulted with us.
My initial solution was posting whole API on git and allowing pull requests that will get merged or not, but I am not sure if this is an optimal solution. How one goes about designing an easily extensible REST API in python?