Add Custom Code
Changed onAdd a user-defined custom code to a configuration.
Args: configuration_id (UUID): The ID of the configuration to update. body (AddCustomCodeInput): The custom code information provided by the user. user (dict[str, Any]): The logged-in user. db (AsyncDatabaseConnection): The database connection.
Raises: HTTPException: 404 if configuration isn't found HTTPException: 409 if configuration is not a draft and therefore not editable HTTPException: 500 if custom code can't be added
Returns: ConfigurationCustomCodeResponse: Updated configuration
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
Request body
Response
Successful Response
Changes
- breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - warning
removed the request property
- warning
removed the request property
- info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking