From 3e5aa3e4b31b894394226648445124997997fbc6 Mon Sep 17 00:00:00 2001 From: Oleg Kunitsyn Date: Thu, 26 Feb 2026 15:06:05 +0100 Subject: [PATCH 1/2] [ODM-13121] Update PC API flow --- .../attachment-transformation.md | 30 ++++++++++++++----- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/docs/user-guide/doc-odm-user-guide/attachment-transformation.md b/docs/user-guide/doc-odm-user-guide/attachment-transformation.md index 8b38405..5db26d1 100644 --- a/docs/user-guide/doc-odm-user-guide/attachment-transformation.md +++ b/docs/user-guide/doc-odm-user-guide/attachment-transformation.md @@ -41,6 +41,17 @@ GET `transformations/images`. Endpoint response example: "output_formats": [ "samples" ] + }, + { + "name": "metadata-basic", + "version": "0.0.3", + "description": "Basic converter from attachment to metadata", + "input_formats": [ + "csv" + ], + "output_formats": [ + "samples" + ] }, { "name": "metadata-basic", @@ -81,7 +92,7 @@ Let’s create configuration that allows image to place transformed `CSV` file t "data": { "source": "csv", "destination": "samples" - }, + }, "description": "Configuration which allows you to transform csv file into Sample group", "name": "csv to samples" } @@ -136,26 +147,28 @@ Initial request body: ```json { - "attachment_accession": "string", + "input_accessions": ["string"], "configuration_id": 1, "image_reference": { "name": "string", "version": "string" }, - "volume_size": 30 + "volume_size": 30, + "dry_run": false } ``` Fill in information about attachment genestack accession, configuration, image name and version: ```json { - "attachment_accession": "GSF016786", + "input_accessions": ["GSF016786"], "configuration_id": 294862386, "image_reference": { "name": "metadata-basic", - "version": "0.0.2" + "version": "0.0.3" }, - "volume_size": 30 + "volume_size": 30, + "dry_run": false } ``` @@ -175,11 +188,12 @@ To check the status of the Job use GET `transformations/jobs/{id}` endpoint: "$schema": "https://odm-processors-controller:8080/schemas/TransformationJobFields.json", "image_reference": { "name": "metadata-basic", - "version": "0.0.2" + "version": "0.0.3" }, - "attachment_accession": "GSF016786", + "input_accessions": ["GSF016786"], "configuration_id": 294862386, "volume_size": 30, + "dry_run": false, "create_time": "2025-10-31T12:28:57Z", "status": { "state": "TERMINATED" From 4cbb7788f6f51e420abc9ce5847178502209e52d Mon Sep 17 00:00:00 2001 From: Oleg Kunitsyn Date: Fri, 27 Feb 2026 11:00:34 +0100 Subject: [PATCH 2/2] [ODM-13121] Update state of job --- docs/user-guide/doc-odm-user-guide/attachment-transformation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-guide/doc-odm-user-guide/attachment-transformation.md b/docs/user-guide/doc-odm-user-guide/attachment-transformation.md index 5db26d1..acb447e 100644 --- a/docs/user-guide/doc-odm-user-guide/attachment-transformation.md +++ b/docs/user-guide/doc-odm-user-guide/attachment-transformation.md @@ -196,7 +196,7 @@ To check the status of the Job use GET `transformations/jobs/{id}` endpoint: "dry_run": false, "create_time": "2025-10-31T12:28:57Z", "status": { - "state": "TERMINATED" + "state": "DONE" } } ```