[PR #8018] api: change /delete endpoint to use POST method #38463

Open
opened 2026-04-22 23:07:41 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/8018
Author: @nguu0123
Created: 12/9/2024
Status: 🔄 Open

Base: mainHead: main


📝 Commits (3)

  • 5b81760 api: change /delete endpoint to use POST method
  • 8e3d719 revert some edit from autoformat in docs/api.md
  • f0d5ce6 keep DELETE http method for /api/delete

📊 Changes

5 files changed (+60 additions, -29 deletions)

View changed files

📝 api/client.go (+1 -1)
📝 cmd/cmd_test.go (+1 -1)
📝 docs/api.md (+27 -26)
📝 server/routes.go (+1 -0)
📝 server/routes_test.go (+30 -1)

📄 Description

PR for #7985


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/8018 **Author:** [@nguu0123](https://github.com/nguu0123) **Created:** 12/9/2024 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`5b81760`](https://github.com/ollama/ollama/commit/5b81760a70147b45dc1a71bfa4154265793f2c6c) api: change /delete endpoint to use POST method - [`8e3d719`](https://github.com/ollama/ollama/commit/8e3d71951481aeddb8cbcb7a63dcfd6500cba81e) revert some edit from autoformat in docs/api.md - [`f0d5ce6`](https://github.com/ollama/ollama/commit/f0d5ce657e809f6a6b406486ebd8ab58c09b335f) keep DELETE http method for /api/delete ### 📊 Changes **5 files changed** (+60 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `api/client.go` (+1 -1) 📝 `cmd/cmd_test.go` (+1 -1) 📝 `docs/api.md` (+27 -26) 📝 `server/routes.go` (+1 -0) 📝 `server/routes_test.go` (+30 -1) </details> ### 📄 Description PR for #7985 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-22 23:07:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#38463