Open jordanpadams opened 3 years ago
@jordanpadams I am thinking the API is already idempotent (unless the data is updated in the registry). Do you have an example where it is not in mind ?
@tloubrieu-jpl this was in response to @al-niessner's comment in the API spec regarding the use of POST
: https://github.com/NASA-PDS/pds-api/blob/master/docs/spec/pds-api-specification.md#verbs . I wasn't sure if / how that was implemented, so instead I made sure to capture the possible upgrade in the future in both the API Spec and with this story. if that is not the case, then we should update the spec accordingly and close this out.
thanks @jordanpadams , we can discuss that with @al-niessner during a breakout since I don't think I understand the implication of that sentence either. To me it sounds more like a requirements we should have on future development but it is a good thing to keep this ticket open so that this is clearer eventually.
Motivation
...so that I can when making multiple identical requests has the same effect as making a single request.
Additional Details
https://restfulapi.net/idempotent-rest-apis/
Acceptance Criteria
Given When I perform Then I expect
Engineering Details