organization_data_api module

OrganizationDataApi

class edgeimpulse_api.api.organization_data_api.OrganizationDataApi(
		api_client=None
)

Parameters

  • api_client=None

Methods

add_organization_bucket

edgeimpulse_api.api.organization_data_api.add_organization_bucket(
		self,
		organization_id: typing_extensions.Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		add_organization_bucket_request: edgeimpulse_api.models.add_organization_bucket_request.AddOrganizationBucketRequest,
		**kwargs
)> edgeimpulse_api.models.generic_api_response.GenericApiResponse

Add a storage bucket

Add a storage bucket.

Parameters

  • self

  • organization_id: typing_extensions.Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • add_organization_bucket_request: edgeimpulse_api.models.add_organization_bucket_request.AddOrganizationBucketRequest

  • **kwargs

Return

edgeimpulse_api.models.generic_api_response.GenericApiResponse

add_organization_data_file

edgeimpulse_api.api.organization_data_api.add_organization_data_file(
		self,
		organization_id: typing_extensions.Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		data_id: typing_extensions.Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Data ID', extra={})],
		files: List[pydantic.types.StrictBytes],
		**kwargs
)> edgeimpulse_api.models.generic_api_response.GenericApiResponse

Add files

Add a new file to an existing data item.

Parameters

  • self

  • organization_id: typing_extensions.Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • data_id: typing_extensions.Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Data ID', extra={})]

  • files: List[pydantic.types.StrictBytes]

  • **kwargs

Return

edgeimpulse_api.models.generic_api_response.GenericApiResponse

add_organization_data_folder

edgeimpulse_api.api.organization_data_api.add_organization_data_folder(
		self,
		organization_id: typing_extensions.Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		organization_add_data_folder_request: edgeimpulse_api.models.organization_add_data_folder_request.OrganizationAddDataFolderRequest,
		**kwargs
)> edgeimpulse_api.models.start_job_response.StartJobResponse

Add data items from bucket

Bulk adds data items that already exist in a storage bucket. The bucket path specified should contain folders. Each folder is added as a data item in Edge Impulse.

Parameters

  • self

  • organization_id: typing_extensions.Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]

  • organization_add_data_folder_request: edgeimpulse_api.models.organization_add_data_folder_request.OrganizationAddDataFolderRequest

  • **kwargs

Return

edgeimpulse_api.models.start_job_response.StartJobResponse

add_organization_data_item

edgeimpulse_api.api.organization_data_api.add_organization_data_item(