Skip to content

Instantly share code, notes, and snippets.

@ConnorA
Created June 18, 2011 23:32
Show Gist options
  • Save ConnorA/1033594 to your computer and use it in GitHub Desktop.
Save ConnorA/1033594 to your computer and use it in GitHub Desktop.
GrusersModules : save : [ user_id,
gallery_id,
'button', --this is unknown
{ submission_type: unknown,
submission_id: unknown,
submission_folderid: unknown }]
GrusersModules : addModuleCommit : [ user_id,
page_id,
module_id ] --idk
GrusersModules : fetchModuleList : [ owner_id,
module_id ]
GrusersModules : positionModule : [ owner_id,
page_id,
module_id,
name,
position,
version ]
GrusersModules : addModule : [ owner_id,
module_id,
name,
name,
position ]
GrusersModules : addAndCommitModule : [ module_id,
page_id,
module_name,
unknown, --where to put it? found value = 'mid-left'
position, -- 1
viewname, -- found value = 'generic'
boolean ]-- found value = true
GrusersModules : addPreviewModule : [ module_id,
page_id,
module_name ]
GrusersPages : fetchPageList : [ user_id ]
GrusersPages : fetchLayoutList : [ group_id,
layout_type ] -- 'group.' + the page_name
GrusersPages : setPageLayout : [ group_id,
page_name,
layout_to_changes_value ]
GrusersPages : renamePage : [ user_id,
page_id ]
GrusersPages : addPage : [ group_id,
name, -- probably the name of the page
position ] -- idk
Grusers : findSubmittableFolders : [ user_id,
type ] --either 'favourites' or 'gallery'
Grusers : checkExistingGroupKill : [ group_id ] -- like user_id but a groups
Grusers : leaveGroup : [ group_id ] -- my guess is its to leave a group you are in
Grusers : requestGroupKill : [ group_id,
reason_code, -- no fucking clue
reason_text ] -- admin only?
Grusers : serPrimaryGroup : [ group_id ] -- I have no clue what this does
Grusers : leaveGroupFounder : [ group_id,
name ] -- ??? might be the founders name/id or the users id/name
Grusers : setGroupAttribute : [ group_id, -- or 3... no clue why
bit ] -- or Math.min(1, bit)
-- the one who programmed this put 'figure it out ;)', which pisses me off.
Grusers : removeMembers : [ group_id,
user_id ]
Deck class -- I have found this in only one place,
it seems to be a way to get a webcam to interact with deviantart
Deck : deleteDeckItem : [ webcam_id ] -- or deck_id
User class -- I think it might have something to do with webcams.
I don't know what goes on in there so I don't know what some variables are.
User : setAvatar : [ user_id,
deck_id,
pos_x,
pos_y,
pos_dx ]
User : resetAvatar : [ user_id ]
User : avatarChangeStatus : [ args ] -- I found no way to determine what they are nor how many there can be
CSS : loadskin : [ user_id,
skin_Class, --something to do with the css class?
skin_id ] -- didn't know there was one
CSS : saveskin : [ user_id,
skin_Class, -- found value = 'journal'
page_id,
skin ]
CSS : deleteskin : [ user_id,
page_id,
deviantion_id ]
CSS : renameskin : [ user_id,
skin_class,
page_id,
deviantion_id ]
Discovery : query : [ search_query, -- 'meta:all sort:time'
offset,
count,
backup_query ]
Friends : addFriendGetAttributes : [ friends_username,
unknown ] -- found value = 'discovery'
Badges : getModal : [ badgetype, -- ie: 'llama'
to_user ] -- the id of the user you wish to give a llama to
Badges : giveBadge : [ badgetype,
to_user,
quantity,
userpass, --password?
tosagree, -- 0 for no, 1 for yes (I assume you want 1)
remember_password, -- same as above
token, -- or 0
trade_id ] -- or zero
Mood : getMoodsFlattened : [ no params ]
Comments : getArtistComment : [ dev_id ] -- deviantion id
Comments : getThread : [ 1, -- no idea
dev_id,
50 ]
deviantWEAR : requestReprint : [ id ] --id of the print
PrintShop : addToCart2 : [ id,
0,
user_id, -- or zero if there is none
quantity ]
Deviation : Favourite : [ id ]
Deviation : RequestPrint : [ id ] -- deviation id
Deviation : DeleteSingle : [ id,
reason ]
DeviationView : getInlineEditor : [ id ]
Resources : htmlFromRID : [ ?,
?,
view,
options ] -- ?
Resources : htmlFromQuery : [ query,
offset,
count,
view,
options ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment