fully Decentralized functionnal OC-PEER
This commit is contained in:
@@ -12,6 +12,27 @@ info:
|
||||
url: https://www.gnu.org/licenses/agpl-3.0.html
|
||||
basePath: /oc/
|
||||
paths:
|
||||
/decentralized/search/{search}:
|
||||
get:
|
||||
tags:
|
||||
- oc-peer/controllersPeerController
|
||||
description: |-
|
||||
find workflow by key word
|
||||
<br>
|
||||
operationId: PeerController.Search Decentralized
|
||||
parameters:
|
||||
- in: path
|
||||
name: search
|
||||
description: the search you want to get
|
||||
required: true
|
||||
type: string
|
||||
- in: query
|
||||
name: is_draft
|
||||
description: draft wished
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{workflow} models.workflow'
|
||||
/peer:
|
||||
get:
|
||||
tags:
|
||||
@@ -28,23 +49,6 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{peer} models.peer'
|
||||
/peer/{from}/link/{relation}:
|
||||
get:
|
||||
tags:
|
||||
- oc-peer/controllersPeerController
|
||||
description: |-
|
||||
find peer by peerid
|
||||
<br>
|
||||
operationId: PeerController.Link
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: the peer id you want to get
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{peer} models.peer'
|
||||
/peer/{id}:
|
||||
get:
|
||||
tags:
|
||||
@@ -130,6 +134,23 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{peer} models.peer'
|
||||
/peer/{id}/valid:
|
||||
get:
|
||||
tags:
|
||||
- oc-peer/controllersPeerController
|
||||
description: |-
|
||||
find peer by peerid
|
||||
<br>
|
||||
operationId: PeerController.Valid
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: the peer id you want to get
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{peer} models.peer'
|
||||
/peer/search/{search}:
|
||||
get:
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user