Actions42
- Browse Actions
- Gallery Actions
- Stash Actions
- User Actions
Gallery → Get Folders
AI-generatedOverview
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
- Retrieve all gallery folders for a specific user to display their artwork organization.
- Get gallery folders with content counts to analyze folder usage.
- 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 foldername- Name of the gallery folderdescription- Description of the gallery foldercontent_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
- DeviantArt API Gallery Folders - Official API documentation for retrieving gallery folders