API: Add add deprecation notice for getting folder by sequential ID (#67091)

* API: Add deprecation notice

* Update Swagger/openAPI
This commit is contained in:
Sofia Papagiannaki
2023-04-25 10:33:47 +03:00
committed by GitHub
parent 1324434dfb
commit 3bc002cd27
3 changed files with 8 additions and 9 deletions

View File

@@ -96,7 +96,10 @@ func (hs *HTTPServer) GetFolderByUID(c *contextmodel.ReqContext) response.Respon
//
// Get folder by id.
//
// Returns the folder identified by id.
// Returns the folder identified by id. This is deprecated.
// Please refer to [updated API](#/folders/getFolderByUID) instead
//
// Deprecated: true
//
// Responses:
// 200: folderResponse