تعديل نص
update-scriptUpdate a script the signed-in user can edit. Only what you send is changed. Send your rating out of ten to set or revise it — Bardiyah stores the number you send and never works one out itself. Returns an error if the script does not exist or the user cannot edit it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Which script, taken from a search or a listing. | |
| title | No | New script title. | |
| video_type | No | New video type. | |
| viral_score | No | Your rating of the script from 1 to 10. Stored exactly as sent; omit it to leave the current score alone. There is no zero — omit the rating instead of sending one. | |
| viral_score_reason | No | Short reasoning for the score, so the number is reviewable later. |