-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from rarimo/feaure/vote-endpoint
Feature: vote endpoint
- Loading branch information
Showing
16 changed files
with
3,167 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
docs/spec/paths/integrations@proof-verification-relayer@[email protected]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
post: | ||
tags: | ||
- State | ||
summary: Transit state | ||
operationId: TransitState | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
required: | ||
- data | ||
properties: | ||
data: | ||
type: object | ||
required: | ||
- tx_data | ||
properties: | ||
tx_data: | ||
type: string | ||
responses: | ||
'200': | ||
description: Success | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
data: | ||
type: object | ||
$ref: '#/components/schemas/Tx' | ||
'400': | ||
description: Bad Request Error | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/Errors' | ||
'429': | ||
description: Too Many Requests Error | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/Errors' | ||
'500': | ||
description: Internal Error | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/Errors' |
55 changes: 55 additions & 0 deletions
55
docs/spec/paths/integrations@proof-verification-relayer@[email protected]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
post: | ||
tags: | ||
- Votes | ||
summary: The voting | ||
operationId: vote | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
required: | ||
- data | ||
properties: | ||
data: | ||
type: object | ||
required: | ||
- tx_data | ||
- voting | ||
- registration | ||
properties: | ||
tx_data: | ||
type: string | ||
voting: | ||
type: string | ||
registration: | ||
type: string | ||
responses: | ||
'200': | ||
description: Success | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
data: | ||
type: object | ||
$ref: '#/components/schemas/Tx' | ||
'400': | ||
description: Bad Request Error | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/Errors' | ||
'429': | ||
description: Too Many Requests Error | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/Errors' | ||
'500': | ||
description: Internal Error | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/Errors' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.