[PR #2843] [MERGED] Append writable fields to dev API new workspace endpoint #4142

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/2843
Author: @shatfield4
Created: 12/16/2024
Status: Merged
Merged: 12/16/2024
Merged by: @timothycarambat

Base: masterHead: 2840-feat-api-endpoint-workspacenew-append-writable-fields-on-creation


📝 Commits (10+)

  • 346ad96 add writible fields to dev api new workspace endpoint
  • d2a55c4 Merge branch 'master' into 2840-feat-api-endpoint-workspacenew-append-writable-fields-on-creation
  • c0462c3 lint
  • e719740 implement validations for workspace model
  • 0170e06 update swagger comments
  • af55d5c Merge branch 'master' into 2840-feat-api-endpoint-workspacenew-append-writable-fields-on-creation
  • 9dd9170 Merge branch 'master' into 2840-feat-api-endpoint-workspacenew-append-writable-fields-on-creation
  • 3d2b036 simplify validations for workspace on frontend and API
  • 4a41c2d Merge branch '2840-feat-api-endpoint-workspacenew-append-writable-fields-on-creation' of github.com:Mintplex-Labs/anything-llm into 2840-feat-api-endpoint-workspacenew-append-writable-fields-on-creation
  • 6907348 cleanup validations

📊 Changes

3 files changed (+160 additions, -29 deletions)

View changed files

📝 server/endpoints/api/workspace/index.js (+20 -3)
📝 server/models/workspace.js (+128 -24)
📝 server/swagger/openapi.json (+12 -2)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #2840

What is in this change?

  • Allow all writable fields to be added to the /v1/workspace/new endpoint
  • Allows developers that are creating workspaces to create them with a specific configuration and avoid having to update the workspace after creation

Additional Information

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/2843 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 12/16/2024 **Status:** ✅ Merged **Merged:** 12/16/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `2840-feat-api-endpoint-workspacenew-append-writable-fields-on-creation` --- ### 📝 Commits (10+) - [`346ad96`](https://github.com/Mintplex-Labs/anything-llm/commit/346ad9667448b4d953f311ba5ab61801457cb2bd) add writible fields to dev api new workspace endpoint - [`d2a55c4`](https://github.com/Mintplex-Labs/anything-llm/commit/d2a55c40f3cf230ab758b81d240e3e9ef08759ea) Merge branch 'master' into 2840-feat-api-endpoint-workspacenew-append-writable-fields-on-creation - [`c0462c3`](https://github.com/Mintplex-Labs/anything-llm/commit/c0462c3b8e7c387975e60c3032f1be73207b14bf) lint - [`e719740`](https://github.com/Mintplex-Labs/anything-llm/commit/e719740bddda23ff193456517f5688a4e03af514) implement validations for workspace model - [`0170e06`](https://github.com/Mintplex-Labs/anything-llm/commit/0170e06a9e779032c45abbe631513ac08da087ba) update swagger comments - [`af55d5c`](https://github.com/Mintplex-Labs/anything-llm/commit/af55d5c175b2531ae0add251a9d277c9e826f781) Merge branch 'master' into 2840-feat-api-endpoint-workspacenew-append-writable-fields-on-creation - [`9dd9170`](https://github.com/Mintplex-Labs/anything-llm/commit/9dd917060b31bcbf8f1f9bba5a2bb62545845592) Merge branch 'master' into 2840-feat-api-endpoint-workspacenew-append-writable-fields-on-creation - [`3d2b036`](https://github.com/Mintplex-Labs/anything-llm/commit/3d2b036397af877d69001e3616302907d038a6d1) simplify validations for workspace on frontend and API - [`4a41c2d`](https://github.com/Mintplex-Labs/anything-llm/commit/4a41c2d9ac349aada9f70b71b7c40d35655b809f) Merge branch '2840-feat-api-endpoint-workspacenew-append-writable-fields-on-creation' of github.com:Mintplex-Labs/anything-llm into 2840-feat-api-endpoint-workspacenew-append-writable-fields-on-creation - [`6907348`](https://github.com/Mintplex-Labs/anything-llm/commit/6907348130b450675732d3987ece221ce812dde4) cleanup validations ### 📊 Changes **3 files changed** (+160 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `server/endpoints/api/workspace/index.js` (+20 -3) 📝 `server/models/workspace.js` (+128 -24) 📝 `server/swagger/openapi.json` (+12 -2) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #2840 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Allow all writable fields to be added to the `/v1/workspace/new` endpoint - Allows developers that are creating workspaces to create them with a specific configuration and avoid having to update the workspace after creation ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] 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:35:13 -05:00
yindo closed this issue 2026-02-22 18:35:14 -05:00
yindo changed title from [PR #2843] Append writable fields to dev API new workspace endpoint to [PR #2843] [MERGED] Append writable fields to dev API new workspace endpoint 2026-06-05 15:17:03 -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#4142