Clone wiki

BibSonomy / documentation / api / methods / ListOfUsersForGroup

List of users for a group

Method GET

Query string

  • generic parameters can be found here

Status codes

  • 200 ok + bibsonomy/users+xml

  • 400 bad request

  • 401 Unauthorized
  • 403 Forbidden

  • 500 Internal Server Error



curl -XGET --user username:apikey ""


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<bibsonomy stat="ok">
  <users start="0" end="5">
    <user name="mbork" href=""/>
    <user name="user1" href=""/>
    <user name="user2" href=""/>
    <user name="user3" href=""/>
    <user name="user4" href=""/>

XML Schema

  this type encapsulates a list of users
<xsd:complexType name="UsersType">
    <xsd:element name="user" type="UserType" minOccurs="0" maxOccurs="unbounded"/>
  <xsd:attribute name="start" type="xsd:positiveInteger" use="required"/>
  <xsd:attribute name="end" type="xsd:positiveInteger" use="required"/>
  <xsd:attribute name="next" type="xsd:anyURI"/>

  a user
<xsd:complexType name="UserType">
    <xsd:element name="groups" type="GroupsType" minOccurs="0" maxOccurs="1">
  <xsd:attribute name="name" type="xsd:string" use="required"/>
  <!-- link to details page -->
  <xsd:attribute name="href" type="xsd:anyURI"/>