Rules Feed

Technical details of API operations that can be automated and enforced, used to align policies with strategy to deliver the desired experience.

RulesSpectralGovernance

Feed Endpoint

GET https://rules.apievangelist.com/rules.json

No authentication required. Returns a JSON array. CORS headers are set on all feeds.

Source repository: https://github.com/api-evangelist/rules

Response Schema

Each item in the feed has these fields:

FieldTypeDescription
name string Rule name
slug string Unique slug
description string Rule description
severity string Spectral severity level
tags array Tags

Example Request

curl -s https://rules.apievangelist.com/rules.json | head -c 500

Usage

JavaScript / Browser

const response = await fetch('https://rules.apievangelist.com/rules.json');
const items = await response.json();

items.forEach(item => {
  console.log(item.name, item.slug);
});

Python

import requests

response = requests.get('https://rules.apievangelist.com/rules.json')
items = response.json()

for item in items:
    print(item.get('name'), item.get('slug'))

Browse the full Rules catalog at https://rules.apievangelist.com/.