This project is designed to assist the gitbuilder-io project in listing approved provided templates for projects as well as providing data stream for each project to be downloaded to the client PC after call is made to the template endpoint. The API also allows some authenticated users to upload approved project templates via the API or Gitbuilder-io CLI providing their valid OAuth2.0 token.
note: maxiumum upload size through API is 50MB
curl --location --request POST 'https://gb.sykesdev.ca/api/template?lang=<LANGUAGE>' \
--header 'Authorization: Bearer <YOUR_API_TOKEN>' \
--form 'files=@path/to/project/template/template.zip'
curl --location --request GET 'https://gb.sykesdev.ca/api/template?lang=<LANGUAGE>'
curl --location --request GET 'https://gb.sykesdev.ca/api/template?name=<TEMPLATE_NAME>&lang=<LANGUAGE>'