I want to implement POST call
As I understand, the template version inside the template file and URL can be different.
The URL version is optional. So what version should be used (saved in DB, used for query this exact template) if no version is provided in URL?
From docs I understand but I’m not sure:
if uploading new template: 0.0.1-alpha.1
if uploading template and previous version was 0.0.1-alpha.1 => 0.0.1-alpha.2
if uploading template and previous version was 0.0.1-rc.1 => 0.0.1-rc.2
if uploading template and previous version was 0.0.1 => 0.0.2-alpha.1
This is correct? Or depends on implementations and it’s not defined in docs?
Why template can have two versions? (Version defined in file and version defined in URL in POST). Or if a version can be only one then why can be version set in URL?