CodaMetrix Interview Question

Fibonacci sequence, design an API contract.