Repository navigation
Get Content Descriptors
Revadike edited this page Nov 5, 2026
·
1 revision
Returns the HTML dialog in which the mature-content descriptors of a Workshop item are selected. The dialog's checkboxes are submitted to /sharedfiles/ajaxupdatecontentdescriptors/.
No known rate limit
Authenticated: No
Method:
GETHost:
steamcommunity.comPath:
/sharedfiles/ajaxeditcontentdescriptors/Query Parameters:
Name Type Required Description publishedfileidstring Yes The published file ID
Name Type Description successnumber Whether the request was successful
1= success2= thepublishedfileidparameter is missinghtmlstring HTML of the content descriptor dialog, empty when the ID does not resolve to a file
GET https://steamcommunity.com/sharedfiles/ajaxeditcontentdescriptors/?publishedfileid=155101824
{
"success": 1,
"html": "<script>\n\t$J(function()\n\t{\n\t\tvar $topContainer = $J( \"#edit_content_descriptors\" );\n\t\t$topContainer.find( \".content_descriptor_checkbox\" ).each(function(i, ele) {\n\t\t\tHandleRelatedContentDescriptors( $topContainer, $J( ele ), false );\n\n\t\t\t$J( ele ).bind( \"change\", function() {\n\n\t\t\t\tHandleRelatedContentDescriptors( $topContainer, $J( this ), true );\n\t\t\t} );\n\t\t} );\n\t} );\n</script>\n\n<div class=\"edit_content_descriptors\" id=\"edit_content_descriptors\">\n\t<p>Select the categories your content belongs to below:</p>\n\t<div class=\"content_descriptor\" data-parentdescid=\"0\">\n\t\t<label>\n\t\t\t<input type=\"checkbox\" id=\"descriptor_5\" class=\"content_descriptor_checkbox\" value=\"5\" >\n\t\t\t<div class=\"content_descriptor_name\">General Mature Content</div>\n\t\t</label>\n\t\t<div class=\"content_descriptor_desc\">This content is mature and not appropriate for all audiences.</div>\n\t</div>\n\t\t<div class=\"content_descriptor content_descriptor_descendent_1\" data-parentdescid=\"5\">\n\t\t<label>\n\t\t\t<input type=\"checkbox\" id=\"descriptor_2\" class=\"content_descriptor_checkbox\" value=\"2\" >\n\t\t\t<div class=\"content_descriptor_name\">Frequent Violence or Gore</div>\n\t\t</label>\n\t\t<div class=\"content_descriptor_desc\">This content primarily features violence or gore.</div>\n\t</div>\n\t\t<div class=\"content_descriptor content_descriptor_descendent_1\" data-parentdescid=\"5\">\n\t\t<label>\n\t\t\t<input type=\"checkbox\" id=\"descriptor_1\" class=\"content_descriptor_checkbox\" value=\"1\" >\n\t\t\t<div class=\"content_descriptor_name\">Some Nudity or Sexual Content</div>\n\t\t</label>\n\t\t<div class=\"content_descriptor_desc\">This content is mildly suggestive or revealing.</div>\n\t</div>\n\t\t<div class=\"content_descriptor content_descriptor_descendent_2\" data-parentdescid=\"1\">\n\t\t<label>\n\t\t\t<input type=\"checkbox\" id=\"descriptor_4\" class=\"content_descriptor_checkbox\" value=\"4\" >\n\t\t\t<div class=\"content_descriptor_name\">Frequent Nudity or Sexual Content</div>\n\t\t</label>\n\t\t<div class=\"content_descriptor_desc\">This contains explicit nudity or non-graphic sexual content.</div>\n\t</div>\n\t\t<div class=\"content_descriptor content_descriptor_descendent_3\" data-parentdescid=\"4\">\n\t\t<label>\n\t\t\t<input type=\"checkbox\" id=\"descriptor_3\" class=\"content_descriptor_checkbox\" value=\"3\" >\n\t\t\t<div class=\"content_descriptor_name\">Adult Only Sexual Content</div>\n\t\t</label>\n\t\t<div class=\"content_descriptor_desc\">This content is sexually explicit or graphic and is intended for adults only.</div>\n\t</div>\n\t</div>"
}