Shop Mobile More Submit  Join Login
Group Info Group Founded 15 Years ago Statistics 46 Members
388,925 Pageviews901 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
901 Watchers
388,925 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!
  • muteor synced 4 hours, 23 minutes ago
  • muteor synced 4 hours, 43 minutes ago
  • muteor synced 6 hours, 32 minutes ago
  • justgalym synced 7 hours, 42 minutes ago
  • baclap synced 13 hours, 24 minutes ago
  • trezoid synced 18 hours, 49 minutes ago
  • trezoid synced 19 hours, 46 minutes ago
  • outgoingcoyote synced 23 hours, 43 minutes ago
  • yury-n synced 1 day, 2 hours ago
  • muteor synced 1 day, 4 hours ago
  • muteor synced 1 day, 4 hours ago
Syncs Per Day

Comments


Add a Comment:
 
:icondjdavid98:
DJDavid98 Featured By Owner Apr 7, 2015
When you delete a folder that has items which are not present in any other folder, those deviations will be removed from the "Featured" section of your gallery, but will still be available through the "All" section. These can be found on the top left of your gallery page, I'll link your All section here for you convenience: rattyredemption.deviantart.com…

From here you're on your own with deleting the specific deviations, as I believe deleted folders' contents cannot be retrieved, but if you remeber what you wanted to delete then you'll find it there.
Reply
:iconrattyredemption:
rattyredemption Featured By Owner Apr 7, 2015
thanks very much for the reply, this issue has been resolved now.
Reply
:iconpikadudeno1:
pikadudeno1 Featured By Owner Dec 6, 2014  Hobbyist Digital Artist
You guys have gotten a lot of Jeb's Law lately, but know that there are deviants who believe in you~
Reply
:iconlightdemoncodeh:
LightDemonCodeH Featured By Owner Nov 9, 2014  Student General Artist
I just want to code to make the groups better, but I'm not sure i want to be a full fledged "developer".
Reply
:iconzvoc47:
Zvoc47 Featured By Owner Aug 13, 2014  Hobbyist Digital Artist
Hello, this group's icon is interesting. When I scroll, I see text behind it that is static, giving a picture of moving code. How did you do that? Is it you or just a glitch on my graphics card?
Reply
:icondjdavid98:
DJDavid98 Featured By Owner Apr 7, 2015
Wow, nice catch. This is an Easter egg added by the developers of the site. It's done through some CSS magic intentionally, it's not an issue with your GPU.
Reply
:iconzvoc47:
Zvoc47 Featured By Owner Apr 7, 2015  Hobbyist Digital Artist
okay
Reply
:icondewypetals:
DewyPetals Featured By Owner Sep 20, 2014  Hobbyist Writer
...oh my gosh it's a window into the background of dA! We've broken through the fourth wall in our computer screens!
Reply
Add a Comment: