mirror of
https://github.com/gluster/glusterd2.git
synced 2026-02-05 12:45:38 +01:00
9.3 KiB
Generated
9.3 KiB
Generated
REST API Endpoints Reference
| Name | Methods | Path | Request | Response |
|---|---|---|---|---|
| GetVersion | GET | /version | VersionResp | |
| VolumeCreate | POST | /volumes | VolCreateReq | VolumeCreateResp |
| VolumeExpand | POST | /volumes/{volname}/expand | VolExpandReq | VolumeExpandResp |
| VolumeOptions | POST | /volumes/{volname}/options | VolOptionReq | |
| OptionGroupList | GET | /volumes/options-group | OptionGroupListResp | |
| OptionGroupCreate | POST | /volumes/options-group | OptionGroupReq | |
| OptionGroupDelete | DELETE | /volumes/options-group/{groupname} | ||
| VolumeDelete | DELETE | /volumes/{volname} | ||
| VolumeInfo | GET | /volumes/{volname} | VolumeGetResp | |
| VolumeBricksStatus | GET | /volumes/{volname}/bricks | BricksStatusResp | |
| VolumeStatus | GET | /volumes/{volname}/status | VolumeStatusResp | |
| VolumeList | GET | /volumes | VolumeListResp | |
| VolumeStart | POST | /volumes/{volname}/start | ||
| VolumeStop | POST | /volumes/{volname}/stop | ||
| VolfilesGenerate | POST | /volfiles | ||
| VolfilesGet | GET | /volfiles | ||
| GetPeer | GET | /peers/{peerid} | PeerGetResp | |
| GetPeers | GET | /peers | PeerListResp | |
| DeletePeer | DELETE | /peers/{peerid} | ||
| AddPeer | POST | /peers | PeerAddReq | PeerAddResp |
| GeoreplicationCreate | POST | /geo-replication/{mastervolid}/{remotevolid} | ||
| GeoreplicationStart | POST | /geo-replication/{mastervolid}/{remotevolid}/start | ||
| GeoreplicationStop | POST | /geo-replication/{mastervolid}/{remotevolid}/stop | ||
| GeoreplicationDelete | DELETE | /geo-replication/{mastervolid}/{remotevolid} | ||
| GeoreplicationPause | POST | /geo-replication/{mastervolid}/{remotevolid}/pause | ||
| GeoreplicationResume | POST | /geo-replication/{mastervolid}/{remotevolid}/resume | ||
| GeoreplicationStatus | GET | /geo-replication/{mastervolid}/{remotevolid} | ||
| GeoReplicationConfigGet | GET | /geo-replication/{mastervolid}/{remotevolid}/config | ||
| GeoReplicationConfigSet | POST | /geo-replication/{mastervolid}/{remotevolid}/config | ||
| GeoReplicationConfigReset | DELETE | /geo-replication/{mastervolid}/{remotevolid}/config | ||
| GeoreplicationStatusList | GET | /geo-replication | ||
| GeoreplicationSshKeyGenerate | POST | /ssh-key/{volname}/generate | ||
| GeoreplicationSshKeyPush | POST | /ssh-key/{volname}/push | ||
| GeoreplicationSshKeyGet | GET | /ssh-key/{volname} | ||
| BitrotEnable | POST | /volumes/{volname}/bitrot/enable | ||
| BitrotDisable | POST | /volumes/{volname}/bitrot/disable | ||
| ScrubOndemand | POST | /volumes/{volname}/bitrot/scrubondemand | ||
| ScrubStatus | GET | /volumes/{volname}/bitrot/scrubstatus | ||
| QuotaEnable | POST | /quota/{volname} | ||
| QuotaDisable | DELETE | /quota/{volname} | ||
| QuotaList | GET | /quota/{volname}/limit | ||
| QuotaLimit | POST | /quota/{volname}/limit | ||
| QuotaRemove | DELETE | /quota/{volname}/limit | ||
| WebhookAdd | POST | /events/webhook | ||
| WebhookDelete | DELETE | /events/webhook | ||
| WebhookList | GET | /events/webhook | ||
| GlustershEnable | POST | /volumes/{name}/heal/enable | ||
| GlustershDisable | POST | /volumes/{name}/heal/disable | ||
| Statedump | GET | /statedump | ||
| List Endpoints | GET | /endpoints | ListEndpointsResp |