Hello OGC Connected System People,
I am currently making an implementation of api and it appears that OpenAPI is missing the PATCH request as defined in https://docs.ogc.org/is/23-001/23-001.html#_req_update
I also wanted to understand how PATCH would be expected to work with arrays.
For example,
Given object
{
"some-field": {
"some-value": "test"
},
"some-array": [
{
"some-other-value": "test"
}
]
}
I am assuming the below request would work as expected (update a field and add a new one)
{
"some-field": {
"some-value": "updated-test",
"new-value": "i am new field"
}
}
But how does patching the array work.... is it just a full replace?
{
"some-array": [
{
"some-new-object-value": "new-value"
}
]
}
This may be listed in the linked feature's part 4. However, that link is currently broken http://www.opengis.net/doc/IS/ogcapi-features-4/1.0
Hello OGC Connected System People,
I am currently making an implementation of api and it appears that OpenAPI is missing the PATCH request as defined in https://docs.ogc.org/is/23-001/23-001.html#_req_update
I also wanted to understand how PATCH would be expected to work with arrays.
For example,
Given object
{ "some-field": { "some-value": "test" }, "some-array": [ { "some-other-value": "test" } ] }I am assuming the below request would work as expected (update a field and add a new one)
{ "some-field": { "some-value": "updated-test", "new-value": "i am new field" } }But how does patching the array work.... is it just a full replace?
{ "some-array": [ { "some-new-object-value": "new-value" } ] }This may be listed in the linked feature's part 4. However, that link is currently broken http://www.opengis.net/doc/IS/ogcapi-features-4/1.0