Skip to content

feat: Implement create_wiki_page feature #216

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Tiberriver256
Copy link
Owner

Adds a new feature create_wiki_page to allow you to create new wiki pages or update existing ones in Azure DevOps.

The feature includes:

  • Input schema for specifying organization, project, wiki ID, page path, and content.
  • Core logic to call the Azure DevOps API (PUT request to /_apis/wiki/wikis/{wikiIdentifier}/pages?path={path}).
  • Unit tests to verify API call parameters and error handling.
  • Integration tests to ensure end-to-end functionality with a live Azure DevOps instance, including creation and verification of pages.
  • Helper utilities for loading test environment variables and cleaning up test wiki pages.

The new functionality is defined in tool-definitions.ts and exported appropriately.

Adds a new feature `create_wiki_page` to allow you to create new wiki pages or update existing ones in Azure DevOps.

The feature includes:
- Input schema for specifying organization, project, wiki ID, page path, and content.
- Core logic to call the Azure DevOps API (PUT request to /_apis/wiki/wikis/{wikiIdentifier}/pages?path={path}).
- Unit tests to verify API call parameters and error handling.
- Integration tests to ensure end-to-end functionality with a live Azure DevOps instance, including creation and verification of pages.
- Helper utilities for loading test environment variables and cleaning up test wiki pages.

The new functionality is defined in `tool-definitions.ts` and exported appropriately.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant