Site:API:Users
From Metrixstream
Revision as of 21:59, 20 August 2012 by MetrixAdmin (Talk | contribs)
Contents |
Users
Add User
This API call is responsible for creating a user.
Authentication Restrictions
Administrator only.
Required Parameters
- action=user
- verb=adduser
- username
- the username of the user
Optional Parameters
- commission_pto_percentage
- commission_ppm_percentage
- commission_gift_percentage
- commission_bandwidth_percentage
- activity_summary_duration_secs
Successful Response
-
status=ok
-
item
-
user
-
id
: the id of the user
-
-
Edit Content
This API call is responsible for editing a content item.
Authentication Restrictions
Moderators and Comment authors.
Required Parameters
- action=editcontent
- contentId
- The id of the content item.
Optional Parameters
- title
- description
- access
- release_date
- event_date
- live_host
- live_mode
- preview_offset
- preview_duration
- external_id
- allow_oversell
- price
- price1
- price2
- price3
- price4
- price_formula
- credits_to_own
- credits_per_minute
- commission_ppm_percentage
- commission_pto_percentage
- commission_gift_percentage
- commission_bandwidth_percentage
- review
- gift_credits
- user
- chat_muted
- img
- selected
- img
- title
- img
- position
- photo_hint
- add
- relationship
- del
- relationship
- playlist
- media_id
- image (multipart)
- banner,banner1,banner2,banner3,banner4,banner5,banner6,banner7,banner8,banner9,banner10 (multipart)
- banner,banner1,banner2,banner3,banner4,banner5,banner6,banner7,banner8,banner9,banner10
- banner
- photo,banner1:photo,banner2:photo,banner3:photo,banner4:photo,banner5:photo,banner6:photo,banner7:photo,banner8:photo,banner9:photo,banner10:photo
- banner
- screenshot,banner1:screenshot,banner2:screenshot,banner3:screenshot,banner4:screenshot,banner5:screenshot,banner6:screenshot,banner7:screenshot,banner8:screenshot,banner9:screenshot,banner10:screenshot
- inventory
- inventory
- stock:quantity
- featured_on_content_id
- tags
- addtag
- deletetag
- categories
- addcategory
- deletecategory
- label
- label_hint
- cst_*
- custom fields related to content; replace the * with the appropriate custom field name.
Successful Response
- status=ok
- properties
- pending
- approved