To get data for a single resource entity, the GET /environments/{environmentId}/customDomains/{customDomainId} operation returns data for the custom domain resource with the specified ID.