Description |
---|
Returns all members of a collection. |
URL: PoolParty/api/thesaurus/{project}/members
Supported Methods |
---|
GET |
Variable | Comment |
---|---|
| The UUID or the URI supplement (textual identifier) of the project to be used. |
Parameter | Comment | Type | Required |
---|---|---|---|
collection | URI of the collection | String | true |
Array of concepts that are member of the collection.
Attribute | Type | Comment |
---|---|---|
| String | URI of concepts that are part of the collection |
Request Pattern
http://<server-url>/PoolParty/api/thesaurus/<project-uuid>/members?collection=<collection-uri>
Example Request
http://minor.semantic-web.at/PoolParty/api/thesaurus/1DDFD4E4-ABC7-0001-6DBF-B4D0F47D8230/members?collection=http://minor.semantic-web.at/Test/12
Example Response for a Regular Collection
{
"ordered" : false,
"members" : [ {
"concept" : {
"uri" : "http://minor.semantic-web.at/Test/1",
"prefLabel" : "conceptA"
}
}, {
"concept" : {
"uri" : "http://minor.semantic-web.at/Test/2",
"prefLabel" : "concpetD"
}
} ]
}
Example Response for an Ordered Collection
{
"ordered" : true,
"members" : [ {
"concept" : {
"uri" : "http://minor.semantic-web.at/Test/2",
"prefLabel" : "concpetD"
},
"sortIndex" : 0
}, {
"concept" : {
"uri" : "http://minor.semantic-web.at/Test/1",
"prefLabel" : "conceptA"
},
"sortIndex" : 1
} ]
}