You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PUT method requests that the enclosed entity be stored under the
supplied Request-URI. If the Request-URI refers to an already
existing resource, the enclosed entity SHOULD be considered as a
modified version of the one residing on the origin server. If the
Request-URI does not point to an existing resource, and that URI is
capable of being defined as a new resource by the requesting user
agent, the origin server can create the resource with that URI. If a
new resource is created, the origin server MUST inform the user agent
via the 201 (Created) response. If an existing resource is modified,
either the 200 (OK) or 204 (No Content) response codes SHOULD be sent
to indicate successful completion of the request.
The PUT method requests that the state of the target resource be created or replaced with the state defined by the representation
enclosed in the request message payload. (...) If the target resource does not have a current representation and the
PUT successfully creates one, then the origin server MUST inform the
user agent by sending a 201 (Created) response. If the target
resource does have a current representation and that representation
is successfully modified in accordance with the state of the enclosed
representation, then the origin server MUST send either a 200 (OK) or
a 204 (No Content) response to indicate successful completion of the
request.
I do not have any record why the creation through PUT was dropped, but it doesn't seem correct.
The text was updated successfully, but these errors were encountered:
Hi @dosse , the decision of the TF4 group was to keep things as simple as possible, thus allowing not too many options for any given action. Nevertheless, we could review and enrich the available options.
It seems that the final doc about HTTP methods to the SDMX REST API for Structural Metadata maintenance misses the creation of artefacts through the PUT keyword. This was still part of the TWG version agreed of 14/01/2020: 2020.01.14-sdmx-rest-51.pdf as it was aligned with the HTTP standard which says:
https://datatracker.ietf.org/doc/html/rfc7231#section-4.3.4 says:
I do not have any record why the creation through PUT was dropped, but it doesn't seem correct.
The text was updated successfully, but these errors were encountered: