get_web_package
Check whether an uploaded web package finished ingesting by providing its ID. Poll until state becomes READY or detect ERROR.
Instructions
Fetch one web package, and check whether it finished ingesting.
`id` is the obfuscated package id. THIS IS THE POLLING TOOL: after
`create_web_packages`, call this until `state` stops being PROCESSING.
PROCESSING Skilljar is still fetching and re-hosting the archive
READY usable by a lesson
ERROR the archive was rejected - the create call did NOT report this
`display_name` is derived, not the title you set. Until the package reaches
READY it is the state plus the filename, so a title change looks as though it
did nothing. Compare `title` to know what was actually stored.
Requires the `web-packages:read` OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| state | No | ||
| title | No | ||
| base_path | No | ||
| created_at | No | ||
| modified_at | No | ||
| display_name | No | ||
| package_type | No |