Creates a new category.
Output of disqus category create --help
:
Usage: disqus category create [options]
Options:
-h, --help output usage information
-A, --api_key <string> Your applications's public api_key.
-d, --default [boolean] Defaults to false
-f, --forum <string> Looks up a forum by ID (aka short name). You must be a moderator on the selected forum.
-H, --https [boolean] Whether to use https. Defaults to true.
-L, --logLevel [string] Output log level. Choices: debug, info, notice, warning, error, critical, alert, emergency.
-t, --title <string> Maximum length of 50
Returns category details.
Output of disqus category details --help
:
Usage: disqus category details [options]
Options:
-h, --help output usage information
-A, --api_key <string> Your applications's public api_key.
-c, --category <string> Looks up a category by ID.
-H, --https [boolean] Whether to use https. Defaults to true.
-L, --logLevel [string] Output log level. Choices: debug, info, notice, warning, error, critical, alert, emergency.
Returns a list of categories within a forum.
Output of disqus category list --help
:
Usage: disqus category list [options]
Options:
-h, --help output usage information
-A, --api_key <string> Your applications's public api_key.
-c, --cursor [string] Defaults to null.
-f, --forum <string> Looks up a forum by ID (aka short name).
-H, --https [boolean] Whether to use https. Defaults to true.
-l, --limit [number] Defaults to 25.
-L, --logLevel [string] Output log level. Choices: debug, info, notice, warning, error, critical, alert, emergency.
-o, --order [string] Defaults to "asc". Choices: "asc", "desc".
-s, --since_id [string] Defaults to null.
Returns a list of posts within a category.
Output of disqus category listPosts --help
:
Usage: disqus category listPosts [options]
Options:
-h, --help output usage information
-A, --api_key <string> Your applications's public api_key.
-c, --cursor [string] Defaults to null.
-C, --category <string> Looks up a category by ID.
-H, --https [boolean] Whether to use https. Defaults to true.
-i, --include [array] Defaults to ["approved"]. Choices: unapproved, approved, spam, deleted, flagged, highlighted.
-l, --limit [number] Defaults to 25.
-L, --logLevel [string] Output log level. Choices: debug, info, notice, warning, error, critical, alert, emergency.
-o, --order [string] Defaults to "asc". Choices: "asc", "desc".
-q, --query [string] Defaults to null.
-r, --related [array] Defaults to [].
-s, --since [string] Defaults to null.
Returns a list of threads within a category sorted by the date created.
Output of disqus category listThreads --help
:
Usage: disqus category listThreads [options]
Options:
-h, --help output usage information
-A, --api_key <string> Your applications's public api_key.
-c, --cursor [string] Defaults to null.
-C, --category <string> Looks up a category by ID.
-H, --https [boolean] Whether to use https. Defaults to true.
-l, --limit [number] Defaults to 25.
-L, --logLevel [string] Output log level. Choices: debug, info, notice, warning, error, critical, alert, emergency.
-o, --order [string] Defaults to "asc". Choices: "asc", "desc".
-r, --related [array] Defaults to [].
-s, --since [string] Defaults to null.
Up one level
Category CLI
See the disqus-node Category API.
See the Category API on Disqus.com.