Actions42
- Browse Actions
- Gallery Actions
- Stash Actions
- User Actions
Gallery → Get Content
AI-generatedOverview
This node operation retrieves the content of a specified gallery folder or all gallery content for a user on DeviantArt. It supports fetching content either from a specific folder by its UUID or from all folders, optionally filtered by username, sorted by popularity or newest, and limited to a maximum number of results. This is useful for users who want to programmatically access and manage their DeviantArt gallery content, such as displaying artwork collections or integrating gallery data into other applications.
Use Case Examples
- Fetch the most popular artworks from a specific gallery folder by providing the folder UUID and setting the mode to 'popular'.
- Retrieve the newest artworks from all gallery folders of a specific user by specifying the username and setting the mode to 'newest'.
- Limit the number of returned artworks to 20 when fetching gallery content to optimize performance and data usage.
Properties
| Name | Meaning |
|---|---|
| Username | Username to get folders for (leave empty for authenticated user) |
| Folder ID | UUID of folder to get content from or perform operations on |
| Mode | Sort mode for results |
| Limit | Max number of results to return |
Output
JSON
json- The JSON response containing the gallery content data retrieved from DeviantArt API
Dependencies
- DeviantArt API OAuth2 credentials required for authentication
Troubleshooting
- Ensure the Folder ID is a valid UUID when specified; otherwise, the API request may fail.
- If the Username is left empty, the node fetches content for the authenticated user only.
- Check API rate limits and authentication token validity if requests fail.
- Common error messages include invalid folder ID, unauthorized access, or exceeding API limits; verify credentials and input parameters accordingly.
Links
- DeviantArt API Gallery Get Content - Official DeviantArt API documentation for the gallery content retrieval endpoint