Pipeline Import
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
List all pipeline import apps
Required API key scopes
plugin:read
Path parameters
- organization_idstring
Query parameters
- limitinteger
Number of results to return per page.
- offsetinteger
The initial index from which to return the results.
Response
Request
GET
/api /organizations /:organization_id /pipeline_import_apps
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_import_apps/
Response
Status 200
RESPONSE
{"count": 123,"next": "http://api.example.org/accounts/?offset=400&limit=100","previous": "http://api.example.org/accounts/?offset=200&limit=100","results": [{"id": 0,"plugin_type": "local","name": "string","description": "string","url": "string","icon": "string","config_schema": null,"tag": "string","latest_tag": "string","is_global": true,"organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6","organization_name": "string","capabilities": null,"metrics": null,"public_jobs": null,"hog_function_migration_available": "string"}]}
Create pipeline import apps
Required API key scopes
plugin:write
Path parameters
- organization_idstring
Request parameters
- plugin_type
- namestring
- descriptionstring
- iconstring
- config_schema
- tagstring
- is_globalboolean
- capabilities
- metrics
- public_jobs
Response
Request
POST
/api /organizations /:organization_id /pipeline_import_apps
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl-H 'Content-Type: application/json'\-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_import_apps/\-d plugin_type=undefined
Response
Status 201
RESPONSE
{"id": 0,"plugin_type": "local","name": "string","description": "string","url": "string","icon": "string","config_schema": null,"tag": "string","latest_tag": "string","is_global": true,"organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6","organization_name": "string","capabilities": null,"metrics": null,"public_jobs": null,"hog_function_migration_available": "string"}
Retrieve pipeline import apps
Required API key scopes
plugin:read
Path parameters
- idinteger
A unique integer value identifying this plugin.
- organization_idstring
Response
Request
GET
/api /organizations /:organization_id /pipeline_import_apps /:id
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_import_apps/:id/
Response
Status 200
RESPONSE
{"id": 0,"plugin_type": "local","name": "string","description": "string","url": "string","icon": "string","config_schema": null,"tag": "string","latest_tag": "string","is_global": true,"organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6","organization_name": "string","capabilities": null,"metrics": null,"public_jobs": null,"hog_function_migration_available": "string"}
Update pipeline import apps
Required API key scopes
plugin:write
Path parameters
- idinteger
A unique integer value identifying this plugin.
- organization_idstring
Request parameters
- plugin_type
- namestring
- descriptionstring
- iconstring
- config_schema
- tagstring
- is_globalboolean
- capabilities
- metrics
- public_jobs
Response
Request
PATCH
/api /organizations /:organization_id /pipeline_import_apps /:id
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl -X PATCH \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_import_apps/:id/\-d plugin_type=undefined
Response
Status 200
RESPONSE
{"id": 0,"plugin_type": "local","name": "string","description": "string","url": "string","icon": "string","config_schema": null,"tag": "string","latest_tag": "string","is_global": true,"organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6","organization_name": "string","capabilities": null,"metrics": null,"public_jobs": null,"hog_function_migration_available": "string"}
Delete pipeline import apps
Required API key scopes
plugin:write
Path parameters
- idinteger
A unique integer value identifying this plugin.
- organization_idstring
Request
DELETE
/api /organizations /:organization_id /pipeline_import_apps /:id
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl -X DELETE \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_import_apps/:id/
Response
Status 204 No response body
Retrieve pipeline import apps check for updates
Path parameters
- idinteger
A unique integer value identifying this plugin.
- organization_idstring
Request
GET
/api /organizations /:organization_id /pipeline_import_apps /:id /check_for_updates
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_import_apps/:id/check_for_updates/
Response
Status 200 No response body
Retrieve pipeline import apps source
Path parameters
- idinteger
A unique integer value identifying this plugin.
- organization_idstring
Request
GET
/api /organizations /:organization_id /pipeline_import_apps /:id /source
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_import_apps/:id/source/
Response
Status 200 No response body
Update pipeline import apps update source
Path parameters
- idinteger
A unique integer value identifying this plugin.
- organization_idstring
Request parameters
- plugin_type
- namestring
- descriptionstring
- iconstring
- config_schema
- tagstring
- is_globalboolean
- capabilities
- metrics
- public_jobs
Request
PATCH
/api /organizations /:organization_id /pipeline_import_apps /:id /update_source
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl -X PATCH \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_import_apps/:id/update_source/\-d plugin_type=undefined
Response
Status 200 No response body
Create pipeline import apps upgrade
Path parameters
- idinteger
A unique integer value identifying this plugin.
- organization_idstring
Request parameters
- plugin_type
- namestring
- descriptionstring
- iconstring
- config_schema
- tagstring
- is_globalboolean
- capabilities
- metrics
- public_jobs
Request
POST
/api /organizations /:organization_id /pipeline_import_apps /:id /upgrade
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl-H 'Content-Type: application/json'\-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_import_apps/:id/upgrade/\-d plugin_type=undefined
Response
Status 200 No response body
Retrieve pipeline import apps activity
Path parameters
- organization_idstring
Request
GET
/api /organizations /:organization_id /pipeline_import_apps /activity
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_import_apps/activity/
Response
Status 200 No response body
Retrieve pipeline import apps exports unsubscribe configs
Path parameters
- organization_idstring
Request
GET
/api /organizations /:organization_id /pipeline_import_apps /exports_unsubscribe_configs
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_import_apps/exports_unsubscribe_configs/
Response
Status 200 No response body
Retrieve pipeline import apps repository
Path parameters
- organization_idstring
Request
GET
/api /organizations /:organization_id /pipeline_import_apps /repository
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_import_apps/repository/
Response
Status 200 No response body
Retrieve pipeline import apps unused
Path parameters
- organization_idstring
Request
GET
/api /organizations /:organization_id /pipeline_import_apps /unused
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_import_apps/unused/