Draft api documentation