Creates a new category.
Output of disqus categories create --help
:
Usage: disqus categories create [options]
Options:
-h, --help output usage information
-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.
-S, --api_secret <string> Your applications's api_secret.
-t, --title <string> Maximum length of 50
Returns category details.
Output of disqus categories details --help
:
Usage: disqus categories details [options]
Options:
-h, --help output usage information
-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.
-S, --api_secret <string> Your applications's api_secret.
Returns a list of categories within a forum.
Output of disqus categories list --help
:
Usage: disqus categories list [options]
Options:
-h, --help output usage information
-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.
-S, --api_secret <string> Your applications's api_secret.
Returns a list of posts within a category.
Output of disqus categories listPosts --help
:
Usage: disqus categories listPosts [options]
Options:
-h, --help output usage information
-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.
-S, --api_secret <string> Your applications's api_secret.
Returns a list of threads within a category sorted by the date created.
Output of disqus categories listThreads --help
:
Usage: disqus categories listThreads [options]
Options:
-h, --help output usage information
-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.
-S, --api_secret <string> Your applications's api_secret.
Up one level
Categories CLI
See the disqus-node Categories API.
See the Categories API on Disqus.com.