Skip to content

Function: getBoardProperty() ​

ts
function getBoardProperty(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  key?: string;
  value?: unknown;
}>;

Defined in: src/server/api/board.ts:319

Returns the value of the property with a given key from the board identified by the provided id. The user who retrieves the property is required to have permissions to view the board.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ boardId: number; propertyKey: string; }-
parameters.boardIdnumberThe id of the board from which the property will be returned.
parameters.propertyKey?stringThe key of the property to return.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; key?: string; value?: unknown; }>