Update the API section of guide.md

Update the API section of guide.md so that the configuration matches that of api_overview.md.