User.get.private

From SafeCreativeWiki

Jump to: navigation, search

Returns the authorizing user info.

Contents

Info

  • Component name: user.get.private
  • Signature: Requires signature using the authorization key's private key
  • Timestamp: Requires ztime parameter

Parameters

  • authkey*: The user's authorization key
  • ztime*: Z-Timestamp

* Required parameter

Returns

  • user
    • code User code
    • name: User's full name
    • accountType: User account type (BASIC, PROFESSIONAL or CORPORATE)
    • entrydate: Entry date
    • human-url: User profile url if available
    • thumbnail: User profile image url if available

Example

REQUEST:

https://api.safecreative.org/v2/
?authkey=6i716m0pecao2morajk4b6xt9
&component=user.get.private
&ztime=1470391371030
&signature=aea5f8c88cda967ba83ca3f7960576ee84b481e4

RESPONSE:

<?xml version="1.0" encoding="UTF-8"?>
<user>
  <code>0907240000121</code>
  <name>John Doe</name>
  <accountType>PROFESSIONAL</accountType>
  <entrydate>2009-07-24T10:34:55Z</entrydate>
  <human-url>http://www.safecreative.org/user/john.doe</human-url>
</user>
Personal tools
Safe Stamper API