The following includes the details of how to interface with the artist commentary version records through the API.
Record field format
| Name | Type | Details |
|---|
| [code]id[/code] | integer | >0 |
| [code]post_id[/code] | integer | >0 |
| [code]original_title[/code] | string | |
| [code]original_description[/code] | string | |
| [code]translated_title[/code] | string | |
| [code]translated_description[/code] | string | |
| [code]updater_id[/code] | integer | >0 |
| [code]created_at[/code] | timestamp | |
| [code]updated_at[/code] | timestamp | |
| [code]updater_addr_ip[/code] | inet | Limited to Moderator+ |
Associated attributes
| Name | Type | Number | Availability | Details |
|---|
| [code]post[/code] | post | single | required | |
| [code]updater[/code] | user | single | required | |
Nomenclature
- Plural form: "artist_commentary_versions"
- Used in the URL pathname
- Singular form: "artist_commentary_version"
- Unused
- Version of: API:Artist Commentaries
Actions
These are the various actions that can be done with artist commentary version records.
Index
| HTTP Method | GET |
| Base URL | [code]/artist_commentary_versions.json[/code] |
| Type | read request |
| Description | The default order is ID descending. |
All of the following are standard attributes with all of their available formats and qualifiers.
- Number syntax
- [code]id[/code]
- [code]post_id[/code]
- [code]created_at[/code]
- [code]updated_at[/code]
- Text syntax
- [code]original_title[/code]
- [code]original_description[/code]
- [code]translated_title[/code]
- [code]translated_description[/code]
- User syntax
- [code]updater[/code]
- [code]post_tags_match[/code] - The post query of the search term matches the post of the artist commentary.
Show
| HTTP Method | GET |
| Base URL | [code]/artist_commentary_versions/$id.json[/code] |
| Type | read request |
| Description | [code]$id[/code] is the artist commentary version ID. |
See also
External links
| Controller | <https://github.com/danbooru/danbooru/blob/master/app/controllers/artist_commentary_versions_controller.rb> | |
| Model | <https://github.com/danbooru/danbooru/blob/master/app/models/artist_commentary_version.rb> |
| Policy | <https://github.com/danbooru/danbooru/blob/master/app/policies/artist_commentary_version_policy.rb> |