Promote an unnamed environment
Changed onGive an UNNAMED (ad-hoc) environment a name, promoting it IN PLACE — the same environment, now a permanent entry in the project's list, with the same id every existing run still points at.
The ONLY promotion path. PATCH /environments/{environmentId} renames an already-named environment and is admin-gated; this is member-gated and refuses a row that already has a name (409). The platform keeps them apart on purpose: routing promotion through the rename would either open it to members or leave ad-hoc rows unnameable.
Promotion also drops the content fingerprint, because a named environment is mutable: keeping it would let a later identical composition deduplicate onto a row that has since been edited into something else.
Request
- Base URLhttps://app.mcpjam.com/api/v1
- URLhttps://app.mcpjam.com/api/v1/projects/{projectId}/environments/{environmentId}/name
- AuthHTTP bearer
Path parameters
ID of the hosted project that contains the server.
Project environment ID, as returned by the project's environment list.
Request body
Response
The promoted environment.
Changes
- info
added the optional property
to the response with the status - info
the response optional property
became read-only for the status - info
added to the
response propertyallOflist for the response status - info
removed from the
response propertyallOflist for the response status
- info
- info
added the optional property
to the response with the status
- info