register API resource