Skip to content

Commit

Permalink
docs: add docs for the reputation-score api
Browse files Browse the repository at this point in the history
  • Loading branch information
Behzad-rabiei committed Nov 18, 2024
1 parent 741dd85 commit 1f87d3f
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions src/docs/nft.yml
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'

0 comments on commit 1f87d3f

Please sign in to comment.