Shop Forum More Submit  Join Login
Group Info Super Group Founded 18 Years ago Statistics 17 Members
494,783 Pageviews897 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

I prefer: 

27%
113 deviants said dont care
18%
76 deviants said july
15%
62 deviants said september
14%
60 deviants said june
13%
55 deviants said may
12%
48 deviants said august

Group Info

Super Group
Until hell freezes over

Founded 18 Years ago
Oct 25, 2001

Location
Global

Group Focus
DeviantArt Related

17 Members
897 Watchers
494,783 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:
 
:iconbitchyqotes:
bitchyqotes Featured By Owner 6 days ago  New Deviant Hobbyist Artist
wow over 71 pages impressive
:D (Big Grin) La la la la 
Reply
:icontrebuxet:
Trebuxet Featured By Owner Apr 22, 2019  Professional Digital Artist
Hello! I found a virus when I open a picture in Stash. Someone else with the same problem?
Reply
:iconelectricjonny:
electricjonny Featured By Owner Apr 7, 2019  Hobbyist Photographer
I'd like to pass on a short conversation I had, regarding the makeup of the HTML of this site (with the start of the note at the top):
----------
electricjonny said the following:

Hi :)

I've been styling the message centre (to have the Original replies appear better) and it seems like Eclipse has a lot of random classes and other selectors. I've seen more and more sites do this, rather than use human-readable classes. Like instead of .header, I'll see .3dui-s2 or something.

Do you know why sites do this? I'm guessing that the site structure and style is being built by a program rather than by hand. But wow, it sure makes it harder to manipulate with Stylish/Greasemonkey or whatever! And there's also a lot more nested divs and other elements in the page. Basically just a lot more random selectors and DOM elements. I was just curious as to why that is, if you happen to know :)

This is what I have currently, by the way sta.sh/0eg2h95p20f I want to tighten things up and see if I can better organize things, but as you know, this will be a big work in progress =P

----------
rotane said the following:

Oh god, are they really doing that nonsense too? :facepalm:

As to why? Nobody knows, but there are a few possibilities that i can think of:

When using this obscure way of naming your classes, it's usually (i would think) to prevent someone from copying your code, or from preventing the user to modify it (this would make sense on, say, Facebook, where you want to make it as hard as possible to hide your sponsored content). Or, as you say, it's all machine-generated (would make sense when using Wix's tools).

I haven't looked at the code myself (obviously), but since there's a whole lot of nested divs and stuff, this would explain why the site is overall rather laggy compared to the current site. Which makes me so sad, because the current code looks very much hand-crafted, and as a result is properly optimized. So i'm guessing Eclipse won't be. :sigh:

Oh well, what's a bit more disappointment by this point?

----------
electricjonny said the following:

Haha, funny you should mention Facebook and removing sponsored posts. I've been working on that over the last month or two, and they sure make it a pain to hide. Even other scripts/styles from other people don't reliably hide them. The HTML and structure of Facebook is miserable to work with, and Eclipse is similar.

I just saved my profile page using Eclipse, and the old version.

Old version, total file size: 7.05 MB
Eclipse version, total file size: 13.7 MB

So nearly twice as big, and I've taken a lot of widgets out of my Eclipse userpage. I'm not thrilled with these changes, but oh well — I've sort of stopped caring about this site. It feels as though the soul of this site is gone. They sold it to make it bigger and get more money, and that's the worst Eclipse change of all :/
Reply
:iconbigclaudia:
BigClaudia Featured By Owner Mar 14, 2019  Hobbyist General Artist
some week ago i sent a ticket about a bug of the DA mobile app and i don't know if anyone else have my same issue but there wasn't any update about this bug on Android, does someone have news about, because this don't works neither downdate the firmware of the app
Reply
:iconphotofroggy:
photofroggy Featured By Owner Nov 15, 2018  Hobbyist Artist
How come this page isn't skinned? :confused:
Reply
:iconlucylou2129:
lucylou2129 Featured By Owner Jan 12, 2019
I'm just learning, but may I ask what you mean by "skinned?"
Reply
:iconrotane:
rotane Featured By Owner Dec 6, 2018  Professional
No Group is ;)
Reply
:iconbloodywing:
BloodyWing Featured By Owner Nov 19, 2018  Hobbyist Digital Artist
Because Developers,
it doesn't need to be pretty to fulfill it's purpose. :)
Reply
:iconrotane:
rotane Featured By Owner Edited Nov 4, 2018  Professional
I see you changed image-servers (over to WIX's ones it seems). But what happened to the download feature? Instead of the old "filename_by_username-string.ext" i more often than not come by a simple "file.ext", or worse, a "file.html" document (even if it's in fact an image). I hope you'll look into this!

Edit: Also, the full view of a deviation now seems to be a compressed version of the original image, rendering them less attractive than they used to be. This is especially noticeable on logos and similar digitally created files (like all of the deviations in my Designs gallery). I get it, this is most likely due to bandwidth concerns and won't be noticed by many, but i think it's a big downgrade.
Reply
:iconvenatorx82f:
VenatorX82F Featured By Owner May 28, 2018
I have payed for artwork that hasn't arrived for months now, can you tell me why?
Reply
Add a Comment: