New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include addable types constraints in plone.restapi #173

tisto opened this Issue Dec 16, 2016 · 1 comment


None yet
2 participants
Copy link

tisto commented Dec 16, 2016

Right now there is no way for a client to tell which content types are addable in a certain context (or globally).

The "types" endpoint just lists all existing content types, a first step would be to include the global_allow attribute there.

Though, we still need to include the information which content types are addable in a certain context. This would need to be embedded in the regular content response I guess.

Problem is we need to somehow solve the actions/framing API design in order to properly implement this.

@tisto tisto referenced this issue Feb 27, 2017


Beethoven Sprint Planning #214

18 of 56 tasks complete

This comment has been minimized.

Copy link

jaroel commented Mar 4, 2017

  • add 'addable' to type info, based on context.getAllowedTypes. Same as the add menu.
  • allow @types on all context.

@jaroel jaroel self-assigned this Mar 4, 2017

@jaroel jaroel added the in progress label Mar 4, 2017

@tisto tisto closed this in #235 Mar 5, 2017

@tisto tisto removed the in progress label Mar 5, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment