Start of the /resource endpoint.