update_web_packages
Batch-update web package titles in Skilljar. Set the writable title field for multiple packages at once; type, state, base_path, and display_name are ignored, so only renames are supported.
Instructions
Rename web packages. This is a BATCH operation.
`web_packages` is the batch, and each item is `{id, title}`. `title` IS THE
ONLY WRITABLE FIELD.
`type`, `state`, `base_path` and `display_name` are owned or derived by
Skilljar. It ACCEPTS them here and silently ignores them - which is unusual for
this API, and is why this tool refuses them instead of letting you believe a
change happened. To replace a package's content, create a new package and
repoint the lesson.
A RENAME MAY LOOK LIKE IT DID NOTHING. `display_name` only starts tracking
`title` once the package reaches READY; while it is PROCESSING or ERROR the
display name stays as the state plus filename. Read `title` rather than
`display_name` to confirm the change landed.
Requires the `web-packages:write` OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| web_packages | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| note | Yes | ||
| total | Yes | ||
| failed | Yes | ||
| succeeded | Yes |