[PR #8082] [MERGED] Docs: Add /api/version endpoint to API documentation #59314

Closed
opened 2026-04-29 14:15:22 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/8082
Author: @anxkhn
Created: 12/13/2024
Status: Merged
Merged: 12/29/2024
Merged by: @jmorganca

Base: mainHead: main


📝 Commits (4)

📊 Changes

1 file changed (+27 additions, -0 deletions)

View changed files

📝 docs/api.md (+27 -0)

📄 Description

This PR adds documentation for the /api/version endpoint to the Ollama API documentation. This endpoint allows clients to retrieve the Ollama server version, which is useful for ensuring compatibility with features that are dependent on specific server versions.

The /api/version endpoint was added in a previous commit but was not documented. This PR addresses that omission.

Resolves #8040


🔄 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/8082 **Author:** [@anxkhn](https://github.com/anxkhn) **Created:** 12/13/2024 **Status:** ✅ Merged **Merged:** 12/29/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (4) - [`e6636c5`](https://github.com/ollama/ollama/commit/e6636c5a4c94fb1867d7ce7db0256fa84cf513aa) docs: document the /api/version API endpoint - [`1e6fa24`](https://github.com/ollama/ollama/commit/1e6fa240fb909398c841f198f8511c5e6983d367) Update docs/api.md - [`1a788f5`](https://github.com/ollama/ollama/commit/1a788f52431ebdf0be9a4cc615ae9c77e4e776f3) Update docs/api.md - [`3b11e16`](https://github.com/ollama/ollama/commit/3b11e163e3b083d7a6ae04dced38958cc45c3a34) Update docs/api.md ### 📊 Changes **1 file changed** (+27 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/api.md` (+27 -0) </details> ### 📄 Description This PR adds documentation for the `/api/version` endpoint to the Ollama API documentation. This endpoint allows clients to retrieve the Ollama server version, which is useful for ensuring compatibility with features that are dependent on specific server versions. The `/api/version` endpoint was added in a previous commit but was not documented. This PR addresses that omission. Resolves #8040 --- <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-29 14:15:22 -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#59314