Skip to content

libica.openapi.v2.ProjectPipelineApi

All URIs are relative to /ica/rest

Method HTTP request Description
archive_project_pipeline POST /api/projects/{projectId}/pipelines/{pipelineId}:archive Archive a pipeline.
cancel_git_pipeline_import POST /api/projects/{projectId}/pipelines/{pipelineId}/import:cancel Cancel import of Git pipeline.
clone_project_pipeline POST /api/projects/{projectId}/pipelines/{pipelineId}:clone Clone a project pipeline.
create_additional_project_pipeline_file POST /api/projects/{projectId}/pipelines/{pipelineId}/inputForm/additionalFiles Create an additional input form file for a pipeline.
create_cwl_json_pipeline POST /api/projects/{projectId}/pipelines:createCwlJsonPipeline Create a JSON based CWL pipeline within a project.
create_cwl_pipeline POST /api/projects/{projectId}/pipelines:createCwlPipeline Create a CWL pipeline within a project.
create_nextflow_json_pipeline POST /api/projects/{projectId}/pipelines:createNextflowJsonPipeline Create a JSON based Nextflow pipeline within a project.
create_nextflow_pipeline POST /api/projects/{projectId}/pipelines:createNextflowPipeline Create a Nextflow pipeline within a project.
create_project_pipeline_file POST /api/projects/{projectId}/pipelines/{pipelineId}/files Create a file for a pipeline.
delete_additional_project_pipeline_file DELETE /api/projects/{projectId}/pipelines/{pipelineId}/inputForm/additionalFiles/{fileId} Delete an additional input form file for a pipeline.
delete_project_pipeline DELETE /api/projects/{projectId}/pipelines/{pipelineId}:delete Delete a pipeline.
delete_project_pipeline_file DELETE /api/projects/{projectId}/pipelines/{pipelineId}/files/{fileId} Delete a file for a pipeline.
deprecate_project_pipeline POST /api/projects/{projectId}/pipelines/{pipelineId}:deprecate Deprecate a pipeline.
download_additional_file_content GET /api/projects/{projectId}/pipelines/{pipelineId}/inputForm/additionalFiles/{fileId}/content Download the contents of an additional input form file.
download_input_form_file_content GET /api/projects/{projectId}/pipelines/{pipelineId}/inputForm/inputFormFile Download the contents of the input form file.
download_on_render_file_content GET /api/projects/{projectId}/pipelines/{pipelineId}/inputForm/onRenderFile Download the contents of the onRender file.
download_on_submit_file_content GET /api/projects/{projectId}/pipelines/{pipelineId}/inputForm/onSubmitFile Download the contents of the onSubmit file.
download_project_pipeline_file_content GET /api/projects/{projectId}/pipelines/{pipelineId}/files/{fileId}/content Download the contents of a pipeline file.
get_pipeline_groups GET /api/projects/{projectId}/pipelineGroups Retrieve a list of pipeline groups in a project.
get_pipeline_version_comment GET /api/projects/{projectId}/pipelines/{pipelineId}/versionComment Retrieve pipeline version comment.
get_pipelines_by_group GET /api/projects/{projectId}/pipelineGroups/{pipelineGroupId}/pipelines Retrieve a list of pipelines for a pipeline group in a project.
get_project_pipeline GET /api/projects/{projectId}/pipelines/{pipelineId} Retrieve a project pipeline.
get_project_pipeline_additional_files GET /api/projects/{projectId}/pipelines/{pipelineId}/inputForm/additionalFiles Retrieve additional input form files for a project pipeline.
get_project_pipeline_configuration_parameters GET /api/projects/{projectId}/pipelines/{pipelineId}/configurationParameters Retrieve configuration parameters for a project pipeline.
get_project_pipeline_files GET /api/projects/{projectId}/pipelines/{pipelineId}/files Retrieve files for a project pipeline.
get_project_pipeline_html_documentation GET /api/projects/{projectId}/pipelines/{pipelineId}/documentation/HTML Retrieve HTML documentation for a project pipeline.
get_project_pipeline_input_parameters GET /api/projects/{projectId}/pipelines/{pipelineId}/inputParameters Retrieve input parameters for a project pipeline.
get_project_pipeline_reference_sets GET /api/projects/{projectId}/pipelines/{pipelineId}/referenceSets Retrieve the reference sets of a project pipeline.
get_project_pipelines GET /api/projects/{projectId}/pipelines Retrieve a list of project pipelines.
import_git_pipeline POST /api/projects/{projectId}/pipelines:importGitPipeline Import a JSON based Git pipeline within a project.
link_pipeline_to_project POST /api/projects/{projectId}/pipelines/{pipelineId} Link a pipeline to a project.
release_project_pipeline POST /api/projects/{projectId}/pipelines/{pipelineId}:release Release a pipeline.
search_pipelines POST /api/projects/{projectId}/pipelines:search Search pipelines.
unlink_pipeline_from_project DELETE /api/projects/{projectId}/pipelines/{pipelineId} Unlink a pipeline from a project.
update_additional_file PUT /api/projects/{projectId}/pipelines/{pipelineId}/inputForm/additionalFiles/{fileId}/content Update the contents of an additional input form file.
update_general_attributes_project_pipeline POST /api/projects/{projectId}/pipelines/{pipelineId}/generalAttributes Update the general attributes of a project pipeline.
update_git_pipeline_status_to_draft POST /api/projects/{projectId}/pipelines/{pipelineId}:draft Update a git pipeline status to draft.
update_input_form_file PUT /api/projects/{projectId}/pipelines/{pipelineId}/inputForm/inputFormFile Update the contents of the input form file for a pipeline.
update_on_render_file PUT /api/projects/{projectId}/pipelines/{pipelineId}/inputForm/onRenderFile Update the contents of the onRender file for a pipeline.
update_on_submit_file PUT /api/projects/{projectId}/pipelines/{pipelineId}/inputForm/onSubmitFile Update the contents of the onSubmit file for a pipeline.
update_project_pipeline_file PUT /api/projects/{projectId}/pipelines/{pipelineId}/files/{fileId}/content Update the contents of a file for a pipeline.

archive_project_pipeline

archive_project_pipeline(project_id, pipeline_id)

Archive a pipeline.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.archive_pipeline import ArchivePipeline
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the pipeline
    archive_pipeline = ArchivePipeline(
        message="message_example",
    ) # ArchivePipeline |  (optional)

    # example passing only required values which don't have defaults set
    try:
        # Archive a pipeline.
        api_instance.archive_project_pipeline(project_id, pipeline_id)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->archive_project_pipeline: %s\n" % e)

    # example passing only required values which don't have defaults set
    # and optional values
    try:
        # Archive a pipeline.
        api_instance.archive_project_pipeline(project_id, pipeline_id, archive_pipeline=archive_pipeline)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->archive_project_pipeline: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the pipeline
archive_pipeline ArchivePipeline [optional]

Return type

void (empty response body)

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: application/vnd.illumina.v3+json, application/x-www-form-urlencoded, application/json
  • Accept: application/problem+json

HTTP response details

Status code Description Response headers
204 The pipeline is successfully archived. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

cancel_git_pipeline_import

PipelineV4 cancel_git_pipeline_import(project_id, pipeline_id)

Cancel import of Git pipeline.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.pipeline_v4 import PipelineV4
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the pipeline

    # example passing only required values which don't have defaults set
    try:
        # Cancel import of Git pipeline.
        api_response = api_instance.cancel_git_pipeline_import(project_id, pipeline_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->cancel_git_pipeline_import: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the pipeline

Return type

PipelineV4

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json, application/vnd.illumina.v3+json

HTTP response details

Status code Description Response headers
200 The import is successfully scheduled for cancelling. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

clone_project_pipeline

PipelineV4 clone_project_pipeline(project_id, pipeline_id, pipeline_clone)

Clone a project pipeline.

Attributes which can be updated: - name - version - versionComment - description - languageVersion - proprietary - iconName

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.pipeline_clone import PipelineClone
from libica.openapi.v2.model.pipeline_v4 import PipelineV4
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to clone
    pipeline_clone = PipelineClone(
        name="/B98JLe5iL60 aa -Ctq9d",
        version="jUR,rZ#UM/?R,Fp^l6$ARjQh",
        version_comment="version_comment_example",
        description="description_example",
        language_version="language_version_example",
        proprietary=True,
        icon_name="icon_name_example",
    ) # PipelineClone | 

    # example passing only required values which don't have defaults set
    try:
        # Clone a project pipeline.
        api_response = api_instance.clone_project_pipeline(project_id, pipeline_id, pipeline_clone)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->clone_project_pipeline: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to clone
pipeline_clone PipelineClone

Return type

PipelineV4

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: application/vnd.illumina.v4+json
  • Accept: application/problem+json, application/vnd.illumina.v4+json

HTTP response details

Status code Description Response headers
201 The pipeline is successfully cloned. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

create_additional_project_pipeline_file

PipelineFile create_additional_project_pipeline_file(project_id, pipeline_id, content)

Create an additional input form file for a pipeline.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.pipeline_file import PipelineFile
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to create a file for
    content = open('/path/to/file', 'rb') # file_type | 

    # example passing only required values which don't have defaults set
    try:
        # Create an additional input form file for a pipeline.
        api_response = api_instance.create_additional_project_pipeline_file(project_id, pipeline_id, content)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->create_additional_project_pipeline_file: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to create a file for
content file_type

Return type

PipelineFile

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: application/problem+json, application/vnd.illumina.v3+json

HTTP response details

Status code Description Response headers
201 The pipeline file is successfully created. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

create_cwl_json_pipeline

ProjectPipelineV4 create_cwl_json_pipeline(project_id, description, workflow_cwl_file, input_form_file, analysis_storage_id)

Create a JSON based CWL pipeline within a project.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.pipeline_report_config import PipelineReportConfig
from libica.openapi.v2.model.project_pipeline_v4 import ProjectPipelineV4
from libica.openapi.v2.model.pipeline_resources import PipelineResources
from libica.openapi.v2.model.links import Links
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    description = "description_example" # str | The description of the CWL pipeline
    workflow_cwl_file = open('/path/to/file', 'rb') # file_type | The CWL workflow file.
    input_form_file = open('/path/to/file', 'rb') # file_type | The JSON based input form.
    analysis_storage_id = "analysis_storage_id_example" # str | The id of the storage to use for the pipeline.
    code = "/B98JLe5iL60 aa -Ctq9d" # str, none_type | The code of the CWL pipeline. This is deprecated, use the name & version attributes instead (optional)
    name = "/B98JLe5iL60 aa -Ctq9d" # str, none_type | The name of the CWL pipeline (optional)
    tool_cwl_files = [
        open('/path/to/file', 'rb'),
    ] # [file_type] |  (optional)
    on_render_file = open('/path/to/file', 'rb') # file_type | A file with javascript that will be executed and can act on the current state of the input form while editing the form during render. (optional)
    on_submit_file = open('/path/to/file', 'rb') # file_type | A file with javascript that will be executed and can act on the current state of the input form on setting values when the analysis is submitted. (optional)
    on_finished_file = open('/path/to/file', 'rb') # file_type | A file with javascript that will be executed when an analysis reaches a final state and can act on the setting values and produced output files. (optional)
    other_input_form_files = [
        open('/path/to/file', 'rb'),
    ] # [file_type] |  (optional)
    metadata_model_file = open('/path/to/file', 'rb') # file_type, none_type | The metadata model json file(contents can be retrieved from the controlplane). (optional)
    links = Links(
        links=[
            Link(
                name="name_example",
                url="url_example",
            ),
        ],
        licenses=[
            Link(
                name="name_example",
                url="url_example",
            ),
        ],
        homepages=[
            Link(
                name="name_example",
                url="url_example",
            ),
        ],
        publications=[
            Link(
                name="name_example",
                url="url_example",
            ),
        ],
    ) # Links |  (optional)
    version_comment = "version_comment_example" # str, none_type |  (optional)
    categories = [
        "categories_example",
    ] # [str, none_type], none_type |  (optional)
    html_documentation = "html_documentation_example" # str, none_type |  (optional)
    proprietary = False # bool, none_type | A boolean which indicates if the code of this pipeline is proprietary (optional) if omitted the server will use the default value of False
    report_configs = PipelineReportConfig(
        configs=[
            Config(
                name="name_example",
                regex="regex_example",
                format="format_example",
                match_target="FILE_NAME",
            ),
        ],
    ) # PipelineReportConfig |  (optional)
    resources = PipelineResources(
        f1=True,
        f2=True,
        gpu=True,
        software_only=True,
    ) # PipelineResources |  (optional)
    version = "jUR,rZ#UM/?R,Fp^l6$ARjQh" # str, none_type | The version number of the pipeline. Use of semantic versioning is recommended but not enforced. (optional)
    icon_name = "icon_name_example" # str, none_type | The icon name of the pipeline (optional)

    # example passing only required values which don't have defaults set
    try:
        # Create a JSON based CWL pipeline within a project.
        api_response = api_instance.create_cwl_json_pipeline(project_id, description, workflow_cwl_file, input_form_file, analysis_storage_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->create_cwl_json_pipeline: %s\n" % e)

    # example passing only required values which don't have defaults set
    # and optional values
    try:
        # Create a JSON based CWL pipeline within a project.
        api_response = api_instance.create_cwl_json_pipeline(project_id, description, workflow_cwl_file, input_form_file, analysis_storage_id, code=code, name=name, tool_cwl_files=tool_cwl_files, on_render_file=on_render_file, on_submit_file=on_submit_file, on_finished_file=on_finished_file, other_input_form_files=other_input_form_files, metadata_model_file=metadata_model_file, links=links, version_comment=version_comment, categories=categories, html_documentation=html_documentation, proprietary=proprietary, report_configs=report_configs, resources=resources, version=version, icon_name=icon_name)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->create_cwl_json_pipeline: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
description str The description of the CWL pipeline
workflow_cwl_file file_type The CWL workflow file.
input_form_file file_type The JSON based input form.
analysis_storage_id str The id of the storage to use for the pipeline.
code str, none_type The code of the CWL pipeline. This is deprecated, use the name & version attributes instead [optional]
name str, none_type The name of the CWL pipeline [optional]
tool_cwl_files [file_type] [optional]
on_render_file file_type A file with javascript that will be executed and can act on the current state of the input form while editing the form during render. [optional]
on_submit_file file_type A file with javascript that will be executed and can act on the current state of the input form on setting values when the analysis is submitted. [optional]
on_finished_file file_type A file with javascript that will be executed when an analysis reaches a final state and can act on the setting values and produced output files. [optional]
other_input_form_files [file_type] [optional]
metadata_model_file file_type, none_type The metadata model json file(contents can be retrieved from the controlplane). [optional]
links Links [optional]
version_comment str, none_type [optional]
categories [str, none_type], none_type [optional]
html_documentation str, none_type [optional]
proprietary bool, none_type A boolean which indicates if the code of this pipeline is proprietary [optional] if omitted the server will use the default value of False
report_configs PipelineReportConfig [optional]
resources PipelineResources [optional]
version str, none_type The version number of the pipeline. Use of semantic versioning is recommended but not enforced. [optional]
icon_name str, none_type The icon name of the pipeline [optional]

Return type

ProjectPipelineV4

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: application/problem+json, application/vnd.illumina.v4+json

HTTP response details

Status code Description Response headers
201 The CWL pipeline is successfully created. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

create_cwl_pipeline

ProjectPipelineV4 create_cwl_pipeline(project_id, description, workflow_cwl_file, parameters_xml_file, analysis_storage_id)

Create a CWL pipeline within a project.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.pipeline_report_config import PipelineReportConfig
from libica.openapi.v2.model.project_pipeline_v4 import ProjectPipelineV4
from libica.openapi.v2.model.project_pipeline import ProjectPipeline
from libica.openapi.v2.model.pipeline_resources import PipelineResources
from libica.openapi.v2.model.links import Links
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    description = "description_example" # str | The description of the CWL pipeline
    workflow_cwl_file = open('/path/to/file', 'rb') # file_type | The CWL workflow file.
    parameters_xml_file = open('/path/to/file', 'rb') # file_type | 
    analysis_storage_id = "analysis_storage_id_example" # str | The id of the storage to use for the pipeline.
    code = "/B98JLe5iL60 aa -Ctq9d" # str, none_type | The code of the CWL pipeline. This is deprecated, use the name & version attributes instead (optional)
    name = "/B98JLe5iL60 aa -Ctq9d" # str, none_type | The name of the CWL pipeline (optional)
    tool_cwl_files = [
        open('/path/to/file', 'rb'),
    ] # [file_type] |  (optional)
    metadata_model_file = open('/path/to/file', 'rb') # file_type, none_type | The metadata model json file(contents can be retrieved from the controlplane). (optional)
    links = Links(
        links=[
            Link(
                name="name_example",
                url="url_example",
            ),
        ],
        licenses=[
            Link(
                name="name_example",
                url="url_example",
            ),
        ],
        homepages=[
            Link(
                name="name_example",
                url="url_example",
            ),
        ],
        publications=[
            Link(
                name="name_example",
                url="url_example",
            ),
        ],
    ) # Links |  (optional)
    version_comment = "version_comment_example" # str, none_type |  (optional)
    categories = [
        "categories_example",
    ] # [str, none_type], none_type |  (optional)
    html_documentation = "html_documentation_example" # str, none_type |  (optional)
    proprietary = False # bool, none_type | A boolean which indicates if the code of this pipeline is proprietary (optional) if omitted the server will use the default value of False
    report_configs = PipelineReportConfig(
        configs=[
            Config(
                name="name_example",
                regex="regex_example",
                format="format_example",
                match_target="FILE_NAME",
            ),
        ],
    ) # PipelineReportConfig |  (optional)
    resources = PipelineResources(
        f1=True,
        f2=True,
        gpu=True,
        software_only=True,
    ) # PipelineResources |  (optional)
    version = "jUR,rZ#UM/?R,Fp^l6$ARjQh" # str, none_type | The version number of the pipeline. Use of semantic versioning is recommended but not enforced. (optional)
    icon_name = "icon_name_example" # str, none_type | The icon name of the pipeline (optional)

    # example passing only required values which don't have defaults set
    try:
        # Create a CWL pipeline within a project.
        api_response = api_instance.create_cwl_pipeline(project_id, description, workflow_cwl_file, parameters_xml_file, analysis_storage_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->create_cwl_pipeline: %s\n" % e)

    # example passing only required values which don't have defaults set
    # and optional values
    try:
        # Create a CWL pipeline within a project.
        api_response = api_instance.create_cwl_pipeline(project_id, description, workflow_cwl_file, parameters_xml_file, analysis_storage_id, code=code, name=name, tool_cwl_files=tool_cwl_files, metadata_model_file=metadata_model_file, links=links, version_comment=version_comment, categories=categories, html_documentation=html_documentation, proprietary=proprietary, report_configs=report_configs, resources=resources, version=version, icon_name=icon_name)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->create_cwl_pipeline: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
description str The description of the CWL pipeline
workflow_cwl_file file_type The CWL workflow file.
parameters_xml_file file_type
analysis_storage_id str The id of the storage to use for the pipeline.
code str, none_type The code of the CWL pipeline. This is deprecated, use the name & version attributes instead [optional]
name str, none_type The name of the CWL pipeline [optional]
tool_cwl_files [file_type] [optional]
metadata_model_file file_type, none_type The metadata model json file(contents can be retrieved from the controlplane). [optional]
links Links [optional]
version_comment str, none_type [optional]
categories [str, none_type], none_type [optional]
html_documentation str, none_type [optional]
proprietary bool, none_type A boolean which indicates if the code of this pipeline is proprietary [optional] if omitted the server will use the default value of False
report_configs PipelineReportConfig [optional]
resources PipelineResources [optional]
version str, none_type The version number of the pipeline. Use of semantic versioning is recommended but not enforced. [optional]
icon_name str, none_type The icon name of the pipeline [optional]

Return type

ProjectPipelineV4

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: application/problem+json, application/vnd.illumina.v4+json, application/vnd.illumina.v3+json

HTTP response details

Status code Description Response headers
201 The CWL pipeline is successfully created. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

create_nextflow_json_pipeline

PipelineV4 create_nextflow_json_pipeline(project_id, description, main_nextflow_file, input_form_file, analysis_storage_id)

Create a JSON based Nextflow pipeline within a project.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.pipeline_report_config import PipelineReportConfig
from libica.openapi.v2.model.pipeline_resources import PipelineResources
from libica.openapi.v2.model.links import Links
from libica.openapi.v2.model.pipeline_v4 import PipelineV4
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    description = "description_example" # str | The description of the pipeline
    main_nextflow_file = open('/path/to/file', 'rb') # file_type | The main Nextflow file.
    input_form_file = open('/path/to/file', 'rb') # file_type | The JSON based input form.
    analysis_storage_id = "analysis_storage_id_example" # str | The id of the storage to use for the pipeline.
    code = "/B98JLe5iL60 aa -Ctq9d" # str, none_type | The code of the pipeline. This is deprecated, use the name & version attributes instead (optional)
    name = "/B98JLe5iL60 aa -Ctq9d" # str, none_type | The name of the pipeline (optional)
    pipeline_language_version_id = "pipeline_language_version_id_example" # str, none_type | The id of the Nextflow version to use for the pipeline. (optional)
    nextflow_config_file = open('/path/to/file', 'rb') # file_type | The Nextflow config file. (optional)
    other_nextflow_files = [
        open('/path/to/file', 'rb'),
    ] # [file_type] |  (optional)
    on_render_file = open('/path/to/file', 'rb') # file_type | A file with javascript that will be executed and can act on the current state of the input form while editing the form during render. (optional)
    on_submit_file = open('/path/to/file', 'rb') # file_type | A file with javascript that will be executed and can act on the current state of the input form on setting values when the analysis is submitted. (optional)
    on_finished_file = open('/path/to/file', 'rb') # file_type | A file with javascript that will be executed when an analysis reaches a final state and can act on the setting values and produced output files. (optional)
    other_input_form_files = [
        open('/path/to/file', 'rb'),
    ] # [file_type] |  (optional)
    metadata_model_file = open('/path/to/file', 'rb') # file_type, none_type | The metadata model json file(contents can be retrieved from the controlplane). (optional)
    links = Links(
        links=[
            Link(
                name="name_example",
                url="url_example",
            ),
        ],
        licenses=[
            Link(
                name="name_example",
                url="url_example",
            ),
        ],
        homepages=[
            Link(
                name="name_example",
                url="url_example",
            ),
        ],
        publications=[
            Link(
                name="name_example",
                url="url_example",
            ),
        ],
    ) # Links |  (optional)
    version_comment = "version_comment_example" # str, none_type |  (optional)
    html_documentation = "html_documentation_example" # str, none_type |  (optional)
    proprietary = False # bool, none_type | A boolean which indicates if the code of this pipeline is proprietary (optional) if omitted the server will use the default value of False
    report_configs = PipelineReportConfig(
        configs=[
            Config(
                name="name_example",
                regex="regex_example",
                format="format_example",
                match_target="FILE_NAME",
            ),
        ],
    ) # PipelineReportConfig |  (optional)
    resources = PipelineResources(
        f1=True,
        f2=True,
        gpu=True,
        software_only=True,
    ) # PipelineResources |  (optional)
    version = "jUR,rZ#UM/?R,Fp^l6$ARjQh" # str, none_type | The version number of the pipeline. Use of semantic versioning is recommended but not enforced. (optional)
    icon_name = "icon_name_example" # str, none_type | The icon name of the pipeline (optional)

    # example passing only required values which don't have defaults set
    try:
        # Create a JSON based Nextflow pipeline within a project.
        api_response = api_instance.create_nextflow_json_pipeline(project_id, description, main_nextflow_file, input_form_file, analysis_storage_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->create_nextflow_json_pipeline: %s\n" % e)

    # example passing only required values which don't have defaults set
    # and optional values
    try:
        # Create a JSON based Nextflow pipeline within a project.
        api_response = api_instance.create_nextflow_json_pipeline(project_id, description, main_nextflow_file, input_form_file, analysis_storage_id, code=code, name=name, pipeline_language_version_id=pipeline_language_version_id, nextflow_config_file=nextflow_config_file, other_nextflow_files=other_nextflow_files, on_render_file=on_render_file, on_submit_file=on_submit_file, on_finished_file=on_finished_file, other_input_form_files=other_input_form_files, metadata_model_file=metadata_model_file, links=links, version_comment=version_comment, html_documentation=html_documentation, proprietary=proprietary, report_configs=report_configs, resources=resources, version=version, icon_name=icon_name)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->create_nextflow_json_pipeline: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
description str The description of the pipeline
main_nextflow_file file_type The main Nextflow file.
input_form_file file_type The JSON based input form.
analysis_storage_id str The id of the storage to use for the pipeline.
code str, none_type The code of the pipeline. This is deprecated, use the name & version attributes instead [optional]
name str, none_type The name of the pipeline [optional]
pipeline_language_version_id str, none_type The id of the Nextflow version to use for the pipeline. [optional]
nextflow_config_file file_type The Nextflow config file. [optional]
other_nextflow_files [file_type] [optional]
on_render_file file_type A file with javascript that will be executed and can act on the current state of the input form while editing the form during render. [optional]
on_submit_file file_type A file with javascript that will be executed and can act on the current state of the input form on setting values when the analysis is submitted. [optional]
on_finished_file file_type A file with javascript that will be executed when an analysis reaches a final state and can act on the setting values and produced output files. [optional]
other_input_form_files [file_type] [optional]
metadata_model_file file_type, none_type The metadata model json file(contents can be retrieved from the controlplane). [optional]
links Links [optional]
version_comment str, none_type [optional]
html_documentation str, none_type [optional]
proprietary bool, none_type A boolean which indicates if the code of this pipeline is proprietary [optional] if omitted the server will use the default value of False
report_configs PipelineReportConfig [optional]
resources PipelineResources [optional]
version str, none_type The version number of the pipeline. Use of semantic versioning is recommended but not enforced. [optional]
icon_name str, none_type The icon name of the pipeline [optional]

Return type

PipelineV4

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: application/problem+json, application/vnd.illumina.v4+json

HTTP response details

Status code Description Response headers
201 The Nextflow pipeline is successfully created. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

create_nextflow_pipeline

ProjectPipelineV4 create_nextflow_pipeline(project_id, description, main_nextflow_file, parameters_xml_file, analysis_storage_id)

Create a Nextflow pipeline within a project.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.pipeline_report_config import PipelineReportConfig
from libica.openapi.v2.model.project_pipeline_v4 import ProjectPipelineV4
from libica.openapi.v2.model.project_pipeline import ProjectPipeline
from libica.openapi.v2.model.pipeline_resources import PipelineResources
from libica.openapi.v2.model.links import Links
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    description = "description_example" # str | The description of the pipeline
    main_nextflow_file = open('/path/to/file', 'rb') # file_type | The main Nextflow file.
    parameters_xml_file = open('/path/to/file', 'rb') # file_type | 
    analysis_storage_id = "analysis_storage_id_example" # str | The id of the storage to use for the pipeline.
    code = "/B98JLe5iL60 aa -Ctq9d" # str, none_type | The code of the pipeline. This is deprecated, use the name & version attributes instead (optional)
    name = "/B98JLe5iL60 aa -Ctq9d" # str, none_type | The name of the pipeline (optional)
    pipeline_language_version_id = "pipeline_language_version_id_example" # str, none_type | The id of the Nextflow version to use for the pipeline. (optional)
    nextflow_config_file = open('/path/to/file', 'rb') # file_type | The Nextflow config file. (optional)
    other_nextflow_files = [
        open('/path/to/file', 'rb'),
    ] # [file_type] |  (optional)
    metadata_model_file = open('/path/to/file', 'rb') # file_type, none_type | The metadata model json file(contents can be retrieved from the controlplane). (optional)
    links = Links(
        links=[
            Link(
                name="name_example",
                url="url_example",
            ),
        ],
        licenses=[
            Link(
                name="name_example",
                url="url_example",
            ),
        ],
        homepages=[
            Link(
                name="name_example",
                url="url_example",
            ),
        ],
        publications=[
            Link(
                name="name_example",
                url="url_example",
            ),
        ],
    ) # Links |  (optional)
    version_comment = "version_comment_example" # str, none_type |  (optional)
    html_documentation = "html_documentation_example" # str, none_type |  (optional)
    proprietary = False # bool, none_type | A boolean which indicates if the code of this pipeline is proprietary (optional) if omitted the server will use the default value of False
    report_configs = PipelineReportConfig(
        configs=[
            Config(
                name="name_example",
                regex="regex_example",
                format="format_example",
                match_target="FILE_NAME",
            ),
        ],
    ) # PipelineReportConfig |  (optional)
    resources = PipelineResources(
        f1=True,
        f2=True,
        gpu=True,
        software_only=True,
    ) # PipelineResources |  (optional)
    version = "jUR,rZ#UM/?R,Fp^l6$ARjQh" # str, none_type | The version number of the pipeline. Use of semantic versioning is recommended but not enforced. (optional)
    icon_name = "icon_name_example" # str, none_type | The icon name of the pipeline (optional)

    # example passing only required values which don't have defaults set
    try:
        # Create a Nextflow pipeline within a project.
        api_response = api_instance.create_nextflow_pipeline(project_id, description, main_nextflow_file, parameters_xml_file, analysis_storage_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->create_nextflow_pipeline: %s\n" % e)

    # example passing only required values which don't have defaults set
    # and optional values
    try:
        # Create a Nextflow pipeline within a project.
        api_response = api_instance.create_nextflow_pipeline(project_id, description, main_nextflow_file, parameters_xml_file, analysis_storage_id, code=code, name=name, pipeline_language_version_id=pipeline_language_version_id, nextflow_config_file=nextflow_config_file, other_nextflow_files=other_nextflow_files, metadata_model_file=metadata_model_file, links=links, version_comment=version_comment, html_documentation=html_documentation, proprietary=proprietary, report_configs=report_configs, resources=resources, version=version, icon_name=icon_name)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->create_nextflow_pipeline: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
description str The description of the pipeline
main_nextflow_file file_type The main Nextflow file.
parameters_xml_file file_type
analysis_storage_id str The id of the storage to use for the pipeline.
code str, none_type The code of the pipeline. This is deprecated, use the name & version attributes instead [optional]
name str, none_type The name of the pipeline [optional]
pipeline_language_version_id str, none_type The id of the Nextflow version to use for the pipeline. [optional]
nextflow_config_file file_type The Nextflow config file. [optional]
other_nextflow_files [file_type] [optional]
metadata_model_file file_type, none_type The metadata model json file(contents can be retrieved from the controlplane). [optional]
links Links [optional]
version_comment str, none_type [optional]
html_documentation str, none_type [optional]
proprietary bool, none_type A boolean which indicates if the code of this pipeline is proprietary [optional] if omitted the server will use the default value of False
report_configs PipelineReportConfig [optional]
resources PipelineResources [optional]
version str, none_type The version number of the pipeline. Use of semantic versioning is recommended but not enforced. [optional]
icon_name str, none_type The icon name of the pipeline [optional]

Return type

ProjectPipelineV4

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: application/problem+json, application/vnd.illumina.v4+json, application/vnd.illumina.v3+json

HTTP response details

Status code Description Response headers
201 The Nextflow pipeline is successfully created. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

create_project_pipeline_file

PipelineFile create_project_pipeline_file(project_id, pipeline_id, content)

Create a file for a pipeline.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.pipeline_file import PipelineFile
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to create a file for
    content = open('/path/to/file', 'rb') # file_type | 

    # example passing only required values which don't have defaults set
    try:
        # Create a file for a pipeline.
        api_response = api_instance.create_project_pipeline_file(project_id, pipeline_id, content)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->create_project_pipeline_file: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to create a file for
content file_type

Return type

PipelineFile

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: application/problem+json, application/vnd.illumina.v3+json

HTTP response details

Status code Description Response headers
201 The pipeline file is successfully created. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

delete_additional_project_pipeline_file

delete_additional_project_pipeline_file(project_id, pipeline_id, file_id)

Delete an additional input form file for a pipeline.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to delete an additional file for
    file_id = "fileId_example" # str | The ID of the pipeline file

    # example passing only required values which don't have defaults set
    try:
        # Delete an additional input form file for a pipeline.
        api_instance.delete_additional_project_pipeline_file(project_id, pipeline_id, file_id)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->delete_additional_project_pipeline_file: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to delete an additional file for
file_id str The ID of the pipeline file

Return type

void (empty response body)

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json

HTTP response details

Status code Description Response headers
204 The pipeline file is successfully deleted. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

delete_project_pipeline

delete_project_pipeline(project_id, pipeline_id)

Delete a pipeline.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | 

    # example passing only required values which don't have defaults set
    try:
        # Delete a pipeline.
        api_instance.delete_project_pipeline(project_id, pipeline_id)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->delete_project_pipeline: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str

Return type

void (empty response body)

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json

HTTP response details

Status code Description Response headers
204 The pipeline is successfully scheduled for deletion. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

delete_project_pipeline_file

delete_project_pipeline_file(project_id, pipeline_id, file_id)

Delete a file for a pipeline.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to delete a file for
    file_id = "fileId_example" # str | The ID of the pipeline file

    # example passing only required values which don't have defaults set
    try:
        # Delete a file for a pipeline.
        api_instance.delete_project_pipeline_file(project_id, pipeline_id, file_id)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->delete_project_pipeline_file: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to delete a file for
file_id str The ID of the pipeline file

Return type

void (empty response body)

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json

HTTP response details

Status code Description Response headers
204 The pipeline file is successfully deleted. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

deprecate_project_pipeline

deprecate_project_pipeline(project_id, pipeline_id)

Deprecate a pipeline.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.deprecate_pipeline import DeprecatePipeline
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the pipeline
    deprecate_pipeline = DeprecatePipeline(
        message="message_example",
    ) # DeprecatePipeline |  (optional)

    # example passing only required values which don't have defaults set
    try:
        # Deprecate a pipeline.
        api_instance.deprecate_project_pipeline(project_id, pipeline_id)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->deprecate_project_pipeline: %s\n" % e)

    # example passing only required values which don't have defaults set
    # and optional values
    try:
        # Deprecate a pipeline.
        api_instance.deprecate_project_pipeline(project_id, pipeline_id, deprecate_pipeline=deprecate_pipeline)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->deprecate_project_pipeline: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the pipeline
deprecate_pipeline DeprecatePipeline [optional]

Return type

void (empty response body)

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: application/vnd.illumina.v3+json, application/x-www-form-urlencoded, application/json
  • Accept: application/problem+json

HTTP response details

Status code Description Response headers
204 The pipeline is successfully deprecated. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

download_additional_file_content

file_type download_additional_file_content(project_id, pipeline_id, file_id)

Download the contents of an additional input form file.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to retrieve the additional file for
    file_id = "fileId_example" # str | The ID of the additional file

    # example passing only required values which don't have defaults set
    try:
        # Download the contents of an additional input form file.
        api_response = api_instance.download_additional_file_content(project_id, pipeline_id, file_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->download_additional_file_content: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to retrieve the additional file for
file_id str The ID of the additional file

Return type

file_type

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json, application/octet-stream

HTTP response details

Status code Description Response headers
200 The file is successfully downloaded. * Content-Disposition - Contains name of the additional file to be downloaded.
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

download_input_form_file_content

file_type download_input_form_file_content(project_id, pipeline_id)

Download the contents of the input form file.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to retrieve the input form file for

    # example passing only required values which don't have defaults set
    try:
        # Download the contents of the input form file.
        api_response = api_instance.download_input_form_file_content(project_id, pipeline_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->download_input_form_file_content: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to retrieve the input form file for

Return type

file_type

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json, application/octet-stream

HTTP response details

Status code Description Response headers
200 The input form file is successfully downloaded. * Content-Disposition - Contains name of the additional file to be downloaded.
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

download_on_render_file_content

file_type download_on_render_file_content(project_id, pipeline_id)

Download the contents of the onRender file.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to retrieve the onRender file for

    # example passing only required values which don't have defaults set
    try:
        # Download the contents of the onRender file.
        api_response = api_instance.download_on_render_file_content(project_id, pipeline_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->download_on_render_file_content: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to retrieve the onRender file for

Return type

file_type

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json, application/octet-stream

HTTP response details

Status code Description Response headers
200 The onRender file is successfully downloaded. * Content-Disposition - Contains name of the additional file to be downloaded.
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

download_on_submit_file_content

file_type download_on_submit_file_content(project_id, pipeline_id)

Download the contents of the onSubmit file.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to retrieve the onSubmit file for

    # example passing only required values which don't have defaults set
    try:
        # Download the contents of the onSubmit file.
        api_response = api_instance.download_on_submit_file_content(project_id, pipeline_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->download_on_submit_file_content: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to retrieve the onSubmit file for

Return type

file_type

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json, application/octet-stream

HTTP response details

Status code Description Response headers
200 The onSubmit file is successfully downloaded. * Content-Disposition - Contains name of the additional file to be downloaded.
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

download_project_pipeline_file_content

file_type download_project_pipeline_file_content(project_id, pipeline_id, file_id)

Download the contents of a pipeline file.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to retrieve files for
    file_id = "fileId_example" # str | The ID of the pipeline file

    # example passing only required values which don't have defaults set
    try:
        # Download the contents of a pipeline file.
        api_response = api_instance.download_project_pipeline_file_content(project_id, pipeline_id, file_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->download_project_pipeline_file_content: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to retrieve files for
file_id str The ID of the pipeline file

Return type

file_type

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json, application/octet-stream

HTTP response details

Status code Description Response headers
200 The pipeline file is successfully downloaded. * Content-Disposition - Contains name of the additional file to be downloaded.
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_pipeline_groups

PipelineGroupPagedList get_pipeline_groups(project_id)

Retrieve a list of pipeline groups in a project.

Returns a paginated list of all pipeline groups in a project.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.pipeline_group_paged_list import PipelineGroupPagedList
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | The ID of the project
    page_offset = "pageOffset_example" # str | [only use with offset-based paging]<br>The amount of rows to skip in the result. Ideally this is a multiple of the size parameter. Offset-based pagination has a result limit of 200K rows and does not guarantee unique results across pages (optional)
    page_token = "pageToken_example" # str | [only use with cursor-based paging]<br>The cursor to get subsequent results. The value to use is returned in the result when using cursor-based pagination. Cursor-based pagination guarantees complete and unique results across all pages. (optional)
    page_size = "pageSize_example" # str | [can be used with both offset- and cursor-based paging]<br>The amount of rows to return. Use in combination with the offset (when using offset-based pagination) or cursor (when using cursor-based pagination) parameter to get subsequent results (optional)

    # example passing only required values which don't have defaults set
    try:
        # Retrieve a list of pipeline groups in a project.
        api_response = api_instance.get_pipeline_groups(project_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->get_pipeline_groups: %s\n" % e)

    # example passing only required values which don't have defaults set
    # and optional values
    try:
        # Retrieve a list of pipeline groups in a project.
        api_response = api_instance.get_pipeline_groups(project_id, page_offset=page_offset, page_token=page_token, page_size=page_size)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->get_pipeline_groups: %s\n" % e)

Parameters

Name Type Description Notes
project_id str The ID of the project
page_offset str [only use with offset-based paging]<br>The amount of rows to skip in the result. Ideally this is a multiple of the size parameter. Offset-based pagination has a result limit of 200K rows and does not guarantee unique results across pages [optional]
page_token str [only use with cursor-based paging]<br>The cursor to get subsequent results. The value to use is returned in the result when using cursor-based pagination. Cursor-based pagination guarantees complete and unique results across all pages. [optional]
page_size str [can be used with both offset- and cursor-based paging]<br>The amount of rows to return. Use in combination with the offset (when using offset-based pagination) or cursor (when using cursor-based pagination) parameter to get subsequent results [optional]

Return type

PipelineGroupPagedList

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json, application/vnd.illumina.v3+json

HTTP response details

Status code Description Response headers
200 The list of pipeline groups is successfully retrieved. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_pipeline_version_comment

PipelineVersionComment get_pipeline_version_comment(project_id, pipeline_id)

Retrieve pipeline version comment.

Returns the version comment for a specific pipeline.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.pipeline_version_comment import PipelineVersionComment
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | 

    # example passing only required values which don't have defaults set
    try:
        # Retrieve pipeline version comment.
        api_response = api_instance.get_pipeline_version_comment(project_id, pipeline_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->get_pipeline_version_comment: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str

Return type

PipelineVersionComment

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json, application/vnd.illumina.v3+json

HTTP response details

Status code Description Response headers
200 The pipeline version comment is successfully retrieved. -
404 The project or pipeline was not found. -
403 Access to the project or pipeline is forbidden. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_pipelines_by_group

PipelinePagedListV4 get_pipelines_by_group(project_id, pipeline_group_id)

Retrieve a list of pipelines for a pipeline group in a project.

Returns a paginated list of all pipelines for a pipeline group in a project.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.pipeline_paged_list_v4 import PipelinePagedListV4
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | The ID of the project
    pipeline_group_id = "pipelineGroupId_example" # str | The ID of the pipeline group
    include_pipeline_usage = "includePipelineUsage_example" # str | Include pipeline usage information in response (optional)
    page_offset = "pageOffset_example" # str | [only use with offset-based paging]<br>The amount of rows to skip in the result. Ideally this is a multiple of the size parameter. Offset-based pagination has a result limit of 200K rows and does not guarantee unique results across pages (optional)
    page_token = "pageToken_example" # str | [only use with cursor-based paging]<br>The cursor to get subsequent results. The value to use is returned in the result when using cursor-based pagination. Cursor-based pagination guarantees complete and unique results across all pages. (optional)
    page_size = "pageSize_example" # str | [can be used with both offset- and cursor-based paging]<br>The amount of rows to return. Use in combination with the offset (when using offset-based pagination) or cursor (when using cursor-based pagination) parameter to get subsequent results (optional)
    sort = "sort_example" # str | [only use with offset-based paging]<br>Which field to order the results by. The default order is ascending, suffix with ' desc' to sort descending (suffix ' asc' also works for ascending). Additionally suffix with 'nulls last' or 'nulls first' to change the default null handling behavior when sorting. Multiple values should be separated with commas. An example: \"?sort=sortAttribute1, sortAttribute2 desc nulls last\"  The attributes for which sorting is supported: - version  (optional)

    # example passing only required values which don't have defaults set
    try:
        # Retrieve a list of pipelines for a pipeline group in a project.
        api_response = api_instance.get_pipelines_by_group(project_id, pipeline_group_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->get_pipelines_by_group: %s\n" % e)

    # example passing only required values which don't have defaults set
    # and optional values
    try:
        # Retrieve a list of pipelines for a pipeline group in a project.
        api_response = api_instance.get_pipelines_by_group(project_id, pipeline_group_id, include_pipeline_usage=include_pipeline_usage, page_offset=page_offset, page_token=page_token, page_size=page_size, sort=sort)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->get_pipelines_by_group: %s\n" % e)

Parameters

Name Type Description Notes
project_id str The ID of the project
pipeline_group_id str The ID of the pipeline group
include_pipeline_usage str Include pipeline usage information in response [optional]
page_offset str [only use with offset-based paging]<br>The amount of rows to skip in the result. Ideally this is a multiple of the size parameter. Offset-based pagination has a result limit of 200K rows and does not guarantee unique results across pages [optional]
page_token str [only use with cursor-based paging]<br>The cursor to get subsequent results. The value to use is returned in the result when using cursor-based pagination. Cursor-based pagination guarantees complete and unique results across all pages. [optional]
page_size str [can be used with both offset- and cursor-based paging]<br>The amount of rows to return. Use in combination with the offset (when using offset-based pagination) or cursor (when using cursor-based pagination) parameter to get subsequent results [optional]
sort str [only use with offset-based paging]<br>Which field to order the results by. The default order is ascending, suffix with ' desc' to sort descending (suffix ' asc' also works for ascending). Additionally suffix with 'nulls last' or 'nulls first' to change the default null handling behavior when sorting. Multiple values should be separated with commas. An example: \"?sort=sortAttribute1, sortAttribute2 desc nulls last\" The attributes for which sorting is supported: - version [optional]

Return type

PipelinePagedListV4

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json, application/vnd.illumina.v3+json

HTTP response details

Status code Description Response headers
200 The list of pipelines is successfully retrieved. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_project_pipeline

ProjectPipelineV4 get_project_pipeline(project_id, pipeline_id)

Retrieve a project pipeline.

Retrieves a project pipeline. This can be a pipeline from a linked bundle or an entitled, unlinked bundle.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.project_pipeline_v4 import ProjectPipelineV4
from libica.openapi.v2.model.project_pipeline import ProjectPipeline
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to retrieve

    # example passing only required values which don't have defaults set
    try:
        # Retrieve a project pipeline.
        api_response = api_instance.get_project_pipeline(project_id, pipeline_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->get_project_pipeline: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to retrieve

Return type

ProjectPipelineV4

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json, application/vnd.illumina.v4+json, application/vnd.illumina.v3+json

HTTP response details

Status code Description Response headers
200 The project pipeline is successfully retrieved. * ETag - The current version of the resource. Can be passed to the corresponding PUT endpoint to enable conflict exposure (409 response).
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_project_pipeline_additional_files

PipelineFileList get_project_pipeline_additional_files(project_id, pipeline_id)

Retrieve additional input form files for a project pipeline.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.pipeline_file_list import PipelineFileList
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to retrieve files for

    # example passing only required values which don't have defaults set
    try:
        # Retrieve additional input form files for a project pipeline.
        api_response = api_instance.get_project_pipeline_additional_files(project_id, pipeline_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->get_project_pipeline_additional_files: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to retrieve files for

Return type

PipelineFileList

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json, application/vnd.illumina.v3+json

HTTP response details

Status code Description Response headers
200 The files are successfully retrieved. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_project_pipeline_configuration_parameters

PipelineConfigurationParameterList get_project_pipeline_configuration_parameters(project_id, pipeline_id)

Retrieve configuration parameters for a project pipeline.

The pipeline can originate from a linked bundle.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.pipeline_configuration_parameter_list import PipelineConfigurationParameterList
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to retrieve input parameters for

    # example passing only required values which don't have defaults set
    try:
        # Retrieve configuration parameters for a project pipeline.
        api_response = api_instance.get_project_pipeline_configuration_parameters(project_id, pipeline_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->get_project_pipeline_configuration_parameters: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to retrieve input parameters for

Return type

PipelineConfigurationParameterList

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json, application/vnd.illumina.v3+json

HTTP response details

Status code Description Response headers
200 The configuration parameters are successfully retrieved. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_project_pipeline_files

PipelineFileList get_project_pipeline_files(project_id, pipeline_id)

Retrieve files for a project pipeline.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.pipeline_file_list import PipelineFileList
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to retrieve files for

    # example passing only required values which don't have defaults set
    try:
        # Retrieve files for a project pipeline.
        api_response = api_instance.get_project_pipeline_files(project_id, pipeline_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->get_project_pipeline_files: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to retrieve files for

Return type

PipelineFileList

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json, application/vnd.illumina.v3+json

HTTP response details

Status code Description Response headers
200 The files are successfully retrieved. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_project_pipeline_html_documentation

PipelineHtmlDocumentation get_project_pipeline_html_documentation(project_id, pipeline_id)

Retrieve HTML documentation for a project pipeline.

Retrieve HTML documentation for a project pipeline. This can be a pipeline from a linked bundle.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.pipeline_html_documentation import PipelineHtmlDocumentation
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to retrieve HTML documentation from

    # example passing only required values which don't have defaults set
    try:
        # Retrieve HTML documentation for a project pipeline.
        api_response = api_instance.get_project_pipeline_html_documentation(project_id, pipeline_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->get_project_pipeline_html_documentation: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to retrieve HTML documentation from

Return type

PipelineHtmlDocumentation

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json, application/vnd.illumina.v3+json

HTTP response details

Status code Description Response headers
200 The HTML documentation is successfully retrieved. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_project_pipeline_input_parameters

InputParameterList get_project_pipeline_input_parameters(project_id, pipeline_id)

Retrieve input parameters for a project pipeline.

The pipeline can originate from a linked bundle.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.input_parameter_list import InputParameterList
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to retrieve input parameters for

    # example passing only required values which don't have defaults set
    try:
        # Retrieve input parameters for a project pipeline.
        api_response = api_instance.get_project_pipeline_input_parameters(project_id, pipeline_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->get_project_pipeline_input_parameters: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to retrieve input parameters for

Return type

InputParameterList

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json, application/vnd.illumina.v3+json

HTTP response details

Status code Description Response headers
200 The input parameters are successfully retrieved. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_project_pipeline_reference_sets

ReferenceSetList get_project_pipeline_reference_sets(project_id, pipeline_id)

Retrieve the reference sets of a project pipeline.

Retrieve the reference sets of a project pipeline. This can be a pipeline from a linked bundle.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.reference_set_list import ReferenceSetList
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the pipeline to retrieve reference sets for

    # example passing only required values which don't have defaults set
    try:
        # Retrieve the reference sets of a project pipeline.
        api_response = api_instance.get_project_pipeline_reference_sets(project_id, pipeline_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->get_project_pipeline_reference_sets: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the pipeline to retrieve reference sets for

Return type

ReferenceSetList

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json, application/vnd.illumina.v3+json

HTTP response details

Status code Description Response headers
200 The list of reference sets is successfully retrieved. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_project_pipelines

ProjectPipelineListV4 get_project_pipelines(project_id)

Retrieve a list of project pipelines.

Lists all pipelines that are available to the project.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.project_pipeline_list_v4 import ProjectPipelineListV4
from libica.openapi.v2.model.project_pipeline_list import ProjectPipelineList
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | The ID of the project to retrieve pipelines for

    # example passing only required values which don't have defaults set
    try:
        # Retrieve a list of project pipelines.
        api_response = api_instance.get_project_pipelines(project_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->get_project_pipelines: %s\n" % e)

Parameters

Name Type Description Notes
project_id str The ID of the project to retrieve pipelines for

Return type

ProjectPipelineListV4

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json, application/vnd.illumina.v4+json, application/vnd.illumina.v3+json

HTTP response details

Status code Description Response headers
200 The list of project pipelines is successfully retrieved. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

import_git_pipeline

PipelineV4 import_git_pipeline(project_id, language, default_storage_type, version, repository_url, commit_id)

Import a JSON based Git pipeline within a project.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.pipeline_report_config import PipelineReportConfig
from libica.openapi.v2.model.pipeline_v4 import PipelineV4
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    language = "UNKNOW" # str | The language that is used by the pipeline
    default_storage_type = "default_storage_type_example" # str | The type of the compute storage.
    version = "version_example" # str | The version number of the pipeline. Use of semantic versioning is recommended but not enforced.
    repository_url = "repository_url_example" # str | URL to the repository
    commit_id = "commit_id_example" # str | Id of the git commit
    code = "/B98JLe5iL60 aa -Ctq9d" # str, none_type | The code of the pipeline. This is deprecated, use the name & version attributes instead (optional)
    name = "/B98JLe5iL60 aa -Ctq9d" # str, none_type | The name of the pipeline (optional)
    description = "description_example" # str, none_type | The description of the pipeline (optional)
    proprietary = False # bool, none_type | A boolean which indicates if the code of this pipeline is proprietary (optional) if omitted the server will use the default value of False
    report_configs = PipelineReportConfig(
        configs=[
            Config(
                name="name_example",
                regex="regex_example",
                format="format_example",
                match_target="FILE_NAME",
            ),
        ],
    ) # PipelineReportConfig |  (optional)
    git_credential_id = "git_credential_id_example" # str | Id of the git credential (optional)
    main_file_path = "main_file_path_example" # str, none_type | Path of the main file (optional)
    config_file_path = "config_file_path_example" # str, none_type | Path of the config file (optional)
    schema_file_path = "schema_file_path_example" # str, none_type | Path of the schema file (optional)
    icon_name = "icon_name_example" # str, none_type | The icon name of the pipeline (optional)

    # example passing only required values which don't have defaults set
    try:
        # Import a JSON based Git pipeline within a project.
        api_response = api_instance.import_git_pipeline(project_id, language, default_storage_type, version, repository_url, commit_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->import_git_pipeline: %s\n" % e)

    # example passing only required values which don't have defaults set
    # and optional values
    try:
        # Import a JSON based Git pipeline within a project.
        api_response = api_instance.import_git_pipeline(project_id, language, default_storage_type, version, repository_url, commit_id, code=code, name=name, description=description, proprietary=proprietary, report_configs=report_configs, git_credential_id=git_credential_id, main_file_path=main_file_path, config_file_path=config_file_path, schema_file_path=schema_file_path, icon_name=icon_name)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->import_git_pipeline: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
language str The language that is used by the pipeline
default_storage_type str The type of the compute storage.
version str The version number of the pipeline. Use of semantic versioning is recommended but not enforced.
repository_url str URL to the repository
commit_id str Id of the git commit
code str, none_type The code of the pipeline. This is deprecated, use the name & version attributes instead [optional]
name str, none_type The name of the pipeline [optional]
description str, none_type The description of the pipeline [optional]
proprietary bool, none_type A boolean which indicates if the code of this pipeline is proprietary [optional] if omitted the server will use the default value of False
report_configs PipelineReportConfig [optional]
git_credential_id str Id of the git credential [optional]
main_file_path str, none_type Path of the main file [optional]
config_file_path str, none_type Path of the config file [optional]
schema_file_path str, none_type Path of the schema file [optional]
icon_name str, none_type The icon name of the pipeline [optional]

Return type

PipelineV4

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: application/problem+json, application/vnd.illumina.v4+json

HTTP response details

Status code Description Response headers
200 The pipeline is successfully scheduled for importing -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

link_pipeline_to_project

link_pipeline_to_project(project_id, pipeline_id)

Link a pipeline to a project.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the pipeline

    # example passing only required values which don't have defaults set
    try:
        # Link a pipeline to a project.
        api_instance.link_pipeline_to_project(project_id, pipeline_id)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->link_pipeline_to_project: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the pipeline

Return type

void (empty response body)

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json

HTTP response details

Status code Description Response headers
204 The pipeline is successfully linked to the project. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

release_project_pipeline

release_project_pipeline(project_id, pipeline_id)

Release a pipeline.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the pipeline

    # example passing only required values which don't have defaults set
    try:
        # Release a pipeline.
        api_instance.release_project_pipeline(project_id, pipeline_id)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->release_project_pipeline: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the pipeline

Return type

void (empty response body)

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json

HTTP response details

Status code Description Response headers
204 The pipeline is successfully released. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

search_pipelines

PipelinePagedListV4 search_pipelines(project_id)

Search pipelines.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.pipeline_query import PipelineQuery
from libica.openapi.v2.model.pipeline_paged_list_v4 import PipelinePagedListV4
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | The ID of the project
    include_pipeline_usage = "includePipelineUsage_example" # str | Include pipeline usage information in response (optional)
    page_offset = "pageOffset_example" # str | [only use with offset-based paging]<br>The amount of rows to skip in the result. Ideally this is a multiple of the size parameter. Offset-based pagination has a result limit of 200K rows and does not guarantee unique results across pages (optional)
    page_token = "pageToken_example" # str | [only use with cursor-based paging]<br>The cursor to get subsequent results. The value to use is returned in the result when using cursor-based pagination. Cursor-based pagination guarantees complete and unique results across all pages. (optional)
    page_size = "pageSize_example" # str | [can be used with both offset- and cursor-based paging]<br>The amount of rows to return. Use in combination with the offset (when using offset-based pagination) or cursor (when using cursor-based pagination) parameter to get subsequent results (optional)
    sort = "sort_example" # str | [only use with offset-based paging]<br>Which field to order the results by. The default order is ascending, suffix with ' desc' to sort descending (suffix ' asc' also works for ascending). Additionally suffix with 'nulls last' or 'nulls first' to change the default null handling behavior when sorting. Multiple values should be separated with commas. An example: \"?sort=sortAttribute1, sortAttribute2 desc nulls last\"  The attributes for which sorting is supported: - id - pinned - name - lastUsed - status - description - language  (optional)
    pipeline_query = PipelineQuery(
        ids=[
            "ids_example",
        ],
        pipeline_groups=[
            "pipeline_groups_example",
        ],
        name=StringQuery(
            equals="equals_example",
            contains="contains_example",
            starts_with="starts_with_example",
        ),
        version=StringQuery(
            equals="equals_example",
            contains="contains_example",
            starts_with="starts_with_example",
        ),
        description=StringQuery(
            equals="equals_example",
            contains="contains_example",
            starts_with="starts_with_example",
        ),
        statuses=[
            "Import Cancelling",
        ],
        pipeline_language="CW",
        pipeline_language_version_status=PipelineLanguageVersionStatusQuery(
            values=[
                "Not Supporte",
            ],
            match_mode="EXCLUD",
        ),
        last_used=DateQuery(
            before=dateutil_parser('1970-01-01T00:00:00.00Z'),
            after=dateutil_parser('1970-01-01T00:00:00.00Z'),
            empty=True,
        ),
        pinned=True,
        owners=[
            "owners_example",
        ],
        number_of_versions_to_include_for_each_pipeline_group=1,
    ) # PipelineQuery |  (optional)

    # example passing only required values which don't have defaults set
    try:
        # Search pipelines.
        api_response = api_instance.search_pipelines(project_id)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->search_pipelines: %s\n" % e)

    # example passing only required values which don't have defaults set
    # and optional values
    try:
        # Search pipelines.
        api_response = api_instance.search_pipelines(project_id, include_pipeline_usage=include_pipeline_usage, page_offset=page_offset, page_token=page_token, page_size=page_size, sort=sort, pipeline_query=pipeline_query)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->search_pipelines: %s\n" % e)

Parameters

Name Type Description Notes
project_id str The ID of the project
include_pipeline_usage str Include pipeline usage information in response [optional]
page_offset str [only use with offset-based paging]<br>The amount of rows to skip in the result. Ideally this is a multiple of the size parameter. Offset-based pagination has a result limit of 200K rows and does not guarantee unique results across pages [optional]
page_token str [only use with cursor-based paging]<br>The cursor to get subsequent results. The value to use is returned in the result when using cursor-based pagination. Cursor-based pagination guarantees complete and unique results across all pages. [optional]
page_size str [can be used with both offset- and cursor-based paging]<br>The amount of rows to return. Use in combination with the offset (when using offset-based pagination) or cursor (when using cursor-based pagination) parameter to get subsequent results [optional]
sort str [only use with offset-based paging]<br>Which field to order the results by. The default order is ascending, suffix with ' desc' to sort descending (suffix ' asc' also works for ascending). Additionally suffix with 'nulls last' or 'nulls first' to change the default null handling behavior when sorting. Multiple values should be separated with commas. An example: \"?sort=sortAttribute1, sortAttribute2 desc nulls last\" The attributes for which sorting is supported: - id - pinned - name - lastUsed - status - description - language [optional]
pipeline_query PipelineQuery [optional]

Return type

PipelinePagedListV4

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: application/vnd.illumina.v3+json, application/json
  • Accept: application/problem+json, application/vnd.illumina.v3+json

HTTP response details

Status code Description Response headers
200 The list of project pipelines is successfully retrieved. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

unlink_pipeline_from_project

unlink_pipeline_from_project(project_id, pipeline_id)

Unlink a pipeline from a project.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the pipeline

    # example passing only required values which don't have defaults set
    try:
        # Unlink a pipeline from a project.
        api_instance.unlink_pipeline_from_project(project_id, pipeline_id)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->unlink_pipeline_from_project: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the pipeline

Return type

void (empty response body)

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json

HTTP response details

Status code Description Response headers
204 The pipeline is successfully unlinked from the project. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

update_additional_file

update_additional_file(project_id, pipeline_id, file_id, content)

Update the contents of an additional input form file.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to update the additional file for
    file_id = "fileId_example" # str | The ID of the additional file
    content = open('/path/to/file', 'rb') # file_type | 

    # example passing only required values which don't have defaults set
    try:
        # Update the contents of an additional input form file.
        api_instance.update_additional_file(project_id, pipeline_id, file_id, content)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->update_additional_file: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to update the additional file for
file_id str The ID of the additional file
content file_type

Return type

void (empty response body)

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: application/problem+json

HTTP response details

Status code Description Response headers
200 The file is successfully updated. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

update_general_attributes_project_pipeline

PipelineV4 update_general_attributes_project_pipeline(project_id, pipeline_id, pipeline_update)

Update the general attributes of a project pipeline.

Attributes which can be updated: - code (deprecated, use name & version instead) - name - version - versionComment - description - languageVersion - proprietary - iconName

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.pipeline_update import PipelineUpdate
from libica.openapi.v2.model.pipeline_v4 import PipelineV4
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to update
    pipeline_update = PipelineUpdate(
        code="/B98JLe5iL60 aa -Ctq9d",
        name="/B98JLe5iL60 aa -Ctq9d",
        version="jUR,rZ#UM/?R,Fp^l6$ARjQh",
        version_comment="version_comment_example",
        description="description_example",
        language_version="language_version_example",
        proprietary=True,
        resources=PipelineResources(
            f1=True,
            f2=True,
            gpu=True,
            software_only=True,
        ),
        icon_name="icon_name_example",
    ) # PipelineUpdate | 

    # example passing only required values which don't have defaults set
    try:
        # Update the general attributes of a project pipeline.
        api_response = api_instance.update_general_attributes_project_pipeline(project_id, pipeline_id, pipeline_update)
        pprint(api_response)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->update_general_attributes_project_pipeline: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to update
pipeline_update PipelineUpdate

Return type

PipelineV4

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: application/vnd.illumina.v4+json
  • Accept: application/problem+json, application/vnd.illumina.v4+json

HTTP response details

Status code Description Response headers
200 The pipeline is successfully updated. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

update_git_pipeline_status_to_draft

update_git_pipeline_status_to_draft(project_id, pipeline_id)

Update a git pipeline status to draft.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | 

    # example passing only required values which don't have defaults set
    try:
        # Update a git pipeline status to draft.
        api_instance.update_git_pipeline_status_to_draft(project_id, pipeline_id)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->update_git_pipeline_status_to_draft: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str

Return type

void (empty response body)

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/problem+json

HTTP response details

Status code Description Response headers
204 The pipeline is successfully scheduled for updation of status to draft. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

update_input_form_file

update_input_form_file(project_id, pipeline_id, content)

Update the contents of the input form file for a pipeline.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to update a file for
    content = open('/path/to/file', 'rb') # file_type | 

    # example passing only required values which don't have defaults set
    try:
        # Update the contents of the input form file for a pipeline.
        api_instance.update_input_form_file(project_id, pipeline_id, content)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->update_input_form_file: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to update a file for
content file_type

Return type

void (empty response body)

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: application/problem+json

HTTP response details

Status code Description Response headers
200 The input form file is successfully updated. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

update_on_render_file

update_on_render_file(project_id, pipeline_id, content)

Update the contents of the onRender file for a pipeline.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to update the onRender file for
    content = open('/path/to/file', 'rb') # file_type | 

    # example passing only required values which don't have defaults set
    try:
        # Update the contents of the onRender file for a pipeline.
        api_instance.update_on_render_file(project_id, pipeline_id, content)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->update_on_render_file: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to update the onRender file for
content file_type

Return type

void (empty response body)

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: application/problem+json

HTTP response details

Status code Description Response headers
200 The onRender file is successfully updated. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

update_on_submit_file

update_on_submit_file(project_id, pipeline_id, content)

Update the contents of the onSubmit file for a pipeline.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to update the onSubmit file for
    content = open('/path/to/file', 'rb') # file_type | 

    # example passing only required values which don't have defaults set
    try:
        # Update the contents of the onSubmit file for a pipeline.
        api_instance.update_on_submit_file(project_id, pipeline_id, content)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->update_on_submit_file: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to update the onSubmit file for
content file_type

Return type

void (empty response body)

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: application/problem+json

HTTP response details

Status code Description Response headers
200 The onSubmit file is successfully updated. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

update_project_pipeline_file

update_project_pipeline_file(project_id, pipeline_id, file_id, content)

Update the contents of a file for a pipeline.

Example

  • Api Key Authentication (ApiKeyAuth):
  • Bearer (JWT) Authentication (JwtAuth):
import time
import libica.openapi.v2
from libica.openapi.v2.api import project_pipeline_api
from libica.openapi.v2.model.problem import Problem
from pprint import pprint
# Defining the host is optional and defaults to /ica/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = libica.openapi.v2.Configuration(
    host = "/ica/rest"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v2.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)

# Enter a context with an instance of the API client
with libica.openapi.v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = project_pipeline_api.ProjectPipelineApi(api_client)
    project_id = "projectId_example" # str | 
    pipeline_id = "pipelineId_example" # str | The ID of the project pipeline to update a file for
    file_id = "fileId_example" # str | The ID of the pipeline file
    content = open('/path/to/file', 'rb') # file_type | 

    # example passing only required values which don't have defaults set
    try:
        # Update the contents of a file for a pipeline.
        api_instance.update_project_pipeline_file(project_id, pipeline_id, file_id, content)
    except libica.openapi.v2.ApiException as e:
        print("Exception when calling ProjectPipelineApi->update_project_pipeline_file: %s\n" % e)

Parameters

Name Type Description Notes
project_id str
pipeline_id str The ID of the project pipeline to update a file for
file_id str The ID of the pipeline file
content file_type

Return type

void (empty response body)

Authorization

ApiKeyAuth, JwtAuth

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: application/problem+json

HTTP response details

Status code Description Response headers
200 The pipeline file is successfully updated. -
0 A problem occurred. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]