Wiki

Clone wiki

BibSonomy / documentation / api / methods / DetailsForUser

Details for user

Method GET
URL https://www.bibsonomy.org/api/users/[username]

Query parameters

  • generic parameters can be found here

Status codes

  • 200 ok + bibsonomy/user+xml

  • 400 bad request

  • 401 Unauthorized
  • 403 Forbidden

  • 500 Internal Server Error

Notes

  • some details (e.g., e-mail address) are only accessible for the own user account

Example

Request:

curl -XGET --user username:apikey "https://www.bibsonomy.org/api/users/hotho"

Response:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<bibsonomy stat="ok">
  <user name="hotho" realname="Andreas Hotho" homepage="http://www.kde.cs.uni-kassel.de/hotho"  href="https://www.bibsonomy.org/api/users/hotho">
    <groups start="0" end="0"/>
  </user>
</bibsonomy>

XML Schema

<!--
  a user
-->
<xsd:complexType name="UserType">
  <xsd:sequence>
    <xsd:element name="groups" type="GroupsType" minOccurs="0" maxOccurs="1"/>
  </xsd:sequence>
  <xsd:attribute name="name" type="xsd:string" use="required" />
  <xsd:attribute name="realname" type="xsd:string" />
  <xsd:attribute name="email" type="xsd:string" />
  <xsd:attribute name="homepage" type="xsd:string" />
  <xsd:attribute name="href" type="xsd:anyURI" />
</xsd:complexType>

Updated