fix(store,api): идемпотентный import (UNIQUE+ON CONFLICT) + PATCH привязки шаблона к домену
This commit is contained in:
@@ -47,6 +47,12 @@ type domainRequest struct {
|
||||
TemplateID *string `json:"templateId,omitempty"`
|
||||
}
|
||||
|
||||
// updateDomainTemplateRequest is the PATCH .../domains/{did} body used to
|
||||
// bind (or clear, when templateId is null/omitted) a domain's DNS template.
|
||||
type updateDomainTemplateRequest struct {
|
||||
TemplateID *string `json:"templateId"`
|
||||
}
|
||||
|
||||
type domainResponse struct {
|
||||
ID string `json:"id"`
|
||||
ProviderAccountID string `json:"providerAccountId"`
|
||||
|
||||
Reference in New Issue
Block a user