[PR #2920] [MERGED] Add item sessions endpoint #3823

Closed
opened 2026-04-25 00:17:12 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/2920
Author: @rasmuslos
Created: 5/5/2024
Status: Merged
Merged: 5/23/2024
Merged by: @advplyr

Base: masterHead: master


📝 Commits (5)

  • d9f828c Added item sessions endpoint
  • ef74919 Merge branch 'advplyr:master' into master
  • 09e26a9 Use new database models, fix function name and use optional path parameter
  • 9c2ed27 Fix mediaId reference, add JS docs, autoformatting
  • 23dcf68 Item listening sessions endpoint returns 404 on not found media item

📊 Changes

2 files changed (+69 additions, -22 deletions)

View changed files

📝 server/controllers/MeController.js (+60 -19)
📝 server/routers/ApiRouter.js (+9 -3)

📄 Description

This endpoint allows API clients to request listing sessions for specific items. A possible use case for this would be to show the listing session of an audiobook on its page.


🔄 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/advplyr/audiobookshelf/pull/2920 **Author:** [@rasmuslos](https://github.com/rasmuslos) **Created:** 5/5/2024 **Status:** ✅ Merged **Merged:** 5/23/2024 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (5) - [`d9f828c`](https://github.com/advplyr/audiobookshelf/commit/d9f828c717b4c65b59579baa7e6bdcd6dc2d53f9) Added item sessions endpoint - [`ef74919`](https://github.com/advplyr/audiobookshelf/commit/ef74919f12be6f09d70555e4b291e0d5f46286d7) Merge branch 'advplyr:master' into master - [`09e26a9`](https://github.com/advplyr/audiobookshelf/commit/09e26a9e564e4540bff44633a31a82d048937c4d) Use new database models, fix function name and use optional path parameter - [`9c2ed27`](https://github.com/advplyr/audiobookshelf/commit/9c2ed279df5ae181670a0c2f9e35106238adb786) Fix mediaId reference, add JS docs, autoformatting - [`23dcf68`](https://github.com/advplyr/audiobookshelf/commit/23dcf684d9e1753975175c463c5080435e1a9006) Item listening sessions endpoint returns 404 on not found media item ### 📊 Changes **2 files changed** (+69 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `server/controllers/MeController.js` (+60 -19) 📝 `server/routers/ApiRouter.js` (+9 -3) </details> ### 📄 Description This endpoint allows API clients to request listing sessions for specific items. A possible use case for this would be to show the listing session of an audiobook on its page. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:17:12 +02:00
adam closed this issue 2026-04-25 00:17:12 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#3823