discourse/app/serializers/upload_serializer.rb

6 lines
124 B
Ruby

class UploadSerializer < ApplicationSerializer
attributes :id, :url, :original_filename, :filesize, :width, :height
end