Wiki
Clone wikiBibSonomy / documentation / api / methods / ListOfConceptsForUser
List of concepts for a user
Method | GET |
---|---|
URL | https://www.bibsonomy.org/api/users/[username]/concepts |
Query string
?status=(all|picked)
Status codes
-
200 ok + bibsonomy/tags+xml
-
400 bad request
- 401 Unauthorized
-
403 Forbidden
-
500 Internal Server Error
Example
Request:
curl -XGET --user username:apikey "https://www.bibsonomy.org/api/users/username/concepts"
Response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <bibsonomy stat="ok"> <tags start="0" end="2"> <tag name="concept1" globalcount="13" usercount="5"> <subTags start="0" end="2"> <tag usercount="0" name="subtag1" globalcount="0"/> <tag usercount="0" name="subtag2" globalcount="0"/> </subTags> </tag> <tag name="concept2" globalcount="23" usercount="15"> <subTags start="0" end="2"> <tag usercount="0" name="another_subtag1" globalcount="0"/> <tag usercount="0" name="another_subtag2" globalcount="0"/> </subTags> </tag> </tags> </bibsonomy>
XML Schema
<!-- this type encapsulated a list of tags --> <xsd:complexType name="TagsType"> <xsd:sequence> <xsd:element name="tag" type="TagType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <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"/> </xsd:complexType> <!-- a tag --> <xsd:complexType name="TagType"> <xsd:sequence> <xsd:element maxOccurs="unbounded" minOccurs="0" name="subTags" type="TagsType" /> <xsd:element maxOccurs="unbounded" minOccurs="0" name="superTags" type="TagsType" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" /> <xsd:attribute name="globalcount" type="positiveIntegerIncludingZero" /> <xsd:attribute name="usercount" type="positiveIntegerIncludingZero" /> <xsd:attribute name="score" type="probabilityValue" /> <xsd:attribute name="confidence" type="probabilityValue" /> <!-- link to details page --> <xsd:attribute name="href" type="xsd:anyURI" /> </xsd:complexType>
Updated