diff --git a/docs/docs.go b/docs/docs.go index 402f5c3e..c6fc4bea 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -2488,64 +2488,6 @@ const docTemplate = `{ } } }, - "/pinning/batched-pins": { - "post": { - "description": "This endpoint adds a pin to the IPFS daemon.", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "pinning" - ], - "summary": "Add and pin objects in batches", - "parameters": [ - { - "description": "Pin Body {[cid:cid, name:name]}", - "name": "pin", - "in": "body", - "required": true, - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/types.IpfsPin" - } - } - }, - { - "type": "string", - "description": "Ignore Dupes", - "name": "ignore-dupes", - "in": "query" - }, - { - "type": "string", - "description": "Overwrite conflicting files in collections", - "name": "overwrite", - "in": "query" - } - ], - "responses": { - "202": { - "description": "Accepted", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/types.IpfsPinStatusResponse" - } - } - }, - "500": { - "description": "Internal Server Error", - "schema": { - "$ref": "#/definitions/util.HttpError" - } - } - } - } - }, "/pinning/pins": { "get": { "description": "This endpoint lists all pin status objects", diff --git a/docs/swagger.json b/docs/swagger.json index 777813fc..ffa68a26 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -2481,64 +2481,6 @@ } } }, - "/pinning/batched-pins": { - "post": { - "description": "This endpoint adds a pin to the IPFS daemon.", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "pinning" - ], - "summary": "Add and pin objects in batches", - "parameters": [ - { - "description": "Pin Body {[cid:cid, name:name]}", - "name": "pin", - "in": "body", - "required": true, - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/types.IpfsPin" - } - } - }, - { - "type": "string", - "description": "Ignore Dupes", - "name": "ignore-dupes", - "in": "query" - }, - { - "type": "string", - "description": "Overwrite conflicting files in collections", - "name": "overwrite", - "in": "query" - } - ], - "responses": { - "202": { - "description": "Accepted", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/types.IpfsPinStatusResponse" - } - } - }, - "500": { - "description": "Internal Server Error", - "schema": { - "$ref": "#/definitions/util.HttpError" - } - } - } - } - }, "/pinning/pins": { "get": { "description": "This endpoint lists all pin status objects", diff --git a/docs/swagger.yaml b/docs/swagger.yaml index de7435d7..dc8fbb87 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -1955,44 +1955,6 @@ paths: summary: Unuspend Miner tags: - miner - /pinning/batched-pins: - post: - consumes: - - application/json - description: This endpoint adds a pin to the IPFS daemon. - parameters: - - description: Pin Body {[cid:cid, name:name]} - in: body - name: pin - required: true - schema: - items: - $ref: '#/definitions/types.IpfsPin' - type: array - - description: Ignore Dupes - in: query - name: ignore-dupes - type: string - - description: Overwrite conflicting files in collections - in: query - name: overwrite - type: string - produces: - - application/json - responses: - "202": - description: Accepted - schema: - items: - $ref: '#/definitions/types.IpfsPinStatusResponse' - type: array - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/util.HttpError' - summary: Add and pin objects in batches - tags: - - pinning /pinning/pins: get: description: This endpoint lists all pin status objects