ActivityPub-federated video streaming platform using P2P directly in your web browser
Improve videos sort documentation
Chocobozzzd09ed46e71b7
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yamlindex 407f3eb10f..60b2fe168f 100644--- a/support/doc/api/openapi.yaml+++ b/support/doc/api/openapi.yaml@@ -4781,23 +4781,31 @@ components:name: sortin: queryrequired: false- description: Sort videos by criteriaschema:type: stringenum:- - name- - -duration- - -createdAt- - -publishedAt- - -views- - -likes- - -trending- - -hot+ - name+ - -duration+ - -createdAt+ - -publishedAt+ - -views+ - -likes+ - -trending+ - -hot+ - -best+ description: >+ Sort videos by criteria (prefixing with `-` means `DESC` order):+ * `hot` - Adaptation of Reddit "hot" algorithm taking into account video views, likes, dislikes and comments and publication date+ * `best` - Same than `hot`, but also takes into account user video history+ * `trending` - Sort videos by recent views ("recent" is defined by the admin)+ * `views` - Sort videos using their `views` counter+ * `publishedAt` - Sort by video publication date (when it became publicly available)videosSearchSort:name: sortin: queryrequired: false- description: Sort videos by criteria+ description: >+ Sort videos by criteria (prefixing with `-` means `DESC` order):schema:type: stringenum: