Adds API endpoints and documentation for operator shelves.

r? @ngokevin
setUp usually goes on top. And I usually prefix test helper methods with an underscore