Skip to content

Type Alias: GetMemberActions ​

ts
type GetMemberActions = object;

Defined in: parameters/getMemberActions.ts:62

Type Declaration ​

before? ​

ts
optional before?: string;

A date string in the form of YYYY-MM-DDThh:mm:ssZ or a mongo object ID. Only objects created before this date will be returned.

entities? ​

ts
optional entities?: boolean;

Whether to return the entities of each action.

fields? ​

ts
optional fields?: 
  | "type"
  | "data"
  | "id"
  | "display"
  | string & object
  | "date"
  | "limits"
  | "idMemberCreator"
  | "memberCreator"
  | (
  | "type"
  | "data"
  | "id"
  | "display"
  | string & object
  | "date"
  | "limits"
  | "idMemberCreator"
  | "memberCreator")[];

The fields to be returned for the Actions. See Action fields here.

filter? ​

ts
optional filter?: string | string[];

A comma-separated list of action types.

format? ​

ts
optional format?: string;

The format of the returned Actions. Either list or count.

id ​

ts
id: string;

The ID or username of the member

idModels? ​

ts
optional idModels?: string | string[];

A comma-separated list of idModels. Only actions related to these models will be returned.

limit? ​

ts
optional limit?: number;

The limit of the number of responses, between 0 and 1000.

member? ​

ts
optional member?: boolean;

Whether to return the member object for each action.

memberCreator? ​

ts
optional memberCreator?: boolean;

Whether to return the memberCreator object for each action.

memberCreatorFields? ​

ts
optional memberCreatorFields?: string | string[];

The fields of the member creator to return

memberFields? ​

ts
optional memberFields?: string | string[];

The fields of the member to return.

page? ​

ts
optional page?: number;

The page of results for actions.

reactions? ​

ts
optional reactions?: boolean;

Whether to show reactions on comments or not.

since? ​

ts
optional since?: string;

A date string in the form of YYYY-MM-DDThh:mm:ssZ or a mongo object ID. Only objects created since this date will be returned.