-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
how to create a file to wiki repos via api #19459
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
Comments
You can create a wiki page via the API: https://try.gitea.io/api/swagger#/repository/repoCreateWikiPage Please check if the input's are correct, 404 means it didn't found the repository you did specify. |
not a page , i want to commit an image to wiki repository 。like create a file to normal repository. |
create a file to repository --->ok |
Please better specify your question next time, but you cannot upload a file to a wiki. The wiki doesn't behave as a git repo. If you want to upload a file, use the repository, using a picture in a wiki page, you will have to use markdown for that |
yes, but i want to use an tool upload the attachment(image) to the wiki repository when i editing the wiki page. |
Watch the corresponding issue for that: #17231 |
Feature Description
how to create a file to wiki repos via api ,
the wiki repository 's name is "xxxx.wiki‘ when use api to create a file returns 404.
Screenshots
No response
The text was updated successfully, but these errors were encountered: