#hello! I've recently try to update
1 messages · Page 1 of 1 (latest)
Hi @fallen harness , I’m going to create a test case and try to identify the root cause of the problem. Could you open a GitHub issue about this as well?
@fallen harness , I found the root cause of the issue. The request payload should use "partials" instead of "entities" as the field name. The documentation had the old field name, and we're updating it now.
The API expects:
{
"metadata": {
"schema_version": ""
},
"partials": {
"repository": {
"write": [...],
"delete": [...],
"update": [...]
}
}
}
Using "entities" means the partial updates are ignored, so the schema doesn't change.
We're updating the documentation to reflect the correct field name. Could you please try the request again with "partials" instead of "entities"?
thank you i test this now.
I think that you will update some routes paths. During my test i have seen that, the route like
/v1/{tenant_id}/schemas/partial-write will return not found. But this route /v1/tenants/{tenant_id}/schemas/partial-write return good response.
please check and update so. thank you.
@fallen harness there’s a typo here. The correct path is the one below: /v1/tenants/{tenant_id}/schemas/partial-write. I will update the example accordingly
thank you