docs: Update listTags#sort-by example
Fix the example to use the sort-by query parameter
instead of the sortby alias, which did not properly function.
Release-Notes: skip
Change-Id: Iaa4e1c4cf1d1e3387772a396bee4c2818f2a685b
diff --git a/Documentation/rest-api-projects.txt b/Documentation/rest-api-projects.txt
index b0e1b49..ab78ff0 100644
--- a/Documentation/rest-api-projects.txt
+++ b/Documentation/rest-api-projects.txt
@@ -2514,12 +2514,12 @@
]
----
-SortBy(sortby)::
+SortBy(sort-by)::
Sort the returned tags by one of the supported sort options: ref (default), creation_time.
+
.Request
----
- GET /projects/work%2Fmy-project/tags?sortby=creation_time HTTP/1.0
+ GET /projects/work%2Fmy-project/tags?sort-by=creation_time HTTP/1.0
----
+
.Response