Skip to main content

Custom Component Update

Update a custom component with the provided code request.

This endpoint generates the CustomComponentFrontendNode normally but then runs the update_build_config method on the latest version of the template. This ensures that every time it runs, it has the latest version of the template.

Args: code_request (CustomComponentRequest): The code request containing the updated code for the custom component. user (User, optional): The user making the request. Defaults to the current active user.

Returns: dict: The updated custom component node.

Request Body REQUIRED
code Code REQUIRED
frontend_node Frontend Node
field Field REQUIRED
field_value Field Value
template object REQUIRED
Responses
200

Successful Response

Schema OPTIONAL
undefined
422

Validation Error

Schema OPTIONAL
detail object[] OPTIONAL
loc undefined[]
msg Message
type Error Type

Hi, how can I help you?