```ruby
class MotionSerializer < ActiveModel::Serializer
  attributes :id, :amendment_text

	has_one :motion_type
end
```

Add More Details To Montion API Index
user
```ruby
class MotionSerializer < ActiveModel::Serializer
  attributes :id, :amendment_text

	has_one :councillor
  has_one :item
	has_one :motion_type
end
```
assistant