Jump to content

Community

REST API Documentation

/downloads/category/{id}


Edit a category

Parameters

Name Type Description
parent nt|null object The ID number of the parent the category should be created in. NULL for root.
moderation int Files must be approved?
moderation_edits int New versions must be re-approved?
allowss int Allow screenshots?
reqss int Require screenshots?
comments int Allow comments?
comments_moderation int Comments must be approved?
reviews int Allow reviews?
reviews_mod int Reviews must be approved?
reviews_download int Files must be downloaded before a review can be left?
permissions object An object with the keys as permission options (view, read, add, download, reply, review) and values as permissions to use (which may be * to grant access to all groups, or an array of group IDs to permit access to)

Exceptions

This endpoint doesn't throw any exceptions.

Response

Name Type Description
id int ID number
name string Name
url string URL
class string Node class
permissions bject|null object Node permissions
×
×
  • Create New...