Skip to content

libica.openapi.v3.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_pipeline=archive_pipeline)

Archive a pipeline.

Example

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.archive_pipeline import ArchivePipeline
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the pipeline
    archive_pipeline = libica.openapi.v3.ArchivePipeline() # ArchivePipeline |  (optional)

    try:
        # Archive a pipeline.
        api_instance.archive_project_pipeline(project_id, pipeline_id, archive_pipeline=archive_pipeline)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.pipeline_v4 import PipelineV4
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the pipeline

    try:
        # Cancel import of Git pipeline.
        api_response = api_instance.cancel_git_pipeline_import(project_id, pipeline_id)
        print("The response of ProjectPipelineApi->cancel_git_pipeline_import:\n")
        pprint(api_response)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.pipeline_clone import PipelineClone
from libica.openapi.v3.models.pipeline_v4 import PipelineV4
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the project pipeline to clone
    pipeline_clone = libica.openapi.v3.PipelineClone() # PipelineClone | 

    try:
        # Clone a project pipeline.
        api_response = api_instance.clone_project_pipeline(project_id, pipeline_id, pipeline_clone)
        print("The response of ProjectPipelineApi->clone_project_pipeline:\n")
        pprint(api_response)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.pipeline_file import PipelineFile
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the project pipeline to create a file for
    content = None # bytearray | 

    try:
        # Create an additional input form file for a pipeline.
        api_response = api_instance.create_additional_project_pipeline_file(project_id, pipeline_id, content)
        print("The response of ProjectPipelineApi->create_additional_project_pipeline_file:\n")
        pprint(api_response)
    except Exception 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 bytearray

Return type

PipelineFile

Authorization

JwtAuth, ApiKeyAuth

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, 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)

Create a JSON based CWL pipeline within a project.

Example

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.links import Links
from libica.openapi.v3.models.pipeline_report_config import PipelineReportConfig
from libica.openapi.v3.models.pipeline_resources import PipelineResources
from libica.openapi.v3.models.project_pipeline_v4 import ProjectPipelineV4
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    description = 'description_example' # str | The description of the CWL pipeline
    workflow_cwl_file = None # bytearray | The CWL workflow file.
    input_form_file = None # bytearray | The JSON based input form.
    analysis_storage_id = 'analysis_storage_id_example' # str | The id of the storage to use for the pipeline.
    code = 'code_example' # str | The code of the CWL pipeline. This is deprecated, use the name & version attributes instead (optional)
    name = 'name_example' # str | The name of the CWL pipeline (optional)
    tool_cwl_files = None # List[bytearray] |  (optional)
    on_render_file = None # bytearray | 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 = None # bytearray | 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 = None # bytearray | 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 = None # List[bytearray] |  (optional)
    metadata_model_file = None # bytearray | The metadata model json file(contents can be retrieved from the controlplane). (optional)
    links = libica.openapi.v3.Links() # Links |  (optional)
    version_comment = 'version_comment_example' # str |  (optional)
    categories = ['categories_example'] # List[Optional[str]] |  (optional)
    html_documentation = 'html_documentation_example' # str |  (optional)
    proprietary = False # bool | A boolean which indicates if the code of this pipeline is proprietary (optional) (default to False)
    report_configs = libica.openapi.v3.PipelineReportConfig() # PipelineReportConfig |  (optional)
    resources = libica.openapi.v3.PipelineResources() # PipelineResources |  (optional)
    version = 'version_example' # str | The version number of the pipeline. Use of semantic versioning is recommended but not enforced. (optional)
    icon_name = 'icon_name_example' # str | The icon name of the pipeline (optional)

    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)
        print("The response of ProjectPipelineApi->create_cwl_json_pipeline:\n")
        pprint(api_response)
    except Exception 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 bytearray The CWL workflow file.
input_form_file bytearray The JSON based input form.
analysis_storage_id str The id of the storage to use for the pipeline.
code str The code of the CWL pipeline. This is deprecated, use the name & version attributes instead [optional]
name str The name of the CWL pipeline [optional]
tool_cwl_files List[bytearray] [optional]
on_render_file bytearray 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 bytearray 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 bytearray 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 List[bytearray] [optional]
metadata_model_file bytearray The metadata model json file(contents can be retrieved from the controlplane). [optional]
links Links [optional]
version_comment str [optional]
categories List[Optional[str]] [optional]
html_documentation str [optional]
proprietary bool A boolean which indicates if the code of this pipeline is proprietary [optional] [default to False]
report_configs PipelineReportConfig [optional]
resources PipelineResources [optional]
version str The version number of the pipeline. Use of semantic versioning is recommended but not enforced. [optional]
icon_name str The icon name of the pipeline [optional]

Return type

ProjectPipelineV4

Authorization

JwtAuth, ApiKeyAuth

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, 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)

Create a CWL pipeline within a project.

Example

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.links import Links
from libica.openapi.v3.models.pipeline_report_config import PipelineReportConfig
from libica.openapi.v3.models.pipeline_resources import PipelineResources
from libica.openapi.v3.models.project_pipeline_v4 import ProjectPipelineV4
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    description = 'description_example' # str | The description of the CWL pipeline
    workflow_cwl_file = None # bytearray | The CWL workflow file.
    parameters_xml_file = None # bytearray | 
    analysis_storage_id = 'analysis_storage_id_example' # str | The id of the storage to use for the pipeline.
    code = 'code_example' # str | The code of the CWL pipeline. This is deprecated, use the name & version attributes instead (optional)
    name = 'name_example' # str | The name of the CWL pipeline (optional)
    tool_cwl_files = None # List[bytearray] |  (optional)
    metadata_model_file = None # bytearray | The metadata model json file(contents can be retrieved from the controlplane). (optional)
    links = libica.openapi.v3.Links() # Links |  (optional)
    version_comment = 'version_comment_example' # str |  (optional)
    categories = ['categories_example'] # List[Optional[str]] |  (optional)
    html_documentation = 'html_documentation_example' # str |  (optional)
    proprietary = False # bool | A boolean which indicates if the code of this pipeline is proprietary (optional) (default to False)
    report_configs = libica.openapi.v3.PipelineReportConfig() # PipelineReportConfig |  (optional)
    resources = libica.openapi.v3.PipelineResources() # PipelineResources |  (optional)
    version = 'version_example' # str | The version number of the pipeline. Use of semantic versioning is recommended but not enforced. (optional)
    icon_name = 'icon_name_example' # str | The icon name of the pipeline (optional)

    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)
        print("The response of ProjectPipelineApi->create_cwl_pipeline:\n")
        pprint(api_response)
    except Exception 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 bytearray The CWL workflow file.
parameters_xml_file bytearray
analysis_storage_id str The id of the storage to use for the pipeline.
code str The code of the CWL pipeline. This is deprecated, use the name & version attributes instead [optional]
name str The name of the CWL pipeline [optional]
tool_cwl_files List[bytearray] [optional]
metadata_model_file bytearray The metadata model json file(contents can be retrieved from the controlplane). [optional]
links Links [optional]
version_comment str [optional]
categories List[Optional[str]] [optional]
html_documentation str [optional]
proprietary bool A boolean which indicates if the code of this pipeline is proprietary [optional] [default to False]
report_configs PipelineReportConfig [optional]
resources PipelineResources [optional]
version str The version number of the pipeline. Use of semantic versioning is recommended but not enforced. [optional]
icon_name str The icon name of the pipeline [optional]

Return type

ProjectPipelineV4

Authorization

JwtAuth, ApiKeyAuth

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, 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)

Create a JSON based Nextflow pipeline within a project.

Example

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.links import Links
from libica.openapi.v3.models.pipeline_report_config import PipelineReportConfig
from libica.openapi.v3.models.pipeline_resources import PipelineResources
from libica.openapi.v3.models.pipeline_v4 import PipelineV4
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    description = 'description_example' # str | The description of the pipeline
    main_nextflow_file = None # bytearray | The main Nextflow file.
    input_form_file = None # bytearray | The JSON based input form.
    analysis_storage_id = 'analysis_storage_id_example' # str | The id of the storage to use for the pipeline.
    code = 'code_example' # str | The code of the pipeline. This is deprecated, use the name & version attributes instead (optional)
    name = 'name_example' # str | The name of the pipeline (optional)
    pipeline_language_version_id = 'pipeline_language_version_id_example' # str | The id of the Nextflow version to use for the pipeline. (optional)
    nextflow_config_file = None # bytearray | The Nextflow config file. (optional)
    other_nextflow_files = None # List[bytearray] |  (optional)
    on_render_file = None # bytearray | 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 = None # bytearray | 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 = None # bytearray | 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 = None # List[bytearray] |  (optional)
    metadata_model_file = None # bytearray | The metadata model json file(contents can be retrieved from the controlplane). (optional)
    links = libica.openapi.v3.Links() # Links |  (optional)
    version_comment = 'version_comment_example' # str |  (optional)
    html_documentation = 'html_documentation_example' # str |  (optional)
    proprietary = False # bool | A boolean which indicates if the code of this pipeline is proprietary (optional) (default to False)
    report_configs = libica.openapi.v3.PipelineReportConfig() # PipelineReportConfig |  (optional)
    resources = libica.openapi.v3.PipelineResources() # PipelineResources |  (optional)
    version = 'version_example' # str | The version number of the pipeline. Use of semantic versioning is recommended but not enforced. (optional)
    icon_name = 'icon_name_example' # str | The icon name of the pipeline (optional)

    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)
        print("The response of ProjectPipelineApi->create_nextflow_json_pipeline:\n")
        pprint(api_response)
    except Exception 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 bytearray The main Nextflow file.
input_form_file bytearray The JSON based input form.
analysis_storage_id str The id of the storage to use for the pipeline.
code str The code of the pipeline. This is deprecated, use the name & version attributes instead [optional]
name str The name of the pipeline [optional]
pipeline_language_version_id str The id of the Nextflow version to use for the pipeline. [optional]
nextflow_config_file bytearray The Nextflow config file. [optional]
other_nextflow_files List[bytearray] [optional]
on_render_file bytearray 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 bytearray 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 bytearray 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 List[bytearray] [optional]
metadata_model_file bytearray The metadata model json file(contents can be retrieved from the controlplane). [optional]
links Links [optional]
version_comment str [optional]
html_documentation str [optional]
proprietary bool A boolean which indicates if the code of this pipeline is proprietary [optional] [default to False]
report_configs PipelineReportConfig [optional]
resources PipelineResources [optional]
version str The version number of the pipeline. Use of semantic versioning is recommended but not enforced. [optional]
icon_name str The icon name of the pipeline [optional]

Return type

PipelineV4

Authorization

JwtAuth, ApiKeyAuth

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, 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)

Create a Nextflow pipeline within a project.

Example

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.links import Links
from libica.openapi.v3.models.pipeline_report_config import PipelineReportConfig
from libica.openapi.v3.models.pipeline_resources import PipelineResources
from libica.openapi.v3.models.project_pipeline_v4 import ProjectPipelineV4
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    description = 'description_example' # str | The description of the pipeline
    main_nextflow_file = None # bytearray | The main Nextflow file.
    parameters_xml_file = None # bytearray | 
    analysis_storage_id = 'analysis_storage_id_example' # str | The id of the storage to use for the pipeline.
    code = 'code_example' # str | The code of the pipeline. This is deprecated, use the name & version attributes instead (optional)
    name = 'name_example' # str | The name of the pipeline (optional)
    pipeline_language_version_id = 'pipeline_language_version_id_example' # str | The id of the Nextflow version to use for the pipeline. (optional)
    nextflow_config_file = None # bytearray | The Nextflow config file. (optional)
    other_nextflow_files = None # List[bytearray] |  (optional)
    metadata_model_file = None # bytearray | The metadata model json file(contents can be retrieved from the controlplane). (optional)
    links = libica.openapi.v3.Links() # Links |  (optional)
    version_comment = 'version_comment_example' # str |  (optional)
    html_documentation = 'html_documentation_example' # str |  (optional)
    proprietary = False # bool | A boolean which indicates if the code of this pipeline is proprietary (optional) (default to False)
    report_configs = libica.openapi.v3.PipelineReportConfig() # PipelineReportConfig |  (optional)
    resources = libica.openapi.v3.PipelineResources() # PipelineResources |  (optional)
    version = 'version_example' # str | The version number of the pipeline. Use of semantic versioning is recommended but not enforced. (optional)
    icon_name = 'icon_name_example' # str | The icon name of the pipeline (optional)

    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)
        print("The response of ProjectPipelineApi->create_nextflow_pipeline:\n")
        pprint(api_response)
    except Exception 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 bytearray The main Nextflow file.
parameters_xml_file bytearray
analysis_storage_id str The id of the storage to use for the pipeline.
code str The code of the pipeline. This is deprecated, use the name & version attributes instead [optional]
name str The name of the pipeline [optional]
pipeline_language_version_id str The id of the Nextflow version to use for the pipeline. [optional]
nextflow_config_file bytearray The Nextflow config file. [optional]
other_nextflow_files List[bytearray] [optional]
metadata_model_file bytearray The metadata model json file(contents can be retrieved from the controlplane). [optional]
links Links [optional]
version_comment str [optional]
html_documentation str [optional]
proprietary bool A boolean which indicates if the code of this pipeline is proprietary [optional] [default to False]
report_configs PipelineReportConfig [optional]
resources PipelineResources [optional]
version str The version number of the pipeline. Use of semantic versioning is recommended but not enforced. [optional]
icon_name str The icon name of the pipeline [optional]

Return type

ProjectPipelineV4

Authorization

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.pipeline_file import PipelineFile
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the project pipeline to create a file for
    content = None # bytearray | 

    try:
        # Create a file for a pipeline.
        api_response = api_instance.create_project_pipeline_file(project_id, pipeline_id, content)
        print("The response of ProjectPipelineApi->create_project_pipeline_file:\n")
        pprint(api_response)
    except Exception 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 bytearray

Return type

PipelineFile

Authorization

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the project pipeline to delete an additional file for
    file_id = 'file_id_example' # str | The ID of the pipeline file

    try:
        # Delete an additional input form file for a pipeline.
        api_instance.delete_additional_project_pipeline_file(project_id, pipeline_id, file_id)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | 

    try:
        # Delete a pipeline.
        api_instance.delete_project_pipeline(project_id, pipeline_id)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the project pipeline to delete a file for
    file_id = 'file_id_example' # str | The ID of the pipeline file

    try:
        # Delete a file for a pipeline.
        api_instance.delete_project_pipeline_file(project_id, pipeline_id, file_id)
    except Exception 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

JwtAuth, ApiKeyAuth

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_pipeline=deprecate_pipeline)

Deprecate a pipeline.

Example

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.deprecate_pipeline import DeprecatePipeline
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the pipeline
    deprecate_pipeline = libica.openapi.v3.DeprecatePipeline() # DeprecatePipeline |  (optional)

    try:
        # Deprecate a pipeline.
        api_instance.deprecate_project_pipeline(project_id, pipeline_id, deprecate_pipeline=deprecate_pipeline)
    except Exception 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

JwtAuth, ApiKeyAuth

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

bytearray download_additional_file_content(project_id, pipeline_id, file_id)

Download the contents of an additional input form file.

Example

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the project pipeline to retrieve the additional file for
    file_id = 'file_id_example' # str | The ID of the additional file

    try:
        # Download the contents of an additional input form file.
        api_response = api_instance.download_additional_file_content(project_id, pipeline_id, file_id)
        print("The response of ProjectPipelineApi->download_additional_file_content:\n")
        pprint(api_response)
    except Exception 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

bytearray

Authorization

JwtAuth, ApiKeyAuth

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

bytearray download_input_form_file_content(project_id, pipeline_id)

Download the contents of the input form file.

Example

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

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

    try:
        # Download the contents of the input form file.
        api_response = api_instance.download_input_form_file_content(project_id, pipeline_id)
        print("The response of ProjectPipelineApi->download_input_form_file_content:\n")
        pprint(api_response)
    except Exception 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

bytearray

Authorization

JwtAuth, ApiKeyAuth

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

bytearray download_on_render_file_content(project_id, pipeline_id)

Download the contents of the onRender file.

Example

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

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

    try:
        # Download the contents of the onRender file.
        api_response = api_instance.download_on_render_file_content(project_id, pipeline_id)
        print("The response of ProjectPipelineApi->download_on_render_file_content:\n")
        pprint(api_response)
    except Exception 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

bytearray

Authorization

JwtAuth, ApiKeyAuth

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

bytearray download_on_submit_file_content(project_id, pipeline_id)

Download the contents of the onSubmit file.

Example

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

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

    try:
        # Download the contents of the onSubmit file.
        api_response = api_instance.download_on_submit_file_content(project_id, pipeline_id)
        print("The response of ProjectPipelineApi->download_on_submit_file_content:\n")
        pprint(api_response)
    except Exception 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

bytearray

Authorization

JwtAuth, ApiKeyAuth

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

bytearray download_project_pipeline_file_content(project_id, pipeline_id, file_id)

Download the contents of a pipeline file.

Example

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the project pipeline to retrieve files for
    file_id = 'file_id_example' # str | The ID of the pipeline file

    try:
        # Download the contents of a pipeline file.
        api_response = api_instance.download_project_pipeline_file_content(project_id, pipeline_id, file_id)
        print("The response of ProjectPipelineApi->download_project_pipeline_file_content:\n")
        pprint(api_response)
    except Exception 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

bytearray

Authorization

JwtAuth, ApiKeyAuth

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, page_offset=page_offset, page_token=page_token, page_size=page_size)

Retrieve a list of pipeline groups in a project.

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

Example

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.pipeline_group_paged_list import PipelineGroupPagedList
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | The ID of the project
    page_offset = 'page_offset_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 = 'page_token_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 = 'page_size_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)

    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)
        print("The response of ProjectPipelineApi->get_pipeline_groups:\n")
        pprint(api_response)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.pipeline_version_comment import PipelineVersionComment
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | 

    try:
        # Retrieve pipeline version comment.
        api_response = api_instance.get_pipeline_version_comment(project_id, pipeline_id)
        print("The response of ProjectPipelineApi->get_pipeline_version_comment:\n")
        pprint(api_response)
    except Exception 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

JwtAuth, ApiKeyAuth

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, include_pipeline_usage=include_pipeline_usage, page_offset=page_offset, page_token=page_token, page_size=page_size, sort=sort)

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.pipeline_paged_list_v4 import PipelinePagedListV4
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | The ID of the project
    pipeline_group_id = 'pipeline_group_id_example' # str | The ID of the pipeline group
    include_pipeline_usage = 'include_pipeline_usage_example' # str | Include pipeline usage information in response (optional)
    page_offset = 'page_offset_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 = 'page_token_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 = 'page_size_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)

    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)
        print("The response of ProjectPipelineApi->get_pipelines_by_group:\n")
        pprint(api_response)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.project_pipeline_v4 import ProjectPipelineV4
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

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

    try:
        # Retrieve a project pipeline.
        api_response = api_instance.get_project_pipeline(project_id, pipeline_id)
        print("The response of ProjectPipelineApi->get_project_pipeline:\n")
        pprint(api_response)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.pipeline_file_list import PipelineFileList
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

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

    try:
        # Retrieve additional input form files for a project pipeline.
        api_response = api_instance.get_project_pipeline_additional_files(project_id, pipeline_id)
        print("The response of ProjectPipelineApi->get_project_pipeline_additional_files:\n")
        pprint(api_response)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.pipeline_configuration_parameter_list import PipelineConfigurationParameterList
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

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

    try:
        # Retrieve configuration parameters for a project pipeline.
        api_response = api_instance.get_project_pipeline_configuration_parameters(project_id, pipeline_id)
        print("The response of ProjectPipelineApi->get_project_pipeline_configuration_parameters:\n")
        pprint(api_response)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.pipeline_file_list import PipelineFileList
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

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

    try:
        # Retrieve files for a project pipeline.
        api_response = api_instance.get_project_pipeline_files(project_id, pipeline_id)
        print("The response of ProjectPipelineApi->get_project_pipeline_files:\n")
        pprint(api_response)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.pipeline_html_documentation import PipelineHtmlDocumentation
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

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

    try:
        # Retrieve HTML documentation for a project pipeline.
        api_response = api_instance.get_project_pipeline_html_documentation(project_id, pipeline_id)
        print("The response of ProjectPipelineApi->get_project_pipeline_html_documentation:\n")
        pprint(api_response)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.input_parameter_list import InputParameterList
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

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

    try:
        # Retrieve input parameters for a project pipeline.
        api_response = api_instance.get_project_pipeline_input_parameters(project_id, pipeline_id)
        print("The response of ProjectPipelineApi->get_project_pipeline_input_parameters:\n")
        pprint(api_response)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.reference_set_list import ReferenceSetList
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

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

    try:
        # Retrieve the reference sets of a project pipeline.
        api_response = api_instance.get_project_pipeline_reference_sets(project_id, pipeline_id)
        print("The response of ProjectPipelineApi->get_project_pipeline_reference_sets:\n")
        pprint(api_response)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.project_pipeline_list_v4 import ProjectPipelineListV4
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

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

    try:
        # Retrieve a list of project pipelines.
        api_response = api_instance.get_project_pipelines(project_id)
        print("The response of ProjectPipelineApi->get_project_pipelines:\n")
        pprint(api_response)
    except Exception 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

JwtAuth, ApiKeyAuth

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, 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)

Import a JSON based Git pipeline within a project.

Example

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.pipeline_report_config import PipelineReportConfig
from libica.openapi.v3.models.pipeline_v4 import PipelineV4
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    language = 'language_example' # 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 = 'code_example' # str | The code of the pipeline. This is deprecated, use the name & version attributes instead (optional)
    name = 'name_example' # str | The name of the pipeline (optional)
    description = 'description_example' # str | The description of the pipeline (optional)
    proprietary = False # bool | A boolean which indicates if the code of this pipeline is proprietary (optional) (default to False)
    report_configs = libica.openapi.v3.PipelineReportConfig() # PipelineReportConfig |  (optional)
    git_credential_id = 'git_credential_id_example' # str | Id of the git credential (optional)
    main_file_path = 'main_file_path_example' # str | Path of the main file (optional)
    config_file_path = 'config_file_path_example' # str | Path of the config file (optional)
    schema_file_path = 'schema_file_path_example' # str | Path of the schema file (optional)
    icon_name = 'icon_name_example' # str | The icon name of the pipeline (optional)

    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)
        print("The response of ProjectPipelineApi->import_git_pipeline:\n")
        pprint(api_response)
    except Exception 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 The code of the pipeline. This is deprecated, use the name & version attributes instead [optional]
name str The name of the pipeline [optional]
description str The description of the pipeline [optional]
proprietary bool A boolean which indicates if the code of this pipeline is proprietary [optional] [default to False]
report_configs PipelineReportConfig [optional]
git_credential_id str Id of the git credential [optional]
main_file_path str Path of the main file [optional]
config_file_path str Path of the config file [optional]
schema_file_path str Path of the schema file [optional]
icon_name str The icon name of the pipeline [optional]

Return type

PipelineV4

Authorization

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the pipeline

    try:
        # Link a pipeline to a project.
        api_instance.link_pipeline_to_project(project_id, pipeline_id)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the pipeline

    try:
        # Release a pipeline.
        api_instance.release_project_pipeline(project_id, pipeline_id)
    except Exception 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

JwtAuth, ApiKeyAuth

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, include_pipeline_usage=include_pipeline_usage, page_offset=page_offset, page_token=page_token, page_size=page_size, sort=sort, pipeline_query=pipeline_query)

Search pipelines.

Example

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.pipeline_paged_list_v4 import PipelinePagedListV4
from libica.openapi.v3.models.pipeline_query import PipelineQuery
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | The ID of the project
    include_pipeline_usage = 'include_pipeline_usage_example' # str | Include pipeline usage information in response (optional)
    page_offset = 'page_offset_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 = 'page_token_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 = 'page_size_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 = libica.openapi.v3.PipelineQuery() # PipelineQuery |  (optional)

    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)
        print("The response of ProjectPipelineApi->search_pipelines:\n")
        pprint(api_response)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the pipeline

    try:
        # Unlink a pipeline from a project.
        api_instance.unlink_pipeline_from_project(project_id, pipeline_id)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the project pipeline to update the additional file for
    file_id = 'file_id_example' # str | The ID of the additional file
    content = None # bytearray | 

    try:
        # Update the contents of an additional input form file.
        api_instance.update_additional_file(project_id, pipeline_id, file_id, content)
    except Exception 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 bytearray

Return type

void (empty response body)

Authorization

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.models.pipeline_update import PipelineUpdate
from libica.openapi.v3.models.pipeline_v4 import PipelineV4
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the project pipeline to update
    pipeline_update = libica.openapi.v3.PipelineUpdate() # PipelineUpdate | 

    try:
        # Update the general attributes of a project pipeline.
        api_response = api_instance.update_general_attributes_project_pipeline(project_id, pipeline_id, pipeline_update)
        print("The response of ProjectPipelineApi->update_general_attributes_project_pipeline:\n")
        pprint(api_response)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | 

    try:
        # Update a git pipeline status to draft.
        api_instance.update_git_pipeline_status_to_draft(project_id, pipeline_id)
    except Exception 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

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the project pipeline to update a file for
    content = None # bytearray | 

    try:
        # Update the contents of the input form file for a pipeline.
        api_instance.update_input_form_file(project_id, pipeline_id, content)
    except Exception 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 bytearray

Return type

void (empty response body)

Authorization

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the project pipeline to update the onRender file for
    content = None # bytearray | 

    try:
        # Update the contents of the onRender file for a pipeline.
        api_instance.update_on_render_file(project_id, pipeline_id, content)
    except Exception 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 bytearray

Return type

void (empty response body)

Authorization

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the project pipeline to update the onSubmit file for
    content = None # bytearray | 

    try:
        # Update the contents of the onSubmit file for a pipeline.
        api_instance.update_on_submit_file(project_id, pipeline_id, content)
    except Exception 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 bytearray

Return type

void (empty response body)

Authorization

JwtAuth, ApiKeyAuth

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

  • Bearer (JWT) Authentication (JwtAuth):
  • Api Key Authentication (ApiKeyAuth):
import libica.openapi.v3
from libica.openapi.v3.rest import ApiException
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.v3.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 Bearer authorization (JWT): JwtAuth
configuration = libica.openapi.v3.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with libica.openapi.v3.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = libica.openapi.v3.ProjectPipelineApi(api_client)
    project_id = 'project_id_example' # str | 
    pipeline_id = 'pipeline_id_example' # str | The ID of the project pipeline to update a file for
    file_id = 'file_id_example' # str | The ID of the pipeline file
    content = None # bytearray | 

    try:
        # Update the contents of a file for a pipeline.
        api_instance.update_project_pipeline_file(project_id, pipeline_id, file_id, content)
    except Exception 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 bytearray

Return type

void (empty response body)

Authorization

JwtAuth, ApiKeyAuth

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]