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

fix(docs): add server_count field to mock data in getting-started page #156

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

chimpdev
Copy link
Member

@chimpdev chimpdev commented Jan 7, 2025

This pull request includes updates to the mock data examples in the docs/app/getting-started/page.mdx file to include a new field, server_count, in addition to the existing command_count.

Updates to mock data examples:

  • Added server_count field to the JavaScript mock data example using axios for API requests.
  • Added server_count field to the Python mock data example using requests for API requests.
  • Added server_count field to the curl command example for API requests.

@chimpdev chimpdev added the Frontend: Bug Issues related to bugs specifically in the frontend codebase of Next.js. label Jan 7, 2025
@chimpdev chimpdev self-assigned this Jan 7, 2025
Copy link

what-the-diff bot commented Jan 7, 2025

PR Summary

  • Enhancement of Mock Data: We've enhanced our pseudo data commonly used for testing or simulation, by adding a new information field, 'server_count'. This field would initialize with a value of 0 and is available in both JavaScript and Python test objects.
  • Improvement on Data Transfer Tool: We've updated our tool used for sending/receiving data (cURL command) to also include 'server_count' information in its data update (PATCH) requests, alongside the previously available 'command_count'. This allows us to monitor and update the count of servers efficiently.

@chimpdev chimpdev merged commit 8c3da63 into main Jan 7, 2025
1 check passed
@chimpdev chimpdev deleted the patch branch January 7, 2025 09:40
@github-actions github-actions bot mentioned this pull request Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend: Bug Issues related to bugs specifically in the frontend codebase of Next.js.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant