Is it possible to create a wiki page using GitHub Api

Can I create a GitHub wiki page using REST API? If yes, can you please share the link to that API.

Thank you.

:wave: Hi @imeshank!

If you are creating a repository with the API, you can set has_wiki to true to enable the wiki for that repository. If you have an existing repository that you want to add a wiki to you use the same has_wiki logic.

That’s the extent of API support for wikis, though, and there aren’t currently any plans to add anything else. If you want to work around the limitation, you could potentially automatically update wikis by writing scripts that use Git to update them.

got it :slight_smile: Thanks for the reply.