Skip to content
This repository has been archived by the owner on Nov 13, 2018. It is now read-only.

TO API: Provide the ability to return an optional message along with the response payload #1492

Closed
mitchell852 opened this issue Jun 6, 2016 · 0 comments · Fixed by #1494
Assignees
Milestone

Comments

@mitchell852
Copy link
Member

The new message should follow the convention current used by "alerts".

For example, if you create a new user, the response payload may look like this

{
"response": { ... user ... },
"alerts": [ { "level": "success", "text": "User has been created" } ]
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant