Shop Mobile More Submit  Join Login
Group Info Group Founded 14 Years ago Statistics 46 Members
370,836 Pageviews892 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 14 Years ago
Oct 25, 2001

Location
Global

Group Focus
deviantART Related

46 Members
892 Watchers
370,836 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:
 
: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
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
:iconchrisgranger:
ChrisGranger Featured By Owner May 8, 2015
The static text you see appears to be a background element. The icon is actually transparent around the symbol, so that text is not a part of the icon... It looks pretty cool and seems like a trick or glitch, but it's simple to make with a bit of CSS.
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
:icongreyroseofhope:
GreyRoseOfHope 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
:iconzvoc47:
Zvoc47 Featured By Owner Sep 21, 2014  Hobbyist Digital Artist
yeah. It could also be something like a devious blackhole
Reply
Add a Comment: