Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions ipfs-pinning-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,14 @@ components:
cid:
description: CID to be pinned
type: string
depth:
description: Defines how deep the DAG should be pinned (-1 recursive, 0 direct)
type: integer
format: int32
default: -1
minimum: -1
mode:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

avoided type because its often a restricted keyword

description: Defines the mode of pin operation
type: string
enum:
- direct
- recursive
- pinset
default: recursive
meta:
$ref: '#/components/schemas/Meta'

Expand Down