API complete
add sequence diagram in API