-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7cbe0cf
commit 122b668
Showing
11 changed files
with
201 additions
and
3 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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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
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,105 @@ | ||
servers: | ||
- url: https://ipfs.blockfrost.io/api/v0 | ||
|
||
get: | ||
tags: | ||
- IPFS » Pins | ||
summary: Get Proof of Data Segment Inclusion (PoDSI) | ||
description: | | ||
Retrieve the Proof of Data Segment Inclusion (PoDSI) for a specific IPFS object. | ||
<p> | ||
<span class="hosted">Hosted</span> Endpoint only available for hosted variant. | ||
</p> | ||
parameters: | ||
- in: path | ||
required: true | ||
name: IPFS_path | ||
schema: | ||
type: string | ||
description: The path to the IPFS object | ||
responses: | ||
"200": | ||
description: Returns the Proof of Data Segment Inclusion (PoDSI) | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
dealInfo: | ||
type: array | ||
items: | ||
type: object | ||
properties: | ||
dealId: | ||
type: integer | ||
description: The ID of the storage deal | ||
storageProvider: | ||
type: string | ||
description: The storage provider's ID | ||
proof: | ||
type: object | ||
properties: | ||
verifierData: | ||
type: object | ||
properties: | ||
commPc: | ||
type: string | ||
description: The piece commitment (commPc) | ||
sizePc: | ||
type: string | ||
description: The size of the piece commitment | ||
inclusionProof: | ||
type: object | ||
properties: | ||
proofIndex: | ||
type: object | ||
properties: | ||
index: | ||
type: string | ||
description: The proof index | ||
path: | ||
type: array | ||
items: | ||
type: string | ||
description: The Merkle proof path | ||
proofSubtree: | ||
type: object | ||
properties: | ||
index: | ||
type: string | ||
description: The subtree proof index | ||
path: | ||
type: array | ||
items: | ||
type: string | ||
description: The Merkle proof path for the subtree | ||
indexRecord: | ||
type: object | ||
properties: | ||
checksum: | ||
type: string | ||
description: The checksum of the index record | ||
proofIndex: | ||
type: string | ||
description: The proof index | ||
proofSubtree: | ||
type: integer | ||
description: The size of the proof subtree | ||
size: | ||
type: integer | ||
description: The size of the record | ||
required: | ||
- dealInfo | ||
"400": | ||
$ref: ../../../../../responses/errors/400.yaml | ||
"403": | ||
$ref: ../../../../../responses/errors/403.yaml | ||
"404": | ||
$ref: ../../../../../responses/errors/404.yaml | ||
"429": | ||
$ref: ../../../../../responses/errors/429.yaml | ||
"418": | ||
$ref: ../../../../../responses/errors/418.yaml | ||
"500": | ||
$ref: ../../../../../responses/errors/500.yaml |
Oops, something went wrong.