Giter Club home page Giter Club logo

Comments (3)

sebastian-iancu avatar sebastian-iancu commented on June 3, 2024

thanks @jakesmolka, you are right about this, I will change(fix) this in the upcoming release.

from specifications-its-rest.

jakesmolka avatar jakesmolka commented on June 3, 2024

I'm just now realizing that my proposal might not be correct, too.

The snippet

If the request body already contains a composition uid it must match the

mentions the composition ID in the request body, which by my knowledge would need to be of type version_uid (referencing a specific version, itself). The versioned_object_uid in the URL would be of type, well, versioned_object_uid (referencing the version container). Those would never match.

Or is this how it is supposed to be, i.e. "match" is meant as "the version_uid should be a matching version of that versioned_object_uid in the URL" and not "equals"?

from specifications-its-rest.

sebastian-iancu avatar sebastian-iancu commented on June 3, 2024

The "match" here refers to semantic matching, i.e. the COMPOSITION.uid.value in the body should relate to that of the "owning" versioned_object_uid. It was not about exact version-matching, which is handled by that If-Match={preceding_version_uid} header.
I rephrased the text there, hopefully is more clear now.

from specifications-its-rest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.