set_course_policy
Determine whether a course should be watched by setting its state to watch, ignore, or pending, and resolve pending courses with a durable policy decision.
Instructions
Decide whether a course is watched. Use this to answer a pending course.
state is watch, ignore or pending. A decision made with a by other than
policy is never overwritten by a policy rule afterwards, so the user's
answer sticks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | ||
| state | Yes | ||
| reason | No | ||
| course_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |