First pass REST API docs

Includes /entity and /text documentation.