I am trying to to insert a course template ( template being mandatory details required to create a course on edx studio and also some grading settings). I wish to insert the course template by means of an external script which will have read/write permissions on the database of the server on which openedx is installed .
I already went through the docs but they seem to have no information with regards to my objective. I arbitarily tried inserting a course in openedx and saw that at least one MySQL table changed and also some collections in the associated MongoDB also changed. But this is hardly anything concrete. I would go through the source code , but it is such a large codebase.
I am using the dogwood version of openedx.
Could someone please point me in the right direction as to how I could accomplish this or at least tell which part of the codebase I should look at?