documentation/archetypes/entities.md

603 B

title: "{{ replace .Name "-" " " | title }}" description: menu: docs: parent: entities

Example

Attributes

id

Description: The ID of the SOMETHING in the database.
Type: String (cast from an integer, but not guaranteed to be a number)
Version history:
x.x.x - added

See also

{{< page-relref ref="methods/SOMETHING#anchor" caption="POST /api/v1/something/" >}}

{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/serializers/rest/SOMETHING_serializer.rb" caption="app/serializers/rest/SOMETHING_serializer.rb" >}}