Versioning and deployment endpoints not working for dispatch namespaces

Hello! I am using Workers For Platform in order to save and deploy customer scripts. However, I noticed that certain endpoints (notable versioning and deployment endpoints) are not available for WFP. Is this correct?
3 Replies
BigFungus
BigFungusOP3w ago
Response to GET /accounts/<account_id>/workers/dispatch/namespaces/<namespace>/scripts/my_script/deployments and GET /accounts/<account_id>/workers/dispatch/namespaces/<namespace>/scripts/my_script/versions are identical and not as expected:
{
"result": {
"dispatch_namespace": "<namespace>",
"created_on": "2025-01-22T09:24:56.551654Z",
"modified_on": "2025-01-22T09:24:56.551654Z",
"script": {
"created_on": "2025-02-10T09:36:32.507089Z",
"modified_on": "2025-02-10T09:37:56.902349Z",
"id": "my_script",
"tag": "<tag>",
"tags": [],
"deployment_id": "<deployment_id>",
"tail_consumers": null,
"logpush": false,
"has_assets": false,
"has_modules": true,
"etag": "26e4b92ff8d6752ef3cc367876c81681ccd76beafcd9a0fb95faa9d0880c27c0",
"handlers": [
"fetch"
],
"last_deployed_from": "api",
"usage_model": "standard"
}
},
"success": true,
"errors": [],
"messages": []
}
{
"result": {
"dispatch_namespace": "<namespace>",
"created_on": "2025-01-22T09:24:56.551654Z",
"modified_on": "2025-01-22T09:24:56.551654Z",
"script": {
"created_on": "2025-02-10T09:36:32.507089Z",
"modified_on": "2025-02-10T09:37:56.902349Z",
"id": "my_script",
"tag": "<tag>",
"tags": [],
"deployment_id": "<deployment_id>",
"tail_consumers": null,
"logpush": false,
"has_assets": false,
"has_modules": true,
"etag": "26e4b92ff8d6752ef3cc367876c81681ccd76beafcd9a0fb95faa9d0880c27c0",
"handlers": [
"fetch"
],
"last_deployed_from": "api",
"usage_model": "standard"
}
},
"success": true,
"errors": [],
"messages": []
}
Walshy
Walshy3w ago
That's correct as of today yeah. Are you wanting to do gradual deployments for user workers?
BigFungus
BigFungusOP3w ago
While not a priority, we would like to eventually have both gradual deployments as well as saving multiple versions of a script in the future

Did you find this page helpful?