一键导入
filescom-behaviors
A Behavior is an API resource for what are also known as Folder Settings.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
A Behavior is an API resource for what are also known as Folder Settings.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Files.com User Additional Email Recipients via files-cli.
A Holiday Calendar defines site-wide holiday dates and optional partial-day windows that scheduled resources skip.
A RemoteServerCredential is a way to store a credential for Remote Servers in a centralized vault and then reference it from Remote Server definitions.
A RemoteServer is a specific type of Behavior called `remote_server_sync`.
Files.com Files via files-cli.
Expectations let your Files.com site define what “correct” file delivery looks like, continuously evaluate whether it happened, and keep history when it did not.
| name | filescom-behaviors |
| description | A Behavior is an API resource for what are also known as Folder Settings. |
A Behavior is an API resource for what are also known as Folder Settings. Every behavior is associated with a folder.
Depending on the behavior, it may also operate on child folders. It may be overridable at the child folder level or maybe can be added to at the child folder level. The exact options for each behavior type are explained in the table below.
Each behavior type also has a recursion mode in the behavior type documentation. always means the behavior is always recursive, never means it is never recursive, and sometimes means callers may choose the value of the recursive field.
Additionally, some behaviors are visible to non-admins, and others are even settable by non-admins. All the details are below.
Each behavior uses a different format for storing its settings value. Next to each behavior type is an example value. Our API and SDKs currently require that the value for behaviors be sent as raw JSON within the value field. Our SDK generator and API documentation generator doesn't fully keep up with this requirement, so if you need any help finding the exact syntax to use for your language or use case, just reach out.
Note: Append Timestamp behavior removed. Check Override Upload Filename behavior which have even more functionality to modify name on upload.
All subcommands also accept the global flags documented in CONTEXT.md (--api-key, --format, --workspace-id, --debug, and the pagination flags --cursor / --per-page / --max-pages on list). Those are not repeated below.
files-cli behaviors listList Behaviors.
| Flag | Type | Description |
|---|---|---|
--sort-by | object | If set, sort records by the specified field in either asc or desc direction. Valid fields are behavior. |
--filter | object | If set, return records where the specified field is equal to the supplied value. Valid fields are clickwrap_id, form_field_set_id, impacts_ui, remote_server_id or behavior. Valid field combinations are [ impacts_ui, behavior ] and [ behavior, remote_server_id ]. |
files-cli behaviors findShow Behavior.
| Flag | Type | Description |
|---|---|---|
--id | int64 | Behavior ID. Required. |
files-cli behaviors list-for [path]List Behaviors by Path.
| Flag | Type | Description |
|---|---|---|
--sort-by | object | If set, sort records by the specified field in either asc or desc direction. Valid fields are behavior. |
--filter | object | If set, return records where the specified field is equal to the supplied value. Valid fields are impacts_ui and behavior. Valid field combinations are [ impacts_ui, behavior ]. |
--path | string | Path to operate on. Required. |
--ancestor-behaviors | bool | If true, behaviors above this path are shown. |
files-cli behaviors create [path]Create Behavior.
| Flag | Type | Description |
|---|---|---|
--value | object | This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior. |
--attachment-file | file | Certain behaviors may require a file, for instance, the watermark behavior requires a watermark image. Attach that file here. |
--disable-parent-folder-behavior | bool | If true, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a recursive behavior higher in the folder tree. |
--recursive | bool | Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is sometimes; always behaviors stay recursive and never behaviors stay non-recursive. |
--name | string | Name for this behavior. |
--description | string | Description for this behavior. |
--path | string | Path where this behavior should apply. Required. |
--behavior | string | Behavior type. Required. |
files-cli behaviors webhook-testTest Webhook.
| Flag | Type | Description |
|---|---|---|
--url | string | URL for testing the webhook. Required. |
--method | string | HTTP request method (GET or POST). |
--encoding | string | Encoding type for the webhook payload. Can be JSON, XML, or RAW (form data). |
--headers | object | Additional request headers to send via HTTP. |
--body | object | Additional body parameters to include in the webhook payload. |
files-cli behaviors updateUpdate Behavior.
| Flag | Type | Description |
|---|---|---|
--id | int64 | Behavior ID. Required. |
--value | object | This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior. |
--attachment-file | file | Certain behaviors may require a file, for instance, the watermark behavior requires a watermark image. Attach that file here. |
--disable-parent-folder-behavior | bool | If true, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a recursive behavior higher in the folder tree. |
--recursive | bool | Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is sometimes; always behaviors stay recursive and never behaviors stay non-recursive. |
--name | string | Name for this behavior. |
--description | string | Description for this behavior. |
--attachment-delete | bool | If true, delete the file stored in attachment. |
files-cli behaviors deleteDelete Behavior.
| Flag | Type | Description |
|---|---|---|
--id | int64 | Behavior ID. Required. |