Skip to content

Commit

Permalink
Merge pull request #409 from TogetherCrew/404-add-reputation-score-ap…
Browse files Browse the repository at this point in the history
…i-endpoint

docs: add docs for the reputation-score api
  • Loading branch information
Behzad-rabiei authored Nov 18, 2024
2 parents 3a0cf89 + 1f87d3f commit c9f2451
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 c9f2451

Please sign in to comment.