swagger: "2.0" info: title: oc-peer description: | Manage OpenCloud peers version: 1.0.0 termsOfService: http://cloud.o-forge.io/ contact: email: admin@o-cloud.io license: name: AGPL url: https://www.gnu.org/licenses/agpl-3.0.html basePath: /oc/ paths: /: get: tags: - oc-peer/controllersPeerController description: |- find all peer
operationId: PeerController.GetAll responses: "200": description: '{peer} models.peer' /{id}: get: tags: - oc-peer/controllersPeerController description: |- find peer by peerid
operationId: PeerController.Get parameters: - in: path name: id description: the peer id you want to get required: true type: string responses: "200": description: '{peer} models.peer' put: tags: - oc-peer/controllersPeerController description: |- create peers
operationId: PeerController.Update parameters: - in: path name: id description: the peer id you want to get required: true type: string - in: body name: body description: The peer content required: true schema: $ref: '#/definitions/models.peer' responses: "200": description: "" schema: $ref: '#/definitions/models.peer' /search/{search}: get: tags: - oc-peer/controllersPeerController description: |- search workspace
operationId: PeerController.Search parameters: - in: path name: search description: the word search you want to get required: true type: string responses: "200": description: '{workspace} models.workspace' /status/: post: tags: - status description: |- get peer status if it's alive
operationId: StatusController.Status parameters: - in: body name: body description: of schema: $ref: '#/definitions/list' responses: "200": description: '{status} models.status' /version/: get: tags: - version description: |- get version
operationId: VersionController.GetAll responses: "200": description: "" definitions: list: title: list type: object models.peer: title: peer type: object tags: - name: status description: | Operations about workflow - name: oc-peer/controllersPeerController description: | Operations about workflow - name: version description: | VersionController operations for Version