To get the list of custom attributes associated with a specified resource, the GET /environments/{environmentId}/resources/{resourceId}/attributes operation returns data for the attributes associated with the resource entity ID specified in the request URL.