Repository navigation
Remove deprecated /v3/ua/login, fix stale references to /oauth/token - #360
Merged
Merged
Conversation
POST /api/v3/ua/login is deprecated. Removed its "### Login" section and sidebar entry from guidelines/user-api.mdx entirely. Across 13 quickstart guides and tutorials, each "Log in" step's header and curl/JSON examples already correctly showed /ua/oauth/token, but left two kinds of artifacts from before that switch: - Top-of-page endpoint summary lists still linking to /ua/login (contextual-audience-quickstart, create-a-campaign-quickstart, conversion-quickstart, bid-model-quickstart). - A stale TypeScript "Login" tab in every file's "Log in" step, still posting JSON to /ua/login with grantType/email fields - left over from before the endpoint became form-urlencoded oauth/token. Removed these (matching the established convention for oauth/token calls: no TypeScript tab anywhere else, including authentication-quickstart- guide.mdx's own "Refresh token" section and user-api.mdx's "OAuth token" section, since representing a form-urlencoded request as a JSON axios call would be wrong either way) and replaced the accompanying JSON request example with the same curl pattern already used elsewhere, fixing the field names along the way (grantType -> grant_type, email -> username, matching the real form param names). Also fixed the same grantType/email artifacts in authentication-quickstart-guide.mdx's own Log in and Refresh token request schema tables, which had survived independently of the stale TS tab. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
POST /api/v3/ua/login is deprecated. Removed its "### Login" section and sidebar entry from guidelines/user-api.mdx entirely.
Across 13 quickstart guides and tutorials, each "Log in" step's header and curl/JSON examples already correctly showed /ua/oauth/token, but left two kinds of artifacts from before that switch:
Also fixed the same grantType/email artifacts in
authentication-quickstart-guide.mdx's own Log in and Refresh token request schema tables, which had survived independently of the stale TS tab.