Skip to content

Function: getCustomContentOperations()

ts
function getCustomContentOperations(client, parameters): Promise<{
[key: string]: unknown;
  operations?: object[] | null;
}>;

Defined in: src/v2/api/operation.ts:59

Returns the permitted operations on specific custom content.

Permissions required: Permission to view the parent content of the custom content and its corresponding space.

Parameters

ParameterTypeDescription
clientClient-
parameters{ id: number; }-
parameters.idnumberThe ID of the custom content for which operations should be returned.

Returns

Promise&lt;{ [key: string]: unknown; operations?: object[] | null; }>