organization_create_project_api module
OrganizationCreateProjectApi
Parameters
api_client=None
Methods
clear_organization_transform
Clear failed transform jobs
Clear all failed transform job from a create project job. Only jobs that have failed will be cleared.
Parameters
self
organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]
create_project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Create project job ID.', extra={})]
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
delete_organization_create_project
Delete transformation job
Remove a transformation job. This will stop all running jobs.
Parameters
self
organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]
create_project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Create project job ID.', extra={})]
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
delete_organization_create_project_file
Delete create project file
Remove a file from a create project job. Only files for which no jobs are running can be deleted.
Parameters
self
organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]
create_project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Create project job ID.', extra={})]
create_project_file_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Create project job file ID.', extra={})]
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
get_organization_create_project_status
Get transformation job status
Get the current status of a transformation job job.
Parameters
self
organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]
create_project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Create project job ID.', extra={})]
transform_limit: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Maximum number of results of transformation jobs', extra={})]
transform_offset: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Offset in results of transformation jobs, can be used in conjunction with TransformLimitResultsParameter to implement paging.', extra={})]
selection: Annotated[pydantic.types.StrictStr | None, FieldInfo(default=PydanticUndefined, description="Type of selected rows, either 'all', 'created', 'in-progress' or 'failed' (defaults to 'all')", extra={})] = None
**kwargs
Return
edgeimpulse_api.models.organization_create_project_status_response.OrganizationCreateProjectStatusResponse
get_organization_create_projects
List transformation jobs
Get list of transformation jobs.
Parameters
self
organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]
limit: Annotated[pydantic.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Maximum number of results', extra={})] = None
offset: Annotated[pydantic.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Offset in results, can be used in conjunction with LimitResultsParameter to implement paging.', extra={})] = None
include_pipeline_jobs: Annotated[pydantic.types.StrictBool | None, FieldInfo(default=PydanticUndefined, description='If enabled, also includes jobs that are part of a pipeline', extra={})] = None
**kwargs
Return
edgeimpulse_api.models.organization_get_create_projects_response.OrganizationGetCreateProjectsResponse
organization_add_collaborator
Add a collaborator to a project within an organisation
Add a new collaborator to a project owned by an organisation.
Parameters
self
organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]
update_organization_add_collaborator_request: edgeimpulse_api.models.update_organization_add_collaborator_request.UpdateOrganizationAddCollaboratorRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
organization_create_empty_project
Create new empty project
Create a new empty project within an organization.
Parameters
self
organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]
update_organization_create_empty_project_request: edgeimpulse_api.models.update_organization_create_empty_project_request.UpdateOrganizationCreateEmptyProjectRequest
**kwargs
Return
edgeimpulse_api.models.create_project_response.CreateProjectResponse
organization_create_project
Start transformation job
Start a transformation job to fetch data from the organization and put it in a project, or transform into new data.
Parameters
self
organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]
organization_create_project_request: edgeimpulse_api.models.organization_create_project_request.OrganizationCreateProjectRequest
**kwargs
Return
edgeimpulse_api.models.organization_create_project_response.OrganizationCreateProjectResponse
retry_organization_create_project_file
Retry transformation file
Retry a transformation action on a file from a transformation job. Only files that have failed can be retried.
Parameters
self
organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]
create_project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Create project job ID.', extra={})]
create_project_file_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Create project job file ID.', extra={})]
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
retry_organization_transform
Retry failed transform jobs
Retry all failed transform job from a transformation job. Only jobs that have failed will be retried.
Parameters
self
organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]
create_project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Create project job ID.', extra={})]
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
retry_organization_upload
Retry transformation upload job
Retry the upload job from a transformation job. Only jobs that have failed can be retried.
Parameters
self
organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]
create_project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Create project job ID.', extra={})]
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
update_organization_create_project
Update transformation job
Update the properties of a transformation job.
Parameters
self
organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]
create_project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Create project job ID.', extra={})]
update_organization_create_project_request: edgeimpulse_api.models.update_organization_create_project_request.UpdateOrganizationCreateProjectRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
upload_custom_block
Upload a custom block
Upload a zip file containing a custom transformation or deployment block.
Parameters
self
organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]
tar: pydantic.types.StrictStr
type: pydantic.types.StrictStr
block_id: pydantic.types.StrictInt
**kwargs
Return
edgeimpulse_api.models.start_job_response.StartJobResponse
Last updated