Example

{
	"id": "2",
	"text": "No racism, sexism, homophobia, transphobia, xenophobia, or casteism"
}

Attributes

id

Description: An identifier for the rule.
Type: String (cast from integer, but not guaranteed to be a number)
Version history:
3.4.0 - added

text

Description: The rule to be followed.
Type: String
Version history:
3.4.0 - added

See also

GET /api/v1/instance/rules
app/models/rule.rb
app/serializers/rest/rule_serializer.rb