Selaa lähdekoodia

Document scope parameter for stream API (#897)

Signed-off-by: Shivam Sandbhor <shivam@crowdsec.net>
Shivam Sandbhor 3 vuotta sitten
vanhempi
commit
f64f20fd53
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6 0
      pkg/models/localapi_swagger.yaml

+ 6 - 0
pkg/models/localapi_swagger.yaml

@@ -40,6 +40,12 @@ paths:
           required: false
           type: boolean
           description: 'If true, means that the bouncers is starting and a full list must be provided'
+        - name: scopes
+          in: query
+          required: false
+          type: string
+          description: 'Comma separated scopes of decisions to fetch'
+          example: ip,range,country
       responses:
         '200':
           description: successful operation