Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions grouper-misc/grouper-voot/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,26 @@ https://github.com/andreassolberg/voot/wiki/Protocol

- Turn on the grouper web services, and try the following URL's:

https://grouper.whatever.com/grouperWs/voot/groups/@me
https://grouper.whatever.com/grouperWs/voot/groups
https://grouper.whatever.com/grouperWs/voot/groups/@me
https://grouper.whatever.com/grouperWs/voot/groups/aSubjectId [note: put in valid suject ID]
https://grouper.whatever.com/grouperWs/voot/people/@me
https://grouper.whatever.com/grouperWs/voot/people/@me/aStem:aGroup2 [note: put in valid group name]
https://grouper.whatever.com/grouperWs/voot/people/aSubjectId/aStem:aGroup2 [note: put in valid suject ID and group name]

You can pass in a param to indent the response:

https://grouper.whatever.com/grouperWs/voot/groups/@me?indentResponse=true
https://grouper.whatever.com/grouperWs/voot/groups?indentResponse=true
https://grouper.whatever.com/grouperWs/voot/groups/@me?indentResponse=true
https://grouper.whatever.com/grouperWs/voot/groups/aSubjectId?indentResponse=true
https://grouper.whatever.com/grouperWs/voot/people/@me?indentResponse=true
https://grouper.whatever.com/grouperWs/voot/people/@me/aStem:aGroup2?indentResponse=true
https://grouper.whatever.com/grouperWs/voot/people/aSubjectId/aStem:aGroup2?indentResponse=true

You can also pass additional params to the different calls, being:
- sortBy: to get the results filtered by one field in the output JSON
- startIndex: start index (in case of paginated call it indicates the first result to be returned)
- count: number of results to show (in case of paginated call it indicates the page size)

This is running on the Grouper demo server e.g. here:

Expand All @@ -72,6 +81,3 @@ https://grouperdemo.internet2.edu/grouper-ws_v2_0_0/voot/groups?indentResponse=t
https://grouperdemo.internet2.edu/grouper-ws_v2_0_0/voot/people/@me?indentResponse=true
https://grouperdemo.internet2.edu/grouper-ws_v2_0_0/voot/people/@me/aStem:aGroup2?indentResponse=true




8 changes: 4 additions & 4 deletions grouper-misc/grouper-voot/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,22 @@

</target>

<target name="clean">
<target name="clean" depends="init">
<mkdir dir="${main.binDir}" />
<delete dir="${main.binDir}" />
<mkdir dir="${main.binDir}" />

</target>

<target name="compile">
<target name="compile" depends="init">
<mkdir dir="${main.outputDir}" />
<mkdir dir="${main.binDir}" />

<javac target="1.6"
srcdir="${main.sourceDir}" destdir="${main.binDir}" classpath="${main.theClasspath}" debug="true" />
</target>

<target name="jarPrepare">
<target name="jarPrepare" depends="init">
<mkdir dir="${main.binDir}" />

<copy todir="${main.binDir}">
Expand All @@ -93,7 +93,7 @@
</copy>
</target>

<target name="jar">
<target name="jar" depends="init">
<tstamp>
<format property="the.timestamp" pattern="yyyy/MM/dd HH:mm:ss" />
</tstamp>
Expand Down

This file was deleted.

Loading