DeviantArt icon

DeviantArt

Interact with DeviantArt API

Gallery → Get Folders

AI-generated

Overview

This node operation retrieves gallery folders from DeviantArt for a specified user or the authenticated user if no username is provided. It can optionally include the content count for each folder and preload the first 5 deviations from each folder. This is useful for managing and viewing a user's gallery structure and contents programmatically.

Use Case Examples

  1. Retrieve all gallery folders for a specific user to display their artwork organization.
  2. Get gallery folders with content counts to analyze folder usage.
  3. Preload deviations from each folder to quickly access recent artworks within folders.

Properties

Name Meaning
Username Username to get folders for (leave empty for authenticated user)
Calculate Size Whether to include content count for each folder
Extended Preload Whether to preload first 5 deviations from each folder

Output

JSON

  • folderid - ID of the gallery folder
  • name - Name of the gallery folder
  • description - Description of the gallery folder
  • content_count - Number of items in the folder (if Calculate Size is enabled)
  • deviations - Preloaded deviations from the folder (if Extended Preload is enabled)

Dependencies

  • DeviantArt API OAuth2 credentials

Troubleshooting

  • Ensure the OAuth2 credentials are correctly configured and authorized to access the user's gallery data.
  • If the username is left empty, the node fetches folders for the authenticated user; ensure the token has appropriate permissions.
  • Network or API errors may occur; check API rate limits and network connectivity.

Links

Discussion