Clone wiki

BibSonomy / documentation / api / methods / ListOfAllGroups

List of all groups

Method GET

Query string

  • generic parameters can be found here

Status codes

  • 200 ok + bibsonomy/groups+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">
    <groups start="0" end="5" next=";end=10">
        <group name="group1" realname="name1" href=""/>
        <group name="group2" realname="name2" href=""/>
        <group name="group3" realname="" href=""/>
        <group name="group4" realname="" href=""/>
        <group name="group5" realname="name5" href=""/>

XML Schema

  this type encapsulates a list of groups
<xsd:complexType name="GroupsType">
    <xsd:element name="group" type="GroupType" 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 group
<xsd:complexType name="GroupType">
    <xsd:element maxOccurs="unbounded" minOccurs="0" name="user" type="UserType" />
  <xsd:attribute name="name" type="xsd:string" use="required" />
  <xsd:attribute name="realname" type="xsd:string" />
  <xsd:attribute name="homepage" type="xsd:anyURI" />
  <xsd:attribute name="description" type="xsd:string" />
  <!-- link to details page -->
  <xsd:attribute name="href" type="xsd:anyURI" />