Development talk:Web services: Difference between revisions
From MoodleDocs
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
==general remarks about OUTPUT of operations:== | ==general remarks about OUTPUT of operations:== | ||
Is true of false informative enough ? | Is true of false informative enough ? | ||
Should the API have some sort of "last_error" | Should the API have some sort of "last_error" function giving back more details such as "non existing course, non existing user, duplicate entry ...) | ||
Shall we consider that affecting a role that already exist or | Shall we consider that affecting a role that already exist or removing role that do not exist as an error (output=false) or not (output=true) |
Revision as of 10:30, 13 November 2007
general remarks about OUTPUT of operations:
Is true of false informative enough ? Should the API have some sort of "last_error" function giving back more details such as "non existing course, non existing user, duplicate entry ...) Shall we consider that affecting a role that already exist or removing role that do not exist as an error (output=false) or not (output=true)