Adds fairly basic CRUD operations to the Messages route. Lacking batch delete and parent-related post routes
Yes the delete can fail out, if no ID is supplied. This is because (in the index), parent ID and message ID are to be passed in the URL. If a batch delete is added, the difference between one and the other can be a mere conditional, so this route made sense to me.
Adds fairly basic CRUD operations to the Messages route. Lacking batch delete and parent-related post routes
Yes the delete can fail out, if no ID is supplied. This is because (in the index), parent ID and message ID are to be passed in the URL. If a batch delete is added, the difference between one and the other can be a mere conditional, so this route made sense to me.