def METHOD_NAME(self, project_id):
    """
    Export shots linked to a given project as csv.
    ---
    tags:
      - Export
    parameters:
      - in: path
        name: project_id
        required: True
        type: string
        format: UUID
        x-example: a24a6ea4-ce75-4665-a070-57453082c25
    responses:
        200:
            description: Shots exported as csv
    """
    project = projects_service.get_project(project_id)
    self.check_permissions(project["id"])
    criterions = query.get_query_criterions_from_request(request)
    criterions["project_id"] = project["id"]
    self.task_status_map = tasks_service.get_task_status_map()
    self.task_type_map = tasks_service.get_task_type_map()
    self.persons_map = persons_service.get_persons_map()
    csv_content = []
    results = self.get_shots_data(criterions)
    metadata_infos = self.get_metadata_infos(project_id)
    validation_columns = self.get_validation_columns(results)
    headers = self.build_headers(metadata_infos, validation_columns)
    csv_content.append(headers)
    for result in results:
        result["project_name"] = project["name"]
        csv_content.append(
            self.build_row(result, metadata_infos, validation_columns)
        )
    file_name = "%s shots" % project["name"]
    return csv_utils.build_csv_response(csv_content, slugify(file_name))