Publish-Subscribe API Framework