alechenninger / lightblue-applications

GNU General Public License v3.0
0 stars 0 forks source link

Add builder view #5

Closed alechenninger closed 9 years ago

alechenninger commented 9 years ago

entity (aka objectType) and version (aka entityVersion) can additionally be pulled out of the request body as they are redundant and appear to be ignored. @jewzaam can you confirm this?

jewzaam commented 9 years ago

You asking to change the request json schema? We decided to have those as part of the body on purpose, even though redundant. If you want/need reference docs there might be something somewhere.

alechenninger commented 9 years ago

Are they supposed to be required? I can make requests leaving them out and it works, and if I make requests with a different entity defined in the URL vs the request body, the URL takes precedence. I can even put something completely random in objectType and the request still works.

alechenninger commented 9 years ago

Ah, if I use "entity" instead of "objectType" it complains.

jewzaam commented 9 years ago

I'd have to review the schema. Likely don't have schema validation enabled right now.

On Wed, Nov 12, 2014, 7:16 PM Alec Henninger notifications@github.com wrote:

Ah, if I use "entity" instead of "objectType" it complains.

— Reply to this email directly or view it on GitHub https://github.com/alechenninger/lightblue-applications/issues/5#issuecomment-62819936 .