-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add docs for the reputation-score api
- Loading branch information
1 parent
741dd85
commit 1f87d3f
Showing
1 changed file
with
39 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
paths: | ||
/api/v1/nft/{tokenId}/{address}/reputation-score: | ||
get: | ||
tags: | ||
- Nft | ||
summary: Retrieve reputation scores for given tokenId and address. | ||
security: | ||
- bearerAuth: [] | ||
parameters: | ||
- name: tokenId | ||
in: path | ||
required: true | ||
description: The token Id which dynamic Nft module is assocated with. | ||
schema: | ||
type: string | ||
- name: address | ||
in: path | ||
required: true | ||
description: The user public address. | ||
schema: | ||
type: string | ||
responses: | ||
'200': | ||
description: Module details retrieved successfully. | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
reputationScore: | ||
type: string | ||
communintyId: | ||
type: string | ||
'400': | ||
description: Bad Request | ||
$ref: '#/components/responses/BadRequest' | ||
'404': | ||
description: NotFound | ||
$ref: '#/components/responses/NotFound' |