Shop Mobile More Submit  Join Login
Group Info Group Founded 15 Years ago Statistics 46 Members
398,488 Pageviews903 Watchers
COGS #2 by Z-GrimV
We are happy to announce the release of an improved Sta.sh API. After many years the Sta.sh api had become a little confusing and was not keeping up with changes to its backend systems. We therefore decided to redesign parts and fix some of the confusing naming and behaviour.

These changes are versioned so if you are using version prior to 20150416 there will be no change in behaviour, we plan to support the old api for around a year.

Summary of Changes

The folderid and stashid fields have been replaced by stackid and itemid respectively, this change applies to all endpoints.

These endpoints were removed and their functionality is provided by newer ones

  • /stash/folder
  • /stash/media
  • /stash/metadata
  • /stash/move/file
  • /stash/move/folder

New endpoints to manage stacks

  • POST /stash/move/{stackid} - moves stacks
  • POST /stash/position/{stackid} - change the position of a stack within a parent stack
  • POST /stash/update/{stackid} - update stack details (title, description)
  • GET /stash/{stackid} - fetch stack details, returns stash_metadata object
  • GET /stash/{stackid}/contents - list stack contents, supports pagination

New endpoints to manage items

  • GET /stash/item/{itemid} - fetch an item, returns stash_metadata object
  • POST /stash/delete - delete an item by itemid

Stash Metadata object

  • Renamed fields folderid and stashid
  • Removed is_folder
  • Replaced keywords with tags

Any problems can be reported on the GitHub Issue Tracker.

Header artwork: COGS #2 by Z-GrimV


More Journal Entries

Group Info

Group
Founded 15 Years ago
Oct 25, 2001

Location
Global

Group Focus
DeviantArt Related

46 Members
903 Watchers
398,488 Pageviews
Daily Pageviews

Sync

When DT finishes making a brand new DeviantArt feature, or just fixes a bug, we first run it on our top-secret staging server. When everything's ready to go live, we sync it!
Syncs Per Day

Comments


Add a Comment:
 
:icontakeshimiranda:
takeshimiranda Featured By Owner Aug 17, 2016  New Deviant Hobbyist General Artist
Hello! I am NOW DEVELOPING my first DeviantArt Development Application in Embedded Linux...
Initial Goal: To Read Comments from Profile Page
Pending Goal #1: To Reply "You're Welcome!" to "Thank You" messages
Pending Goal #2: To Automatically Report Spammers & Scammers in Comments

However, I am NOW HALTED because I don't know what to specify under "OAuth2 Redirect URI Whitelist (Required)".

I am opting for "Authorization Code"...

Current Status: HALTED

Unable to have a desired screenshot for "client_id and client_secret that can be used with the OAuth2 API."

Current Error: {"error":"invalid_request","error_description":"Must provide an access_token to access this resource.","status":"error"}

Now moving my first DeviantArt Development Application to STATUS: HALTED while awaiting contact with DeviantArt Development Team.
Reply
:icontakeshimiranda:
takeshimiranda Featured By Owner Aug 10, 2016  New Deviant Hobbyist General Artist
Hello! As a retiring software developer, retired HTML webmaster and blog administrator, I am just curious about "Devious Technology"...

I'm running two, headless, Linux-based SoC servers in my home and have been wondering about developing a DeviantArt app in Debian Linux to maintain my DeviantArt account. I have tons of ideas!

I have the Android app, which gives me a lot of ideas of implementing DeviantArt API into one of my headless Linux servers.

Unfortunately, I cannot join your group and I have a lot of questions, mostly technical ones at the "sysad" level. And unfortunately, I cannot afford "Core Membership" because I am now a disabled person living off of disability income. As a retiring software developer, I can be beneficial as a debugger.

Let me know if I can be part of your development team. Thank you!
Reply
:iconsamthepenetrator:
SamThePenetrator Featured By Owner Aug 9, 2016  Professional Artist
Please. Add a subfolders to favourites Please :omgomg: 
Reply
:iconserver009:
Server009 Featured By Owner Jun 14, 2016
What's the big deal. Putting the Next page under the Previous page. That's just crazy. :( (Sad)  Please return it to normal.
Reply
:iconserver009:
Server009 Featured By Owner Jun 3, 2016
Old browse gallery worked better. Please bring it back!
Reply
:icongalehawk:
Galehawk Featured By Owner Jun 2, 2016  Professional Traditional Artist
Could you guys fix the newest page i can not see any of the arts.

thank you.
Reply
:icongalehawk:
Galehawk Featured By Owner Jun 2, 2016  Professional Traditional Artist
The only thing i don't like about the newest page is i keep seeing the same old arts over and over again, could you guys please fix this.

thank you.
Reply
:iconserver009:
Server009 Featured By Owner Edited Jun 2, 2016
Please return the browse gallery back to normal! :( (Sad)  I'm begging you! Worship 
Reply
:icondeviant-art-app:
deviant-art-app Featured By Owner Apr 5, 2016
Is DA API is still supported? No comments on issues for more then 20 days...
Reply
:iconsitting-brain:
Sitting-Brain Featured By Owner May 4, 2016  Hobbyist Digital Artist
Last changes in the changelog, as well as last minor version are marked October 14th 2014, the latest journal is about Stash API from a year ago. I'd say API is temporarily abandoned. 
Reply
Add a Comment: