What's the difference between consume and publish api?

When creating an API, I can choose a type which is consume or publish. I normally choose publish but what is the difference between the two?

1 reply