pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/apache/apisix/pull/13301

"https://github.githubassets.com/assets/actions-902e75f4f51a80db.css" /> docs: update attach-consumer-label plugin documentation by Yilialinn · Pull Request #13301 · apache/apisix · GitHub
Skip to content

docs: update attach-consumer-label plugin documentation#13301

Open
Yilialinn wants to merge 7 commits intoapache:masterfrom
Yilialinn:docs/update-attach-consumer-label
Open

docs: update attach-consumer-label plugin documentation#13301
Yilialinn wants to merge 7 commits intoapache:masterfrom
Yilialinn:docs/update-attach-consumer-label

Conversation

@Yilialinn
Copy link
Copy Markdown
Contributor

Summary

  • Restructure content following ported plugin conventions (EN+ZH)
  • Fix typo: X-Credential-IndentifierX-Credential-Identifier
  • Replace ADMIN_API_KEY with admin_key in all curl commands
  • Add canonical link to API7 docs
  • Remove Delete Plugin section; add subsection heading for the example
  • Capitalize Route, Plugin, Consumer, Credential in prose
  • Clarify response output: note that X-Consumer-Role is absent because the role label is not configured on the Consumer

- Restructure content following ported plugin conventions (EN+ZH)
- Fix typo: X-Credential-Indentifier -> X-Credential-Identifier
- Replace ADMIN_API_KEY with admin_key in all curl commands
- Add canonical link to API7 docs
- Remove Delete Plugin section
- Add subsection heading for example
- Capitalize Route, Plugin, Consumer, Credential in prose
- Clarify behavior for unconfigured labels in verification result
@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. doc Documentation things labels Apr 27, 2026
@Yilialinn Yilialinn requested a review from Copilot April 27, 2026 02:21
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the attach-consumer-label plugin documentation (English + Chinese) to align with current plugin doc structure and improve clarity/consistency for the Admin API examples and response interpretation.

Changes:

  • Restructures sections (Description/Attributes/Examples) and clarifies the example output (missing X-Consumer-Role due to absent role label).
  • Fixes header typo (X-Credential-IndentifierX-Credential-Identifier) and standardizes curl examples to use admin_key.
  • Adds a canonical link pointing to API7 Hub docs.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
docs/en/latest/plugins/attach-consumer-label.md Restructures EN doc, fixes header typo, updates Admin API key usage, adds canonical link, clarifies example output.
docs/zh/latest/plugins/attach-consumer-label.md Mirrors EN doc restructuring/clarifications in ZH, updates keywords/wording, fixes header typo, updates Admin API key usage, adds canonical link.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/en/latest/plugins/attach-consumer-label.md Outdated
Comment thread docs/zh/latest/plugins/attach-consumer-label.md Outdated
Comment thread docs/en/latest/plugins/attach-consumer-label.md Outdated
Comment thread docs/en/latest/plugins/attach-consumer-label.md Outdated
@Yilialinn Yilialinn requested a review from kayx23 April 27, 2026 15:31
Comment thread docs/en/latest/plugins/response-rewrite.md Outdated
Comment thread docs/zh/latest/plugins/response-rewrite.md Outdated
…er-label

- Wrap canonical link in <head>...</head> for attach-consumer-label and response-rewrite (EN and ZH)
- Fix 'business logics' -> 'business logic' and 'additional logics' -> 'additional logic' in attach-consumer-label EN
@Yilialinn Yilialinn requested review from Copilot and kayx23 April 28, 2026 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Documentation things size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy