@ehelms, That is the interesting thing w/ the API docs.  I was on the fence as to the correct way to specify required in this case, since required is really conditional on what the user wants to do.

e.g. 
environment_id is required, if user wants modules by env
repository_id is required, if the user wants modules by repo

@iNecas, is there a proper way to specify required in this type of scenario?