[PR #1712] [MERGED] 1711 enhance workspace users api #3749

Closed
opened 2026-02-22 18:34:25 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/1712
Author: @lewismacnow
Created: 6/18/2024
Status: Merged
Merged: 6/18/2024
Merged by: @timothycarambat

Base: masterHead: 1711---Enhance-Workspace-Users-API


📝 Commits (2)

📊 Changes

2 files changed (+8 additions, -3 deletions)

View changed files

📝 server/models/workspace.js (+1 -0)
📝 server/swagger/openapi.json (+7 -3)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

Enahancement:

Alter the output of the workspaceId/users API
By updating the models/workspace.js workspaceUsers() function
resolves #1711

What is in this change?

Change 1:

Adds userId to this workspaceUsers function:

https://github.com/Mintplex-Labs/anything-llm/blob/1c473621aa7431778c1a472c038e97fa05a68639/server/models/workspace.js#L222

image

Change 2:

Adds userId and lastUpdateAt to associated Swagger docs:

https://github.com/Mintplex-Labs/anything-llm/blob/1c473621aa7431778c1a472c038e97fa05a68639/server/swagger/openapi.json#L529

image

Additional Information

None

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 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/Mintplex-Labs/anything-llm/pull/1712 **Author:** [@lewismacnow](https://github.com/lewismacnow) **Created:** 6/18/2024 **Status:** ✅ Merged **Merged:** 6/18/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `1711---Enhance-Workspace-Users-API` --- ### 📝 Commits (2) - [`4bc8f91`](https://github.com/Mintplex-Labs/anything-llm/commit/4bc8f9155fe88ec8844a77e0c123e727a298f074) Update workspace.js - [`6b892bb`](https://github.com/Mintplex-Labs/anything-llm/commit/6b892bb4d6b9940e34492df7f2dcaa57c32c85b5) Update openapi.json ### 📊 Changes **2 files changed** (+8 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `server/models/workspace.js` (+1 -0) 📝 `server/swagger/openapi.json` (+7 -3) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [x] 🐛 fix - [x] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [x] 📝 docs ### Relevant Issues Enahancement: Alter the output of the workspaceId/users API By updating the `models/workspace.js workspaceUsers()` function resolves #1711 ### What is in this change? Change 1: Adds userId to this workspaceUsers function: https://github.com/Mintplex-Labs/anything-llm/blob/1c473621aa7431778c1a472c038e97fa05a68639/server/models/workspace.js#L222 ![image](https://github.com/Mintplex-Labs/anything-llm/assets/93997957/f19a1a1f-11cf-4620-a555-a48139568036) Change 2: Adds userId and lastUpdateAt to associated Swagger docs: https://github.com/Mintplex-Labs/anything-llm/blob/1c473621aa7431778c1a472c038e97fa05a68639/server/swagger/openapi.json#L529 ![image](https://github.com/Mintplex-Labs/anything-llm/assets/93997957/b3f8b219-c847-40d4-a929-8dd6451a87c8) ### Additional Information None ### Developer Validations <!-- All of the applicable items should be checked. --> - [ ] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [ ] I have tested my code functionality - [ ] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:34:25 -05:00
yindo closed this issue 2026-02-22 18:34:25 -05:00
yindo changed title from [PR #1712] 1711 enhance workspace users api to [PR #1712] [MERGED] 1711 enhance workspace users api 2026-06-05 15:15:01 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3749