Scripts
Create Or Update Script
Changed onCreate or update a script.
Args: script_name: Name of the script (from URL path) script: Script object with content
Returns: Success message when script is saved
Raises: HTTPException: 400 if save error occurs
post/scripts/{script_name}
Request
- Base URLhttp://localhost:8000
- URLhttp://localhost:8000/scripts/{script_name}
- AuthHTTP basic
Path parameters
script_namestring required
Request body
Response
Successful Response
unknown required
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- breaking
the response's body type changed from
objectto no type for status
- breaking