diff --git a/api/generated_apimodel.go b/api/generated_apimodel.go index 939b708..1aaf7cc 100644 --- a/api/generated_apimodel.go +++ b/api/generated_apimodel.go @@ -146,6 +146,10 @@ type RepositoryConfigurationDto struct { DefaultReviewers []string `yaml:"defaultReviewers,omitempty" json:"defaultReviewers,omitempty"` // List of users, who can sign a pull request. SignedApprovers []string `yaml:"signedApprovers,omitempty" json:"signedApprovers,omitempty"` + // Moves the repository into the archive. + Archived *bool `yaml:"archived,omitempty" json:"archived,omitempty"` + // Repository will not be configured, also not archived. + Unmanaged *bool `yaml:"unmanaged,omitempty" json:"unmanaged,omitempty"` } type RepositoryConfigurationWebhookDto struct { diff --git a/api/openapi-v3-spec.json b/api/openapi-v3-spec.json index d1a1e61..b1953fb 100644 --- a/api/openapi-v3-spec.json +++ b/api/openapi-v3-spec.json @@ -2786,6 +2786,14 @@ "items": { "type": "string" } + }, + "archived": { + "type": "boolean", + "description": "Moves the repository into the archive." + }, + "unmanaged": { + "type": "boolean", + "description": "Repository will not be configured, also not archived." } } },