Submit a component's source
Submits a Rust crate as a new version of the component its slug names, creating the component on its first version, and answers 202 while the server builds it in the background.
The version starts queued; read it with getVersion until it is ready or failed.
Guide: Components
Errors
| Status | type | code | When |
|---|---|---|---|
| 400 | invalid_request | invalid_slug | Naming every problem with the slug or the crate. |
| 400 | invalid_request | invalid_source | Naming every problem with the slug or the crate. |
It can also fail with the errors every operation shares, such as unauthenticated; see Errors.
More in Components
- List components
GET - Upload a component module
POST - Retrieve a component
GET - Update a component
PATCH - Delete a component
DELETE - List a component's versions
GET - Retrieve a component version
GET - Update a component version
PATCH - List component uses
GET
Something wrong or missing on this page? Tell us by email or on Discord.