Skip to main content
GET
/
api
/
v1
/
rules
List all active rules (or specific type/flock)
curl --request GET \
  --url http://localhost:3000/api/v1/rules \
  --header 'Authorization: Bearer <token>'
{}

Authorizations

Authorization
string
header
required

JWT obtained from POST /api/v1/auth/login.

Query Parameters

type
string

type query parameter.

flockId
string

flockId query parameter.

status
string

status query parameter.

Response

OK

Resource data (object or array depending on endpoint).