composition rules API put-post