Ocean Facts

GET /api

Description: Returns all the ocean facts.

Responses

200: Successfully got ocean facts.

GET /api/[id]

Description: Returns an ocean fact that corresponds to an id.

Responses

200: Successfully got an ocean fact.

404: Fact ID is not valid or does not correspond to a fact.

GET /api/random

Description: Returns a random ocean fact.

Responses

200: Successfully got an ocean fact.