old_contents: # -*- coding: utf-8 -*-
  from __future__ import absolute_import, unicode_literals
  
  from rest_framework import serializers
  
  from commonrepo.elos.models import ELO
  from commonrepo.users.models import User as User
  
  from .models import ELOFileUpload
  
  class ELOSerializer(serializers.HyperlinkedModelSerializer):
      class Meta:
          model = ELO
          fields = ('url', 'name', 'fullname', 'author', 'create_date', 'update_date', 'original_type', 'is_public', 'init_file' )
  
  class ELOFileUploadSerializer(serializers.HyperlinkedModelSerializer):
      owner = serializers.SlugRelatedField(
          read_only=True,
          slug_field='id'
      )
      class Meta:
          model = ELOFileUpload
          read_only_fields = ('created', 'datafile', 'owner')
new_contents: # -*- coding: utf-8 -*-
  from __future__ import absolute_import, unicode_literals
  
  from rest_framework import serializers
  
  from commonrepo.elos.models import ELO
  from commonrepo.users.models import User as User
  
  from .models import ELOFileUpload
  
  class ELOSerializer(serializers.HyperlinkedModelSerializer):
      class Meta:
          model = ELO
          fields = ('url', 'name', 'fullname', 'author', 'create_date', 'update_date', 'original_type', 'is_public', 'init_file', 'version', 'parent_elo', 'parent_elo_version' )
  
  class ELOFileUploadSerializer(serializers.HyperlinkedModelSerializer):
      owner = serializers.SlugRelatedField(
          read_only=True,
          slug_field='id'
      )
      class Meta:
          model = ELOFileUpload
          read_only_fields = ('created', 'datafile', 'owner')
subject: 更新 API ELOs, 新增 version, parent_elo 及 parent_elo_version 資訊