Skip to content

feat: promote VariableLibrary from portal-only to full API support#184

Open
itsnotaboutthecell wants to merge 1 commit intomicrosoft:mainfrom
itsnotaboutthecell:feature/variable-library-api-support
Open

feat: promote VariableLibrary from portal-only to full API support#184
itsnotaboutthecell wants to merge 1 commit intomicrosoft:mainfrom
itsnotaboutthecell:feature/variable-library-api-support

Conversation

@itsnotaboutthecell
Copy link

Variable Libraries now have a complete suite of REST APIs (Create, Delete, Get, List, Update, Get/Update Definition). This change reclassifies VariableLibrary from portal-only to API-supported by:

  • Moving VARIABLE_LIBRARY to the API section in ItemType enum
  • Moving format_mapping and uri_mapping entries to API sections
  • Adding definition_format_mapping entry for export/import support

All existing commands (mv, cp, export, import, set) continue to work. Generic handlers for mkdir, rm, get, and set now also apply correctly.

📥 Pull Request

✨ Description of new changes

Variable Libraries now have a complete suite of REST APIs (Create, Delete,
Get, List, Update, Get/Update Definition). This change reclassifies
VariableLibrary from portal-only to API-supported by:

- Moving VARIABLE_LIBRARY to the API section in ItemType enum
- Moving format_mapping and uri_mapping entries to API sections
- Adding definition_format_mapping entry for export/import support

All existing commands (mv, cp, export, import, set) continue to work.
Generic handlers for mkdir, rm, get, and set now also apply correctly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@itsnotaboutthecell itsnotaboutthecell requested a review from a team as a code owner March 7, 2026 21:01
@@ -0,0 +1,6 @@
kind: added
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
kind: added
kind: optimization

body: Promote VariableLibrary from portal-only to full API support, enabling create, get, set, rm, ls, export, import, cp, and mv commands via the Variable Library REST APIs
time: 2026-03-07T20:52:27.0056271Z
custom:
Author: v-alexmoraru
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Author: v-alexmoraru
Author: itsnotaboutthecell

time: 2026-03-07T20:52:27.0056271Z
custom:
Author: v-alexmoraru
AuthorLink: https://github.com/v-alexmoraru
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
AuthorLink: https://github.com/v-alexmoraru
AuthorLink: https://github.com/itsnotaboutthecell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants