fix URL rules issue; rename `collection_name` to `endpoint`