Updating serverless template via REST API
I'm looking to programmatically update the Docker image associated with a given endpoint. I noticed that this appears to be done through the endpoint's template rather than the through the endpoint model itself.
The template in question can only be accessed via
GET when ?includeEndpointBoundTemplates=true, but the corresponding POST and PATCH endpoints do not support said query param, and trying to update the endpoint through those means returns
2 Replies
Yes. Both
POST /templates/{templateId}/update and PATCH /templates/{templateId} return a 404 when {templateId} refers to an endpoint-bound template.