From 0d43e173af666c1a79642a335b09c04afb90168e Mon Sep 17 00:00:00 2001 From: Jin Yi Date: Wed, 30 Jul 2025 09:27:10 +0900 Subject: [PATCH] feat(api): Implement endpoint for bulk import failure info Adds the `/v2/customnode/import_fail_info_bulk` endpoint to allow fetching multiple import error statuses in a single request. --- openapi.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index d79b79ec..51611f5f 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -306,6 +306,35 @@ paths: '400': description: No information available + /v2/customnode/import_fail_info_bulk: + post: + summary: Get import failure information for multiple nodes + description: Returns information about why a list of nodes failed to import + tags: + - customnode + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + cnr_ids: + type: array + items: + type: string + urls: + type: array + items: + type: string + responses: + '200': + description: Successful operation + '400': + description: Bad Request or invalid input + '500': + description: Internal Server Error + /customnode/install/git_url: post: summary: Install custom node via Git URL