Jump to content
View in the app

A better way to browse. Learn more.

Learn more
REST API Endpoints

REST API Reference

POST /downloads/categories/{id}


Edit a category

This endpoint is only available for requests made using an API Key or the Client Credentials Grant Type, not using an OAuth Access Token for a particular member.


Parameters

Name Type Description
parent int|null 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 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
parentId int|null Parent Node ID
permissions object|null Node permissions

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.