add basic api documentation