Logic for publishing APIs; Logic for updating API specs