radicle-jetbrains-plugin
radicle-jetbrains-plugin copied to clipboard
Change patch state through CLI
Change patch state (HTTPD)
curl --location --request PATCH 'http://localhost:8080/api/v1/projects/rad:zzvuM1U8E3eSJswMg13YuatjKiU7/patches/b805142a305f29c8db168369d541d0cad18b5eaa' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer SgaAu5c7c7wTfEAa8S1UVb9p8rsk42Dm' \
--data '{"state":{"reason":"other","status":"draft"},"type":"lifecycle"}'
Response:
{"success": true, "id": "929238769acf3e4c5e74a36f12cb7733e41fd7be"}
Change patch state (CLI)
Action Required
- We need a command that can change the state of a patch