Access Control offers increased control and flexibility through the support of a RESTful (Representational State Transfer) API for accessing a set of resources through a fixed set of operations.
http(s)://<server-host>:8082/api/<resource>
Type | Action |
POST | to create a resource on the server |
GET | to retrieve a resource from the server |
PUT | to modify the state of a resource |
DELETE | to remove a resource |
You can review a copy of the bundled API documenation. This documentation is taken straight from a live installation. Given that the documentation is automatically generated, it frequently links to local files and resources that will not be available here.
Get Repository Information for "repository 6":
http://10.0.100.125:8082/api/repository/query?filesystemPath=/opt/SVN/Repo6
http://10.0.100.125:8082/api/repository/0a00409e-5d64-4e64-8eb8-d325d62a9beb/replicationGroup newReplicationGroupId = 1a015b69-8bee-11e2-a13e-087db5080829
curl -u username:password -X POST -d "newReplicationGroupId=1a015b69-8bee-11e2-a13e-087db5080829" http://10.0.100.125:8082/api/repository/0a00409e-5d64-4e64-8eb8-d325d62a9beb/replicationGroup
Take repository "Repo16" out of the global Read-only state:
http://10.0.100.117:8082/api/repository/65753499-098c-45cc-a243-d2eca54a988c/globalReadOnly <RepositoryAPIDTO> <FSPath>/opt/SVN/Repo16</FSPath> <globalReadOnly>false</globalReadOnly> <isLocal>false</isLocal> <localReadOnly>false</localReadOnly> <name>Repo0</name> <repositoryIdentity>65753499-098c-45cc-a243-d2eca54a988c</repositoryIdentity> <revisionNumber>0</revisionNumber> </RepositoryAPIDTO>
Copyright © 2010-2013 WANdisco
All Rights Reserved
This product is protected by copyright and distributed under
licenses restricting copying, distribution and decompilation.