mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-06 23:43:07 +00:00
Updates api
This commit is contained in:
parent
a4994f96b8
commit
1f21c50512
@ -627,6 +627,26 @@ paths:
|
|||||||
"500":
|
"500":
|
||||||
description: Well it was bad-bad
|
description: Well it was bad-bad
|
||||||
|
|
||||||
|
delete:
|
||||||
|
summary: "Deletes either a single block or an entire dataset from the local node."
|
||||||
|
tags: [Data]
|
||||||
|
operationId: deleteLocal
|
||||||
|
parameters:
|
||||||
|
- in: path
|
||||||
|
name: cid
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/Cid"
|
||||||
|
description: Block or dataset to be deleted.
|
||||||
|
|
||||||
|
responses:
|
||||||
|
"204":
|
||||||
|
description: Data was successfully deleted.
|
||||||
|
"400":
|
||||||
|
description: Invalid CID is specified
|
||||||
|
"500":
|
||||||
|
description: There was an error during deletion
|
||||||
|
|
||||||
"/data/{cid}/network":
|
"/data/{cid}/network":
|
||||||
post:
|
post:
|
||||||
summary: "Download a file from the network to the local node if it's not available locally. Note: Download is performed async. Call can return before download is completed."
|
summary: "Download a file from the network to the local node if it's not available locally. Note: Download is performed async. Call can return before download is completed."
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
using CodexContractsPlugin.Marketplace;
|
using CodexContractsPlugin.Marketplace;
|
||||||
using System.Collections.Generic;
|
|
||||||
using Utils;
|
using Utils;
|
||||||
|
|
||||||
namespace CodexContractsPlugin.ChainMonitor
|
namespace CodexContractsPlugin.ChainMonitor
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user