User.get.private: Difference between revisions
Jump to navigation
Jump to search
w>Jguillo Created page with 'Returns the authorizing user info. = Info = * '''Component name''': user.get.private * '''Signature''': Requires signature using the authorization key's private key * '''Timest…' |
m 2 revisions imported |
||
(One intermediate revision by one other user not shown) | |||
Line 19: | Line 19: | ||
** '''code''' User code | ** '''code''' User code | ||
** '''name''': User's full name | ** '''name''': User's full name | ||
** '''accountType''': User account type | ** '''accountType''': User account type (''BASIC'', ''PROFESSIONAL'' or ''CORPORATE'') | ||
** '''entrydate''': Entry date | ** '''entrydate''': Entry date | ||
** '''human-url''': User profile url if available | ** '''human-url''': User profile url if available |
Latest revision as of 08:07, 7 May 2021
Returns the authorizing user info.
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>