You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
368 B
9 lines
368 B
extends 'activitypub/types/person.activitystreams2.rabl'
|
|
|
|
object @account
|
|
|
|
attributes display_name: :name, username: :preferredUsername, note: :summary
|
|
|
|
node(:icon) { |account| full_asset_url(account.avatar.url(:original)) }
|
|
node(:image) { |account| full_asset_url(account.header.url(:original)) }
|
|
node(:outbox) { |account| api_activitypub_outbox_url(account.id) }
|
|
|