Shop Mobile More Submit  Join Login
Group Info Group Founded 14 Years ago Statistics 46 Members
372,107 Pageviews893 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
893 Watchers
372,107 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:
 
:iconthaidaree:
Thaidaree Featured By Owner 1 day ago
Hello, is it possible to get a list of items in scraps and how? If I get things correctly, oEmbed is for single items, the API has no scraps endpoint anywhere (or I could be blind). The RSS can display it but I don't know how to construct the url to display only scraps from a specific user...
Reply
:iconkaylakedziora:
KaylaKedziora Featured By Owner Aug 8, 2015  Hobbyist Digital Artist
Reply
:icondust258:
dust258 Featured By Owner Jul 8, 2015  New Deviant
I don't get paragraph 6 (Attribution) of the API License agreement. I have to display a license attribute on every page which uses deviantart content. But where do I get the attribute? Username + Link to the picture?
See: about.deviantart.com/policy/ap…
Reply
: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
Add a Comment: