Environments-14
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
Create environments pipeline transformation configs
Required API key scopes
plugin:write
Path parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- plugininteger
- enabledboolean
- orderinteger
- namestring
- descriptionstring
- deletedboolean
Response
Request
POST
/api /environments /:project_id /pipeline_transformation_configs
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/environments/:project_id/pipeline_transformation_configs/\-d plugin="integer",\-d order="integer"
Response
Status 201
{"id": 0,"plugin": 0,"enabled": true,"order": -2147483648,"config": "string","error": "string","team_id": 0,"plugin_info": "string","delivery_rate_24h": "string","created_at": "2019-08-24T14:15:22Z","updated_at": "2019-08-24T14:15:22Z","name": "string","description": "string","deleted": true}
Create environments pipeline transformation configs
Required API key scopes
plugin:write
Path parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- plugininteger
- enabledboolean
- orderinteger
- namestring
- descriptionstring
- deletedboolean
Response
Request
POST
/api /environments /:project_id /pipeline_transformation_configs
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/environments/:project_id/pipeline_transformation_configs/\-d plugin="integer",\-d order="integer"
Response
Status 201
{"id": 0,"plugin": 0,"enabled": true,"order": -2147483648,"config": "string","error": "string","team_id": 0,"plugin_info": "string","delivery_rate_24h": "string","created_at": "2019-08-24T14:15:22Z","updated_at": "2019-08-24T14:15:22Z","name": "string","description": "string","deleted": true}
Retrieve environments pipeline transformation configs
Required API key scopes
plugin:read
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Response
Request
GET
/api /environments /:project_id /pipeline_transformation_configs /:id
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/environments/:project_id/pipeline_transformation_configs/:id/
Response
Status 200
{"id": 0,"plugin": 0,"enabled": true,"order": -2147483648,"config": "string","error": "string","team_id": 0,"plugin_info": "string","delivery_rate_24h": "string","created_at": "2019-08-24T14:15:22Z","updated_at": "2019-08-24T14:15:22Z","name": "string","description": "string","deleted": true}
Retrieve environments pipeline transformation configs
Required API key scopes
plugin:read
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Response
Request
GET
/api /environments /:project_id /pipeline_transformation_configs /:id
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/environments/:project_id/pipeline_transformation_configs/:id/
Response
Status 200
{"id": 0,"plugin": 0,"enabled": true,"order": -2147483648,"config": "string","error": "string","team_id": 0,"plugin_info": "string","delivery_rate_24h": "string","created_at": "2019-08-24T14:15:22Z","updated_at": "2019-08-24T14:15:22Z","name": "string","description": "string","deleted": true}
Update environments pipeline transformation configs
Required API key scopes
plugin:write
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- plugininteger
- enabledboolean
- orderinteger
- namestring
- descriptionstring
- deletedboolean
Response
Request
PATCH
/api /environments /:project_id /pipeline_transformation_configs /:id
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl -X PATCH \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/environments/:project_id/pipeline_transformation_configs/:id/\-d plugin="integer"
Response
Status 200
{"id": 0,"plugin": 0,"enabled": true,"order": -2147483648,"config": "string","error": "string","team_id": 0,"plugin_info": "string","delivery_rate_24h": "string","created_at": "2019-08-24T14:15:22Z","updated_at": "2019-08-24T14:15:22Z","name": "string","description": "string","deleted": true}
Update environments pipeline transformation configs
Required API key scopes
plugin:write
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- plugininteger
- enabledboolean
- orderinteger
- namestring
- descriptionstring
- deletedboolean
Response
Request
PATCH
/api /environments /:project_id /pipeline_transformation_configs /:id
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl -X PATCH \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/environments/:project_id/pipeline_transformation_configs/:id/\-d plugin="integer"
Response
Status 200
{"id": 0,"plugin": 0,"enabled": true,"order": -2147483648,"config": "string","error": "string","team_id": 0,"plugin_info": "string","delivery_rate_24h": "string","created_at": "2019-08-24T14:15:22Z","updated_at": "2019-08-24T14:15:22Z","name": "string","description": "string","deleted": true}
Delete environments pipeline transformation configs
Required API key scopes
plugin:write
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request
DELETE
/api /environments /:project_id /pipeline_transformation_configs /:id
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl -X DELETE \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/environments/:project_id/pipeline_transformation_configs/:id/
Response
Status 204 No response body
Delete environments pipeline transformation configs
Required API key scopes
plugin:write
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request
DELETE
/api /environments /:project_id /pipeline_transformation_configs /:id
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl -X DELETE \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/environments/:project_id/pipeline_transformation_configs/:id/
Response
Status 204 No response body
Retrieve environments pipeline transformation configs activity
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request
GET
/api /environments /:project_id /pipeline_transformation_configs /:id /activity
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/environments/:project_id/pipeline_transformation_configs/:id/activity/
Response
Status 200 No response body
Retrieve environments pipeline transformation configs activity
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request
GET
/api /environments /:project_id /pipeline_transformation_configs /:id /activity
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/environments/:project_id/pipeline_transformation_configs/:id/activity/
Response
Status 200 No response body
Retrieve environments pipeline transformation configs frontend
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request
GET
/api /environments /:project_id /pipeline_transformation_configs /:id /frontend
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/environments/:project_id/pipeline_transformation_configs/:id/frontend/
Response
Status 200 No response body
Retrieve environments pipeline transformation configs frontend
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request
GET
/api /environments /:project_id /pipeline_transformation_configs /:id /frontend
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/environments/:project_id/pipeline_transformation_configs/:id/frontend/
Response
Status 200 No response body
Create environments pipeline transformation configs job
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- plugininteger
- enabledboolean
- orderinteger
- namestring
- descriptionstring
- deletedboolean
Request
POST
/api /environments /:project_id /pipeline_transformation_configs /:id /job
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/environments/:project_id/pipeline_transformation_configs/:id/job/\-d plugin="integer",\-d order="integer"
Response
Status 200 No response body
Create environments pipeline transformation configs job
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- plugininteger
- enabledboolean
- orderinteger
- namestring
- descriptionstring
- deletedboolean
Request
POST
/api /environments /:project_id /pipeline_transformation_configs /:id /job
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/environments/:project_id/pipeline_transformation_configs/:id/job/\-d plugin="integer",\-d order="integer"
Response
Status 200 No response body
Create environments pipeline transformation configs migrate
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- plugininteger
- enabledboolean
- orderinteger
- namestring
- descriptionstring
- deletedboolean
Request
POST
/api /environments /:project_id /pipeline_transformation_configs /:id /migrate
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/environments/:project_id/pipeline_transformation_configs/:id/migrate/\-d plugin="integer",\-d order="integer"
Response
Status 200 No response body
Create environments pipeline transformation configs migrate
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- plugininteger
- enabledboolean
- orderinteger
- namestring
- descriptionstring
- deletedboolean
Request
POST
/api /environments /:project_id /pipeline_transformation_configs /:id /migrate
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/environments/:project_id/pipeline_transformation_configs/:id/migrate/\-d plugin="integer",\-d order="integer"
Response
Status 200 No response body
Update environments pipeline transformation configs rearrange
Path parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- plugininteger
- enabledboolean
- orderinteger
- namestring
- descriptionstring
- deletedboolean
Request
PATCH
/api /environments /:project_id /pipeline_transformation_configs /rearrange
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl -X PATCH \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/environments/:project_id/pipeline_transformation_configs/rearrange/\-d plugin="integer"
Response
Status 200 No response body
Update environments pipeline transformation configs rearrange
Path parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- plugininteger
- enabledboolean
- orderinteger
- namestring
- descriptionstring
- deletedboolean
Request
PATCH
/api /environments /:project_id /pipeline_transformation_configs /rearrange
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl -X PATCH \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/environments/:project_id/pipeline_transformation_configs/rearrange/\-d plugin="integer"