Skip to content

Cloudflare Worker Scripts documentation incorrect optional parameters #24232

@valtterisa

Description

@valtterisa

Existing documentation URL(s)

Upload Worker Module documentation: https://developers.cloudflare.com/api/node/resources/workers/subresources/scripts/methods/update/

Multipart upload metadata: https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/

What changes are you suggesting?

Issue description

Upload Workers Scripts shows that metadata -> main_module is OPTIONAL, when in fact it is required per Multipart Upload metadata documentation.

Current Workers Scripts documentation for Upload Worker Module. Clearly shows main_module is optional. Also example shows it is not needed for success.

Image

Multipart upload metadata shows that main_module is required and it needs a script to run.

Image

Proposed change

I want to add proper example to SDK docs too. This will help developers using the API to exactly know what is needed.

Additional information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions