Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update user alias endpoint documentation #4751

Merged
merged 7 commits into from
Feb 2, 2023

Conversation

shihanxiong
Copy link
Contributor

@shihanxiong shihanxiong commented Feb 1, 2023

Pull Request/Issue Resolution

Description of Change:

I'm changing..... (could be a link, a new image, a new section, etc.)... because...

Closes #ISSUE_NUMBER_HERE

Is this change associated with a Braze feature/product release?

  • Yes (Insert Feature Release Date Here)
  • No

✔️ Pull Request Checklist
  • Check that you haven't removed any images (replacing an image with an updated one of the same name is fine), as this breaks the French site
  • Check that all links work.
  • Ensure you have completed our Contributors License Agreement.
  • Tag @timothy-kim and @KellieHawks as a reviewer when your work is done and ready to be reviewed for merge. Are you an internal product manager? Reference the internal reviewing chart to tag the appropriate reviewer.
  • Tag others as reviewers as necessary.
  • If you have modified any links, be sure to add redirects to assets > js > broken_redirect_list.js
⭐ Helpful Wiki Shortcuts
❗ ATTN: For PR Reviewers
  • Read our Reviewing a PR page for more on our reviewing suggestions.
  • Read our Previewing Documentation page to see how to check the deployment.
    • Preview all changes in the linked Vercel environment by clicking the preview link in the vercel-bot comment in your PR.
❗ ATTN: Internal Reviewing Chart
Work at Braze and not sure who to tag for review?
Before tagging @timothy-kim or @KellieHawks for a general review, reference the following chart to see if a specific product vertical/reviewer applies to your pull request.

Reviewer Product Vertical
@josh-mccrowell-braze Monolith Deployments
Quality Infrastructure
Platform Infrastructure
Datalake
SDKs
@KellieHawks Currents
Internal Tools
Product Partnerships
SMS
Customer Lifecycle, Identity and Permissions
@bre-fitzgerald Reporting
Intelligence
User Targeting
IAM
Channels
FIX
@lydia-xie Ingestion
Core Objects
Core Messaging
Messaging and Automation
Email (Composition and Infrastructure)

@cla-bot
Copy link

cla-bot bot commented Feb 1, 2023

We require contributors to sign our Contributor License Agreement, and we don't have you on file. In order for us to review and merge your code, please fill out the information here. To re-call the cla-bot, comment @cla-bot check.

@vercel
Copy link

vercel bot commented Feb 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
braze-docs-en ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 2, 2023 at 8:25PM (UTC)
1 Ignored Deployment
Name Status Preview Comments Updated
braze-docs-fr ⬜️ Ignored (Inspect) Feb 2, 2023 at 8:25PM (UTC)

@cla-bot
Copy link

cla-bot bot commented Feb 1, 2023

We require contributors to sign our Contributor License Agreement, and we don't have you on file. In order for us to review and merge your code, please fill out the information here. To re-call the cla-bot, comment @cla-bot check.

@lydia-xie
Copy link
Contributor

@shihanxiong When you get the chance, can you sign our contributor license agreement? Thanks!

@shihanxiong
Copy link
Contributor Author

@cla-bot check

@cla-bot cla-bot bot added the cla-signed label Feb 1, 2023
@cla-bot
Copy link

cla-bot bot commented Feb 1, 2023

The cla-bot has been summoned, and re-checked this pull request!

Comment on lines 56 to 60
<!---/users/alias/update-->

{% elsif include.endpoint == "users alias update" %}
For customers who onboarded with Braze on or after September 16, 2021, we apply a shared rate limit of 20,000 requests per minute to this endpoint. This rate limit is shared with the `/users/delete`, `/users/identify`, and `/users/merge` endpoints, as documented in [API rate limits]({{site.baseurl}}/api/api_limits/).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to update all of these to include all of the endpoints, so in this section we need to add /users/alias/new, and in the ones above we need to add /users/alias/update. Or maybe we need to change how we list these, since the list is starting to get a little long...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense, will update these to match. Not sure what's the best way to render a list and exclude the current endpoint in markdown. Maybe in the future we should just put a link that points to a list of endpoints that have 20000 rate limit?

Comment on lines +25 to +27
- name: "POST: Update a User Alias"
link: /docs/api/endpoints/user_data/post_users_alias_update/
fa_icon: fas fa-user-edit
Copy link
Contributor

@davehensley davehensley Feb 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like these URLs all changed at some point (they used to live under /docs/developer_guide/rest_api/user_data/). It appears that there are redirects in place from the old URLs to these new ones, but maybe we should go into platform and update the URLs there? At least we should check to make sure the new one we just added will get redirected properly.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea from the look of it I think the links in braze-doc are correct. We should update the URLs in platform. I can make a card for it if that sounds okay to you. Currently the links point to the page that lists all the users data endpoints so it's kinda okay I think?

@raghavnarain3
Copy link
Contributor

@shihanxiong I think we want to document that edge case we discussed in standup

@shihanxiong shihanxiong force-pushed the CO-1128-users-alias-update-documentation branch from d55680c to 19882e6 Compare February 2, 2023 15:02
@shihanxiong
Copy link
Contributor Author

@shihanxiong I think we want to document that edge case we discussed in standup

Added a banner

For customers who onboarded with Braze on or after September 16, 2021, we apply a shared rate limit of 20,000 requests per minute to this endpoint. This rate limit is shared with the `/users/delete`, `/users/alias/new`, and `/users/identify` endpoints, as documented in [API rate limits]({{site.baseurl}}/api/api_limits/).
For customers who onboarded with Braze on or after September 16, 2021, we apply a shared rate limit of 20,000 requests per minute to this endpoint. This rate limit is shared with the `/users/delete`, `/users/alias/new`, `/users/identify`, and `users/alias/new` endpoints, as documented in [API rate limits]({{site.baseurl}}/api/api_limits/).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/users/alias/new is listed twice, should be /users/alias/update. Also, for consistency these should probably all begin with /.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx @davehensley for the catch

@lydia-xie lydia-xie merged commit 252d02b into develop Feb 2, 2023
@lydia-xie lydia-xie deleted the CO-1128-users-alias-update-documentation branch February 2, 2023 20:27
@lydia-xie lydia-xie changed the title docs: first pass of users alias update documentation Update user alias endpoint documentation Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants