Compare commits
No commits in common. "f77af25b844abb8124aabb1048fce37be8d4e8b3" and "afb3d7fa3d758c966d3dbdab59c3c63a5c426536" have entirely different histories.
f77af25b84
...
afb3d7fa3d
1323
src/client.ts
1323
src/client.ts
File diff suppressed because it is too large
Load Diff
|
@ -1,8 +0,0 @@
|
|||
import {CustomClientOptions} from "#utils/options.js";
|
||||
import {ResponseType} from "axios";
|
||||
|
||||
export type CustomPinOptions = CustomClientOptions & {
|
||||
|
||||
};
|
||||
|
||||
export const DEFAULT_PIN_OPTIONS = {};
|
28
swagger.yaml
28
swagger.yaml
|
@ -679,24 +679,6 @@ paths:
|
|||
responses:
|
||||
'204':
|
||||
description: File pinned
|
||||
/s5/pin/{cid}/status:
|
||||
get:
|
||||
summary: Retrieve pin status
|
||||
tags:
|
||||
- pin
|
||||
parameters:
|
||||
- name: cid
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
description: Pin status
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/AccountPinStatusResponse'
|
||||
/s5/delete/{cid}:
|
||||
delete:
|
||||
summary: Delete a file. This will only unpin it from the account, and potentially delete it later if there are no more global pins.
|
||||
|
@ -941,16 +923,6 @@ components:
|
|||
type: string
|
||||
mime_type:
|
||||
type: string
|
||||
AccountPinStatusResponse:
|
||||
type: object
|
||||
required:
|
||||
- status
|
||||
- progress
|
||||
properties:
|
||||
status:
|
||||
type: string
|
||||
progress:
|
||||
type: number
|
||||
RegistryQueryResponse:
|
||||
type: object
|
||||
properties:
|
||||
|
|
Loading…
Reference in New Issue