diff --git a/ipfs-pinning-service.yaml b/ipfs-pinning-service.yaml index 6752831..cb6ffea 100644 --- a/ipfs-pinning-service.yaml +++ b/ipfs-pinning-service.yaml @@ -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: + description: Defines the mode of pin operation + type: string + enum: + - direct + - recursive + - pinset + default: recursive meta: $ref: '#/components/schemas/Meta'