Workers For Platforms
workers_for_platforms
Dispatch
workers_for_platforms.dispatch
workers_for_platforms.dispatch.namespaces
Methods
Create a new Workers for Platforms namespace.
Delete a Workers for Platforms namespace.
Get a Workers for Platforms namespace.
Fetch a list of Workers for Platforms namespaces.
workers_for_platforms.dispatch.namespaces.scripts
Methods
Delete a worker from a Workers for Platforms namespace. This call has no response body on a successful delete.
Fetch information about a script uploaded to a Workers for Platforms namespace.
Upload a worker module to a Workers for Platforms namespace. You can find more about the multipart metadata on our docs: https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/.
Domain types
Details about a worker uploaded to a Workers for Platforms namespace.
workers_for_platforms.dispatch.namespaces.scripts.asset_upload
Methods
Start uploading a collection of assets for use in a Worker version. To learn more about the direct uploads of assets, see https://developers.cloudflare.com/workers/static-assets/direct-upload/
workers_for_platforms.dispatch.namespaces.scripts.bindings
Methods
Fetch script bindings from a script uploaded to a Workers for Platforms namespace.
workers_for_platforms.dispatch.namespaces.scripts.content
Methods
Fetch script content from a script uploaded to a Workers for Platforms namespace.
Put script content for a script uploaded to a Workers for Platforms namespace.
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example: Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
Workers Scripts Write
Identifier
Name of the Workers for Platforms dispatch namespace.
Name of the script, used in URLs and route configuration.
Whether the API call was successful
workers_for_platforms.dispatch.namespaces.scripts.secrets
Methods
Get secret from a script uploaded to a Workers for Platforms namespace.
List secrets from a script uploaded to a Workers for Platforms namespace.
Put secrets to a script uploaded to a Workers for Platforms namespace.
Domain types
workers_for_platforms.dispatch.namespaces.scripts.settings
Methods
Patch script metadata, such as bindings
Get script settings from a script uploaded to a Workers for Platforms namespace.