API: Add deprecation notice for updating folder UID (#68543)

* API: Add deprecation notice for updating folder UID
This commit is contained in:
Sofia Papagiannaki
2023-05-16 18:28:18 +03:00
committed by GitHub
parent 6189f48be7
commit 14fb4ff779
4 changed files with 293 additions and 120 deletions
+2
View File
@@ -90,6 +90,8 @@ type UpdateFolderCommand struct {
UID string `json:"-"`
OrgID int64 `json:"-"`
// NewUID it's an optional parameter used for overriding the existing folder UID
// Starting with 10.0, this is deprecated. It will be removed in a future release.
// Please avoid using it because it can result in folder loosing its permissions.
NewUID *string `json:"uid"` // keep same json tag with the legacy command for not breaking the existing APIs
// NewTitle it's an optional parameter used for overriding the existing folder title
NewTitle *string `json:"title"` // keep same json tag with the legacy command for not breaking the existing APIs