diff --git a/content/en/entities/Account.md b/content/en/entities/Account.md index e9ddb32f..c3b53c1a 100644 --- a/content/en/entities/Account.md +++ b/content/en/entities/Account.md @@ -39,6 +39,7 @@ aliases: [ "locked": false, "bot": false, "created_at": "2017-02-08T02:00:53.274Z", + "attribution_domains": ["example.com", "example.net"], "note": "

:ms_rainbow_flag:​ :ms_bisexual_flagweb:​ :ms_nonbinary_flag:​ #awoo#admin#bi#nonbinary#games@dzuk

", "url": "https://awoo.space/@noiob", "avatar": "https://files.mastodon.social/accounts/avatars/000/023/634/original/6ca8804dc46800ad.png", @@ -282,6 +283,7 @@ aliases: [ "acct": "trwnh", "display_name": "infinite love ⴳ", // ... + "attribution_domains": ["example.com", "example.net"], "note": "

i have approximate knowledge of many things. perpetual student. (nb/ace/they)

xmpp/email: a@trwnh.com
https://trwnh.com
help me live: https://liberapay.com/trwnh or paypal

- my triggers are moths and glitter
- i have all notifs except mentions turned off, so please interact if you wanna be friends! i literally will not notice otherwise
- dm me if i did something wrong, so i can improve
- purest person on fedi, do not lewd in my presence

", // ... "source": { @@ -346,6 +348,13 @@ aliases: [ } ``` +### `attribution_domains` {#attribution_domains} + +**Description:** Domains of websites allowed to credit the account.\ +**Type:** Array of String\ +**Version history:**\ +4.4.0 (`mastodon` [API version]({{< relref "entities/Instance#api-versions" >}}) 3) - added + ### `source` {#source} **Description:** An extra attribute that contains source values to be used with API methods that [verify credentials]({{< relref "methods/accounts#verify_credentials" >}}) and [update credentials]({{< relref "methods/accounts#update_credentials" >}}).\ diff --git a/content/en/methods/accounts.md b/content/en/methods/accounts.md index 78fa003f..1b541bb4 100644 --- a/content/en/methods/accounts.md +++ b/content/en/methods/accounts.md @@ -319,7 +319,8 @@ Update the user's display and preferences. 2.4.2 - added `source[language]` parameter\ 2.7.0 - added `discoverable` parameter\ 4.1.0 - added `hide_collections` parameter\ -4.2.0 - added `indexable` parameter +4.2.0 - added `indexable` parameter\ +4.4.0 (`mastodon` [API version]({{< relref "entities/Instance#api-versions" >}}) 3) - added `attribution_domains` parameter #### Request @@ -357,6 +358,9 @@ hide_collections indexable : Boolean. Whether public posts should be searchable to anyone. +attribution_domains[] +: Array of String. Domains of websites allowed to credit the account. + fields_attributes : Hash. The profile fields to be set. Inside this hash, the key is an integer cast to a string (although the exact integer does not matter), and the value is another hash including `name` and `value`. By default, max 4 fields.