]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Correct API documentation for search (#881)
authorDavid Libeau <DavidLibeau@users.noreply.github.com>
Sun, 29 Jul 2018 20:26:05 +0000 (16:26 -0400)
committerRigel Kent <par@rigelk.eu>
Sun, 29 Jul 2018 20:26:05 +0000 (22:26 +0200)
support/doc/api/html/index.html
support/doc/api/openapi.yaml

index c65e8ea6c5d7134770d383c9c80909c3de9353a0..0efc24f0208d300d35cddd3b876f43510fd89c7d 100644 (file)
                   </div>
                   <div class="prop-row prop-group">
                     <div class="prop-name">
-                      <div class="prop-title">query:
+                      <div class="prop-title">search:
                         <span class="prop-type">
                           <span class="json-property-type">string</span>
                           <span class="json-property-range" title="Value limits"></span>
index 7e290a41e925c6ddbb73fd81f616da2e7f3685b7..59ca8b29a9305f16a8fe3af1fd50fac86c05fff9 100644 (file)
@@ -950,7 +950,7 @@ paths:
         - $ref: "commons.yaml#/parameters/start"
         - $ref: "commons.yaml#/parameters/count"
         - $ref: "commons.yaml#/parameters/sort"
-        - name: query
+        - name: search
           in: query
           required: true
           type: string