[PR #972] [MERGED] reformat api docs for more examples #41660

Closed
opened 2026-04-24 21:30:42 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/972
Author: @BruceMacD
Created: 11/2/2023
Status: Merged
Merged: 11/3/2023
Merged by: @BruceMacD

Base: mainHead: brucemacd/more-api-examples


📝 Commits (2)

📊 Changes

1 file changed (+51 additions, -21 deletions)

View changed files

📝 docs/api.md (+51 -21)

📄 Description

I'd like to add an example for raw requests in #952 to the docs, but that requires formatting them in way that is more friendly to multiple request/responses. This change moves request/response under an "examples" header.


🔄 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/972 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 11/2/2023 **Status:** ✅ Merged **Merged:** 11/3/2023 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `brucemacd/more-api-examples` --- ### 📝 Commits (2) - [`68e4aa2`](https://github.com/ollama/ollama/commit/68e4aa2cbeaebeb9e18854148841753a7a6601f2) reformat api docs for more examples - [`b4138aa`](https://github.com/ollama/ollama/commit/b4138aa54f880a930f0e4eec38b0e9faece9822d) Update api.md ### 📊 Changes **1 file changed** (+51 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `docs/api.md` (+51 -21) </details> ### 📄 Description I'd like to add an example for raw requests in #952 to the docs, but that requires formatting them in way that is more friendly to multiple request/responses. This change moves request/response under an "examples" header. --- <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-24 21:30: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#41660