Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fully document the current Ajax API #8277
E.g. In ajax views I vaguely remember input is mapped into $vars, "guid" is auto-injected as the loaded "entity", and action responses have kind of special JSON auto-wrapping stuff with system_message(). AFAIK very little of this magical stuff is clearly documented.
At minimum it should be straightforward for a dev to create ajax views/actions that return JSON, and know what that JSON is going to look like.