[{"label":"Latest (0.1.1)","version":"latest"}]
cric-r1
Patch Service By ID
DescriptionPatch an existing service by providing a JSON patch document in the request body. This is used primarily to provide regular heartbeats from a service to the Service Registry to keep the service discoverable.
Request
URLURL
https://{api_host}/dms/service/v0alpha1/services/{service_id}
Path Parameters
Path Parameters
string
service_id
Required
ID of the service to be patched. It is the name associated with the service.
Request Body
Request Body
JsonPatchRequest
of mimetype application/json
Required
Patch document consisting of the operation, path and value to be updated.
Request data structure does not contain any properties!
Errors
ProblemDetails
400
Bad request due to errors in request body or in json patch document.
ProblemDetails
404
Service identified by service_id
not found.
Code Samples
cURL Command
curl -X PATCH -H "Content-Type: application/json" -d '{}' https://{api_host}/dms/service/v0alpha1/services/{service_id}
[{"label":"Latest (0.1.1)","version":"latest"}]
cric-r1