From b709a3171fba891708a1074b5d013fb8caca0e0f Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Thu, 20 Aug 2020 13:54:15 +0200 Subject: [PATCH] TT#89801 api documentation v1 - sort order_by * order by values are now sorted Change-Id: I08cb9afea9697caad33339774ec40f5e280bc704 --- share/templates/api/root/collection.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/templates/api/root/collection.tt b/share/templates/api/root/collection.tt index 011a9ce9fd..1e555a6a63 100644 --- a/share/templates/api/root/collection.tt +++ b/share/templates/api/root/collection.tt @@ -111,7 +111,7 @@ See description how to obtain properties, if any. [% FOREACH f IN col.query_params -%]
  • [% f.param %]: [% f.description %]
  • [% END -%] -
  • order_by: Order collection by a specific attribute. Possible values are: [% col.sorting_cols.join(', ') %]
  • +
  • order_by: Order collection by a specific attribute. Possible values are: [% col.sorting_cols.sort.join(', ') %]
  • order_by_direction: Direction which the collection should be ordered by. Possible values are: asc (default), desc
  • @@ -482,7 +482,7 @@ Query parameters: [% FOREACH f IN col.journal_resource_config.query_params -%]
  • [% f.param %]: [% f.description %]
  • [% END -%] -
  • order_by: Order collection by a specific attribute. Possible values are: [% col.journal_resource_config.sorting_cols.join(', ') %]
  • +
  • order_by: Order collection by a specific attribute. Possible values are: [% col.journal_resource_config.sorting_cols.sort.join(', ') %]
  • order_by_direction: Direction which the collection should be ordered by. Possible values are: asc (default), desc
  • The item's state after a completed create or update operation/before a delete operation is serialized and stored in [% col.journal_resource_config.format -%] format. It can be retrieved by requesting the corresponding journal record with OPTIONS/GET/HEAD [% col.journal_resource_config.item_uri %].