organization_data_campaigns_api module

OrganizationDataCampaignsApi

class edgeimpulse_api.api.organization_data_campaigns_api.OrganizationDataCampaignsApi(
		api_client=None
)

Parameters

  • api_client=None

Methods

add_organization_data_campaign

edgeimpulse_api.api.organization_data_campaigns_api.add_organization_data_campaign(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		add_organization_data_campaign_request: edgeimpulse_api.models.add_organization_data_campaign_request.AddOrganizationDataCampaignRequest,
		**kwargs
)> edgeimpulse_api.models.add_organization_data_campaign_response.AddOrganizationDataCampaignResponse

Add a data campaign

Add a new data campaign to a data campaign dashboard

Parameters

  • self

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

  • add_organization_data_campaign_request: edgeimpulse_api.models.add_organization_data_campaign_request.AddOrganizationDataCampaignRequest

  • **kwargs

Return

edgeimpulse_api.models.add_organization_data_campaign_response.AddOrganizationDataCampaignResponse

add_organization_data_campaign_dashboard

edgeimpulse_api.api.organization_data_campaigns_api.add_organization_data_campaign_dashboard(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		add_organization_data_campaign_dashboard_request: edgeimpulse_api.models.add_organization_data_campaign_dashboard_request.AddOrganizationDataCampaignDashboardRequest,
		**kwargs
) ‑> edgeimpulse_api.models.add_organization_data_campaign_dashboard_response.AddOrganizationDataCampaignDashboardResponse

Add data campaign dashboard

Add a new data campaign dashboard

Parameters

  • self

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

  • add_organization_data_campaign_dashboard_request: edgeimpulse_api.models.add_organization_data_campaign_dashboard_request.AddOrganizationDataCampaignDashboardRequest

  • **kwargs

Return

edgeimpulse_api.models.add_organization_data_campaign_dashboard_response.AddOrganizationDataCampaignDashboardResponse

delete_organization_data_campaign

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

Delete data campaign

Delete a data campaign

Parameters

  • self

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

  • campaign_id: pydantic.types.StrictInt

  • **kwargs

Return

edgeimpulse_api.models.generic_api_response.GenericApiResponse

delete_organization_data_campaign_dashboard

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

Delete data campaign dashboard

Delete a data campaign dashboard

Parameters

  • self

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

  • campaign_dashboard_id: pydantic.types.StrictInt

  • **kwargs

Return

edgeimpulse_api.models.generic_api_response.GenericApiResponse

get_organization_data_campaign

edgeimpulse_api.api.organization_data_campaigns_api.get_organization_data_campaign(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		campaign_id: pydantic.types.StrictInt,
		**kwargs
)> edgeimpulse_api.models.get_organization_data_campaign_response.GetOrganizationDataCampaignResponse

Get data campaign

Get a data campaign

Parameters

  • self

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

  • campaign_id: pydantic.types.StrictInt

  • **kwargs

Return

edgeimpulse_api.models.get_organization_data_campaign_response.GetOrganizationDataCampaignResponse

get_organization_data_campaign_dashboard

edgeimpulse_api.api.organization_data_campaigns_api.get_organization_data_campaign_dashboard(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		campaign_dashboard_id: pydantic.types.StrictInt,
		**kwargs
) ‑> edgeimpulse_api.models.get_organization_data_campaign_dashboard_response.GetOrganizationDataCampaignDashboardResponse

Get data campaign dashboard

Get a data campaign dashboard

Parameters

  • self

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

  • campaign_dashboard_id: pydantic.types.StrictInt

  • **kwargs

Return

edgeimpulse_api.models.get_organization_data_campaign_dashboard_response.GetOrganizationDataCampaignDashboardResponse

get_organization_data_campaign_dashboards

edgeimpulse_api.api.organization_data_campaigns_api.get_organization_data_campaign_dashboards(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		**kwargs
) ‑> edgeimpulse_api.models.get_organization_data_campaign_dashboards_response.GetOrganizationDataCampaignDashboardsResponse

Get data campaign dashboards

List all data campaign dashboards

Parameters

  • self

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

  • **kwargs

Return

edgeimpulse_api.models.get_organization_data_campaign_dashboards_response.GetOrganizationDataCampaignDashboardsResponse

get_organization_data_campaign_diff

edgeimpulse_api.api.organization_data_campaigns_api.get_organization_data_campaign_diff(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		campaign_id: pydantic.types.StrictInt,
		organization_data_campaign_diff_request: edgeimpulse_api.models.organization_data_campaign_diff_request.OrganizationDataCampaignDiffRequest,
		**kwargs
)> edgeimpulse_api.models.organization_data_campaign_diff_response.OrganizationDataCampaignDiffResponse

Get diff for data campaign

Get which items have changed for a data campaign. You post the data points and we'll return which data items are different in the past day.

Parameters

  • self

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

  • campaign_id: pydantic.types.StrictInt

  • organization_data_campaign_diff_request: edgeimpulse_api.models.organization_data_campaign_diff_request.OrganizationDataCampaignDiffRequest

  • **kwargs

Return

edgeimpulse_api.models.organization_data_campaign_diff_response.OrganizationDataCampaignDiffResponse

get_organization_data_campaigns_for_dashboard

edgeimpulse_api.api.organization_data_campaigns_api.get_organization_data_campaigns_for_dashboard(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		campaign_dashboard_id: pydantic.types.StrictInt,
		**kwargs
)> edgeimpulse_api.models.get_organization_data_campaigns_response.GetOrganizationDataCampaignsResponse

Get data campaigns

Get a list of all data campaigns for a dashboard

Parameters

  • self

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

  • campaign_dashboard_id: pydantic.types.StrictInt

  • **kwargs

Return

edgeimpulse_api.models.get_organization_data_campaigns_response.GetOrganizationDataCampaignsResponse

update_organization_data_campaign

edgeimpulse_api.api.organization_data_campaigns_api.update_organization_data_campaign(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		campaign_id: pydantic.types.StrictInt,
		update_organization_data_campaign_request: edgeimpulse_api.models.update_organization_data_campaign_request.UpdateOrganizationDataCampaignRequest,
		**kwargs
)> edgeimpulse_api.models.generic_api_response.GenericApiResponse

Update data campaign

Update a data campaign

Parameters

  • self

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

  • campaign_id: pydantic.types.StrictInt

  • update_organization_data_campaign_request: edgeimpulse_api.models.update_organization_data_campaign_request.UpdateOrganizationDataCampaignRequest

  • **kwargs

Return

edgeimpulse_api.models.generic_api_response.GenericApiResponse

update_organization_data_campaign_dashboard

edgeimpulse_api.api.organization_data_campaigns_api.update_organization_data_campaign_dashboard(
		self,
		organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})],
		campaign_dashboard_id: pydantic.types.StrictInt,
		update_organization_data_campaign_dashboard_request: edgeimpulse_api.models.update_organization_data_campaign_dashboard_request.UpdateOrganizationDataCampaignDashboardRequest,
		**kwargs
)> edgeimpulse_api.models.generic_api_response.GenericApiResponse

Update data campaign dashboard

Update a data campaign dashboard

Parameters

  • self

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

  • campaign_dashboard_id: pydantic.types.StrictInt

  • update_organization_data_campaign_dashboard_request: edgeimpulse_api.models.update_organization_data_campaign_dashboard_request.UpdateOrganizationDataCampaignDashboardRequest

  • **kwargs

Return

edgeimpulse_api.models.generic_api_response.GenericApiResponse

Last updated