Skip to main content
POST
Save a personal Library filter view

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Body

application/json

Request fields accepted by this operation. Omitted optional properties retain the behavior described above.

name
string
required

Validation: required|string|max:100.

Maximum string length: 100
filters
object
required

Root must be a group; at most40 nodes and4 nested levels, distinct nonempty IDs. Nonroot groups cannot be empty. Rule path contains one available field ID; values follow that field type/options, at most50 items. Range values contain two ordered values. Dates are real YYYY-MM-DD values. Recipient text fields do not support ends_with.

search_mode
enum<string>

Validation: in:filename,content.

Available options:
filename,
content
search
string | null

Validation: nullable|string|max:200.

Maximum string length: 200
record
string | null

Validation: nullable|string.

Pattern: ^(entity|donor):[1-9][0-9]*$
source
enum<string> | null

Validation: nullable|in:records,library,drive,mailings,trips,donations,activities,collaboration,stories,messages,reports.

Available options:
records,
library,
drive,
mailings,
trips,
donations,
activities,
collaboration,
stories,
messages,
reports,
null
type
enum<string> | null
Available options:
image,
pdf,
document,
spreadsheet,
video,
audio,
archive,
other,
null
scope
enum<string> | null

Validation: nullable|in:all,recent,starred.

Available options:
all,
recent,
starred,
null
collection_id
integer | null

Validation: nullable|integer|min:1.

Required range: x >= 1
sort
enum<string>

Validation: in:name,modified,size,type.

Available options:
name,
modified,
size,
type
direction
enum<string>

Validation: in:asc,desc.

Available options:
asc,
desc
display
object

Response

Save a personal Library filter view response.

data
object