create_web_packages
Start asynchronous upload of web packages from provided URLs and titles. Returns processing state; verify readiness via polling before confirming success.
Instructions
Upload web packages from URLs. ASYNCHRONOUS - this only starts the job.
`web_packages` is the batch: each item needs `content_url` (an https:// URL of
the archive) and a `title` of 1 to 500 characters.
SUCCESS HERE DOES NOT MEAN THE PACKAGE WORKS. Skilljar fetches and re-hosts the
archive in a background worker. Rows come back in state PROCESSING, and a
malformed or unreachable archive surfaces later as state ERROR on the package -
never as a failure on this call. Poll `get_web_package` until `state` is READY
or ERROR before telling anyone the upload worked.
The URL is only checked for syntax here. Whether it resolves, and whether what
it serves is a valid archive, is decided at fetch time.
THERE IS NO DEDUPLICATION. Sending the same `content_url` twice creates two
separate packages, because that is a legitimate thing to want. Every other
create tool in this server dedups; this one does not.
Each accepted item queues a real outbound download, so one request becomes real
egress. This endpoint is rate limited more tightly than an ordinary batch write.
Submit in small batches.
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 |