ScrollX Tag Page

Api:Artist Versions

0 posts0 sourcesWiki updated 3/4/2026
Browse Full Gallery →

About Api:Artist Versions

Table of Contents

The following includes the details of how to interface with the artist version records through the API.

Record field format

[table]

[thead]

[tr]

[th]Name[/th]

[th]Type[/th]

[th]Details[/th]

[/tr]

[/thead]

[tbody]

[tr]

[td][code]id[/code][/td]

[td]integer[/td]

[td]>0[/td]

[/tr]

[tr]

[td][code]artist_id[/code][/td]

[td]integer[/td]

[td]>0[/td]

[/tr]

[tr]

[td][code]name[/code][/td]

[td]string[/td]

[td][/td]

[/tr]

[tr]

[td][code]urls[/code][/td]

[td]array[/td]

[td][/td]

[/tr]

[tr]

[td][code]other_names[/code][/td]

[td]array[/td]

[td][/td]

[/tr]

[tr]

[td][code]group_name[/code][/td]

[td]string[/td]

[td][/td]

[/tr]

[tr]

[td][code]is_banned[/code][/td]

[td]boolean[/td]

[td][/td]

[/tr]

[tr]

[td][code]updater_id[/code][/td]

[td]integer[/td]

[td]>0[/td]

[/tr]

[tr]

[td][code]created_at[/code][/td]

[td]timestamp[/td]

[td][/td]

[/tr]

[tr]

[td][code]updated_at[/code][/td]

[td]timestamp[/td]

[td][/td]

[/tr]

[tr]

[td][code]updater_addr_ip[/code][/td]

[td]inet[/td]

[td]Limited to Moderator+[/td]

[/tr]

[/tbody]

[/table]

Associated attributes

[table]

[thead]

[tr]

[th]Name[/th]

[th]Type[/th]

[th]Number[/th]

[th]Availability[/th]

[th]Details[/th]

[/tr]

[/thead]

[tbody]

[tr]

[td][code]artist[/code][/td]

[td]artist[/td]

[td]single[/td]

[td]required[/td]

[td][/td]

[/tr]

[tr]

[td][code]updater[/code][/td]

[td]user[/td]

[td]single[/td]

[td]required[/td]

[td][/td]

[/tr]

[/tbody]

[/table]

Nomenclature

  • Plural form: "artist_versions"
  • Used in the URL pathname
  • Singular form: "artist_version"
  • Unused
  • Version of: API:Artists

Actions

These are the various actions that can be done with artist version records.

Index

[table]

[tbody]

[tr]

[td]HTTP Method[/td]

[td]GET[/td]

[/tr]

[tr]

[td]Base URL[/td]

[td][code]/artist_versions.json[/code][/td]

[/tr]

[tr]

[td]Type[/td]

[td]read request[/td]

[/tr]

[tr]

[td]Description[/td]

[td]The default order is ID descending.[/td]

[/tr]

[/tbody]

[/table]

Search attributes

All of the following are standard attributes with all of their available formats and qualifiers.

Special search parameters

  • [code]order[/code] - Sets the order of results.
  • [code]name[/code] - Alphabetical on the name field.

Show

[table]

[tbody]

[tr]

[td]HTTP Method[/td]

[td]GET[/td]

[/tr]

[tr]

[td]Base URL[/td]

[td][code]/artist_versions/$id.json[/code][/td]

[/tr]

[tr]

[td]Type[/td]

[td]read request[/td]

[/tr]

[tr]

[td]Description[/td]

[td][code]$id[/code] is the artist version ID.[/td]

[/tr]

[/tbody]

[/table]

See also

[table]

[tbody]

[tr]

[td]Controller[/td]

[td]<https://github.com/danbooru/danbooru/blob/master/app/controllers/artists_versions_controller.rb>[/td]

[td][/td]

[/tr]

[tr]

[td]Model[/td]

[td]<https://github.com/danbooru/danbooru/blob/master/app/models/artist_version.rb>[/td]

[/tr]

[tr]

[td]Policy[/td]

[td]<https://github.com/danbooru/danbooru/blob/master/app/policies/artist_version_policy.rb>[/td]

[/tr]

[/tbody]

[/table]

Page 1