DASubmitDeviation - danopia/deviantart-difi GitHub Wiki

dbcategories

Lists the deviation categories in one large, text-formatted list.

Usage

  • Called when loading the "Submit Deviation" page.

Params

None.

Response

A large string of labels and IDs, formatted into an ASCII tree. Here's the first few lines of the printed string:

Anime & Manga
.Digital Media
..3D:1624
..Drawings:852
..Manga (comics)
...Pages & Panels:1619
...Strips:1618
..Oekaki:778
..Paintings:1137
..Vector:1623
.Traditional Media
..Drawings:761
..Manga (comics)
...Pages & Panels:1628
...Strips:1627
..Mixed Media:1632
..Paintings:1141
Anthro
.Digital Media

dbcategories_retry

undocumented

format_description

Renders a preview of a deviation's description.

Usage

  • Used to show description previews in the Submit Deviation page.

Params

  • description: string

Response

HTML string, for example:

"Hey! <a href=\"http:\/\/rickrollplz.deviantart.com\/\"><img class=\"avatar\"
 src=\"http:\/\/a.deviantart.net\/avatars\/r\/i\/rickrollplz.gif?4\" alt=\":iconrickrollplz:\"
 title=\"rickrollplz\"\/><\/a>"

privileged_categories

Returns list of privileged categories

Usage

  • Unknown, possibly to recognize hidden categories?

Params

None

Response

Array of categories

[{"title":"Applications","path":["artid","3383"]},{"title":"Customization > Skins & Themes > Internet Utilities > Deviantart.com Skins","path":["artid","1364"]},{"title":"deviantART Related > deviantWEAR & Prints > Featured Action Shots","path":["artid","1860"]},{"title":"deviantART Related > deviantWEAR & Prints > For Sale","path":["artid","1834"]},{"title":"deviantART Related > deviantWEAR & Prints > Reprinting","path":["artid","1835"]},{"title":"deviantART Related > deviantWEAR & Prints > Sold Out","path":["artid","1836"]},{"title":"Journals > General","path":["artid","3486"]}]

format_literature

Returns preview of literature

Usage

  • Show preview of literature

Params

  • literature: string

Response

Formatted literature in HTML.

dbliteraturecategories

Usage

Seems to return a list of Literature categories

Params

  • boolean (false = Literature, true = Journals?)
  • boolean (false and previous is also false = all Literature categories, true and previous is false = only pure Literature categories; doesn't do anything if previous is true)

dbliteraturecategories

undocumented

special_terms

Params

  • string (i.e. "submitpolicy", returns the dA Submit Policy)

agree

undocumented

Params

  • string (i.e. "submitpolicy", returns the dA Submit Policy)

dbmadefirecategories

Usage

Returns the Motion Books category.

Params

None

⚠️ **GitHub.com Fallback** ⚠️