Store an entity from YAML

PUT /Platform/entities/{entity_type}/{entity_id}

Store an entity from YAML.

Two modes, selected by validate:

If expected_commit_id is supplied, the server performs an optimistic-concurrency check: the write proceeds only if the current commit on the branch matches. On mismatch a conflict error is returned (the entity is NOT overwritten).

Path parameters

Body parameters

Returns

EntityPutResponse

Example request

curl -X PUT "https://api.hilus.ai/Platform/entities/{entity_type}/{entity_id}" \
  -H "Authorization: Bearer $HILUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'