Shop Mobile More Submit  Join Login
Group Info Group Founded 14 Years ago Statistics 47 Members
366,578 Pageviews889 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

47 Members
889 Watchers
366,578 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:
 
:icontreasures-of-wisdom:
Treasures-Of-Wisdom Featured By Owner May 29, 2014  Hobbyist General Artist
Maybe someone else reported this, but there is a bug with trying to look at the Full View version of my favorites instead of the scroll-bar version.  For example, what should look like this:

treasures-of-wisdom.deviantart…

Instead looks like this:

http//treasures-of-wisdom.deviantart.com/favourites/42917999

It's missing the colon after "http," and that makes the link unusable.
Reply
:iconjagtoons:
JAGTOONS Featured By Owner May 12, 2014
Very good!
Reply
:iconendorell-taelos:
Endorell-Taelos Featured By Owner Apr 27, 2014   General Artist
For some reason I've been able to give out two llamas to the same person in a row. :paranoid: :lol:
Reply
:iconkishan-bagaria:
Kishan-Bagaria Featured By Owner May 4, 2014
I did the same about a dozen times. =p
Reply
:icondj-telexture:
DJ-Telexture Featured By Owner Apr 23, 2014  Hobbyist General Artist

Hi, not reporting a bug, just suggesting something new. I'm a user who often favs a lot of art in one big hit, multiple times a day, and I was wondering if someone could place a small yellow star to the top of a thumbnail to show that you've already faved this piece. 

Say, I were to fav a piece from bloodkingowl, and a month later, I go through his gallery (and sometimes I forget if I've faved a piece and I go to fav it cause it something I liked), but then I see the little fav star icon and then it indicates that I've already faved, so it saves me a bit of time 

(and I could check by clicking the image and seeing if it was in my favourites, but this is mainly for fast browsing)

Is this suggestion able to go through? 

Reply
:icondahub:
dAhub Featured By Owner Apr 11, 2014
There's a bug in the watch list display that emerged within the past month.  I've tried filing a help desk ticket, but the response I received was dismissive and did not take this issue seriously, so I'll post the bug here in the hopes a developer will see it.

When clicking the "Next" button on the watch list, the 500th page is continuously displayed, regardless of which page you are on past 500.  With groups that approach 100,000 watchers, this prevents access to half of the watchers in the group.  Here are some example screen shots:
i.imgur.com/v6A0neT.png
i.imgur.com/X0ejOfA.png

There has been no announcement about a "500 page limit".  This feature has worked correctly for the past decade.  I really cannot fathom why this limit would suddenly be arbitrarily imposed, so this appears to be a mistake.  The "Next" button does not work as it should, so this is a bug with the site.

If someone could look into this, I would greatly appreciate it, thank you.
Reply
:iconelectricjonny:
electricjonny Featured By Owner Apr 1, 2014  Hobbyist Photographer
Hey guys, wondering why my script electricjonny.deviantart.com/a… is breaking now.

Not a bug report, just wondering why calls to the MessageCenter DiFi are now breaking.

Thanks :)

(I can, and will, investigate further, but any help on your side would be kind)
Reply
:iconyumeruby:
yumeruby Featured By Owner Apr 2, 2014  Hobbyist General Artist
I just peeked at the history and the message center DiFi hasn't been touched in a while. Must have been some other change indirectly affecting it. Without knowing your script better the best I can suggest is comparing to actual MC queries on the site.
Reply
:iconelectricjonny:
electricjonny Featured By Owner Apr 2, 2014  Hobbyist Photographer
Oh, forgive me.  It seems that my script now works.  Not sure why the "hickup", but all is functioning normally now.
Reply
Add a Comment: