CodaMetrix interview question

Fibonacci sequence, design an API contract.