Add API for global snippets
Created by: gdzhu
Thank you for taking the time to contribute back to GitLab!
Please open a merge request on GitLab.com, we look forward to reviewing your contribution! You can log into GitLab.com using your GitHub account.