Shop Mobile More Submit  Join Login
Group Info Group Founded 14 Years ago Statistics 47 Members
368,992 Pageviews894 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
894 Watchers
368,992 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:
 
:iconlululock71:
lululock71 Featured By Owner Jun 22, 2015  Hobbyist Traditional Artist
Where can I propose ideas for DA ?
Reply
:iconcageystalk:
cageystalk Featured By Owner Jun 7, 2015  New Deviant
Its magnificent :)
Reply
:iconwondough:
wondough Featured By Owner Jun 4, 2015  New Deviant
Fantastic
Reply
:iconchrisgranger:
ChrisGranger Featured By Owner May 8, 2015
Would it be possible to increase the number of badges listed on the Badge Activity section of me.deviantart.com/badges/ to say 25 or so, or have an option to show more like we do with comments? If not as part of the official code base, then with a Greasemonkey script or similar?
Reply
:iconnousernameremain:
nousernameremain Featured By Owner Apr 19, 2015
When this more than critical feature will be implemented?

support.deviantart.com/entries…

Thanks.
Reply
:iconabstract-mindser:
Abstract-Mindser Featured By Owner Mar 7, 2015
Are there plans to update the site to make it scale more flexible with the use of SVG and other such flexible elements?
Reply
:iconsavage-yoshi:
savage-yoshi Featured By Owner Jan 23, 2015
Alright,I was browsing through my favorites four days ago when I started getting website error messages saying the page I was looking for no longer existed.But when I flipped back a page,everything was normal!It would only do this every time I tried opening a new page.However,that was the least of my worries as I discovered that the site had logged me out of my account without warning!Now it won't let me sign back in no matter how many times I've tried!Now I've had to create this second account just to get this message across.Help please?!
Reply
:iconrattyredemption:
guys, can you please help me. i've been trying for a couple of weeks to get the following fixed:

i recently deleted one of my da folders, however, it didn't delete all the content of the folder.

the help desk fobbed me off saying they won't sort this out their end, and that it's up to me to delete the individual content, but i can't do that as the folder is no longer visible or accessible.

i only found out my "deleted" content was still on da's servers when i was searching google.

i can provide links if it would help you?

i would appreciate any help you can give me.
Reply
: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
Add a Comment: