Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AdminStorageInfo

Hierarchy

  • AdminStorageInfo

Index

Properties

Properties

get

get: (userId: string, cid: string) => Promise<AsObject>

Get the current storage state of a cid.

param

The user id to query.

param

The cid to query.

returns

The current storage state of the cid.

Type declaration

    • (userId: string, cid: string): Promise<AsObject>
    • Parameters

      • userId: string
      • cid: string

      Returns Promise<AsObject>

list

list: (userIds?: string[], cids?: string[]) => Promise<AsObject>

Lists the current storage state for many or all user ids and cids.

param

Optional list of cids to filter the results by.

returns

An object containing a list of storage info.

Type declaration

    • (userIds?: string[], cids?: string[]): Promise<AsObject>
    • Parameters

      • Optional userIds: string[]
      • Optional cids: string[]

      Returns Promise<AsObject>

Generated using TypeDoc