Re: [Specifications] Question about resource versioning (#190)

You are talking about PUT requests against resources you got via a collection but have not dereferenced yet yourself and therefore don't have an ETag, yet? That is indeed an interesting question. I see two approaches:

1) Just PUT without ETag and accept to override
2) Make a GET or OPTION request before PUTting, to get the ETag.

I would not include the version (metadata) in the actual resource data.

-- 
GitHub Notification of comment by angelo-v
Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/190#issuecomment-484006716 using your GitHub account

Received on Wednesday, 17 April 2019 09:20:32 UTC