MCPcopy
hub / github.com/e-p-armstrong/augmentoolkit / fetchAvailableConfigAliases

Function fetchAvailableConfigAliases

atk-interface/src/api.js:135–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133 * @returns {Promise<string[]>} - A list of config alias strings.
134 */
135export const fetchAvailableConfigAliases = async () => {
136 // TODO: Verify/Implement the corresponding backend endpoint GET /configs/aliases
137 const url = getApiUrl('/configs/aliases'); // Assuming this endpoint exists
138 const response = await fetch(url);
139 // Use handleApiResponse which includes error handling
140 return handleApiResponse(response);
141};
142
143// --- Pipeline API ---
144

Callers 1

ConfigSelectorFunction · 0.90

Calls 2

getApiUrlFunction · 0.90
handleApiResponseFunction · 0.85

Tested by

no test coverage detected