Document digest in Admin DomainBlock Entity
This commit is contained in:
parent
c2153cd6e5
commit
9694154391
|
@ -22,6 +22,7 @@ aliases: [
|
||||||
{
|
{
|
||||||
"id": "1",
|
"id": "1",
|
||||||
"domain": "example.com",
|
"domain": "example.com",
|
||||||
|
"digest": "a379a6f6eeafb9a55e378c118034e2751e682fab9f2d30ab13d2125586ce1947",
|
||||||
"created_at": "2022-11-16T08:15:34.238Z",
|
"created_at": "2022-11-16T08:15:34.238Z",
|
||||||
"severity": "noop",
|
"severity": "noop",
|
||||||
"reject_media": false,
|
"reject_media": false,
|
||||||
|
@ -48,6 +49,13 @@ aliases: [
|
||||||
**Version history:**\
|
**Version history:**\
|
||||||
4.0.0 - added
|
4.0.0 - added
|
||||||
|
|
||||||
|
### `digest` {#digest}
|
||||||
|
|
||||||
|
**Description:** The sha256 hex digest of the domain that is not allowed to federated.\
|
||||||
|
**Type:** String\
|
||||||
|
**Version history:**\
|
||||||
|
4.3.0 - added
|
||||||
|
|
||||||
### `created_at` {#created_at}
|
### `created_at` {#created_at}
|
||||||
|
|
||||||
**Description:** When the domain was blocked from federating.\
|
**Description:** When the domain was blocked from federating.\
|
||||||
|
@ -104,4 +112,4 @@ aliases: [
|
||||||
|
|
||||||
{{< page-relref page="methods/admin/domain_blocks" caption="admin/domain_blocks API methods" >}}
|
{{< page-relref page="methods/admin/domain_blocks" caption="admin/domain_blocks API methods" >}}
|
||||||
|
|
||||||
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/serializers/rest/admin/domain_block_serializer.rb" caption="app/serializers/rest/admin/domain_block_serializer.rb" >}}
|
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/serializers/rest/admin/domain_block_serializer.rb" caption="app/serializers/rest/admin/domain_block_serializer.rb" >}}
|
||||||
|
|
Loading…
Reference in New Issue