Shop Mobile More Submit  Join Login
Group Info Group Founded 14 Years ago Statistics 46 Members
382,774 Pageviews899 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
899 Watchers
382,774 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!
  • justgalym synced 1 day, 11 hours ago
  • justgalym synced 1 day, 11 hours ago
  • justgalym synced 1 day, 12 hours ago
  • muteor synced 1 day, 12 hours ago
  • yury-n synced 1 day, 12 hours ago
  • muteor synced 1 day, 14 hours ago
  • muteor synced 1 day, 14 hours ago
  • muteor synced 1 day, 14 hours ago
  • muteor synced 2 days, 4 hours ago
  • ArtBIT synced 2 days, 4 hours ago
  • ArtBIT synced 2 days, 4 hours ago
Syncs Per Day

Comments


Add a Comment:
 
:iconlightdemoncodeh:
LightDemonCodeH Featured By Owner Nov 9, 2014  Student General Artist
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
: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
:icondewypetals:
DewyPetals 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
:iconthatwaslefthanded:
ThatWasLeftHanded Featured By Owner Sep 12, 2014  Hobbyist Writer
Holy crap, I just noticed that! :lol:
Reply
:iconzvoc47:
Zvoc47 Featured By Owner Sep 14, 2014  Hobbyist Digital Artist
it also appears on my phone
Reply
Add a Comment: