Filescom partner channel templates

From Files-com/files-cli · View interactive version

Filescom partner channel templates is an AI agent skill from the GitHub repository Files-com/files-cli. A PartnerChannelTemplate defines reusable Partner Channel configuration that can be applied to Partners.

How to use this skill

Skill file

filescom-partner-channel-templates

A PartnerChannelTemplate defines reusable Partner Channel configuration that can be applied to Partners.

Route path patterns can be fixed paths shared by all assigned Partners, or include {{partner_name}} to expand to a single folder name. Slashes in Partner names become pipes (|).

Leading and trailing whitespace, percent signs, and null bytes are percent-encoded. Names consisting of . or ..

become %2E or %2E%2E. For example, a Partner named "Acme " uses the folder "Acme%20", while "Acme%20" uses

"Acme%2520". These percent sequences are literal folder-name characters, not URL encoding to decode.

The expanded route must point to an existing folder in the same Workspace.

All subcommands also accept the flags documented in CODE0 (--api-key, --format, --workspace-id, --debug, and the pagination flags --cursor / --per-page / --max-pages on list). Those are not repeated below.

Commands

`files-cli partner-channel-templates list`

List Partner Channel Templates.

| Flag | Type | Description |

| --- | --- | --- |

| --sort-by | object | If set, sort records by the specified field in either asc or desc direction. Valid fields are workspace_id and name. |

| --filter | object | If set, return records where the specified field is equal to the supplied value. Valid fields are workspace_id. |

`files-cli partner-channel-templates find`

Show Partner Channel Template.

| Flag | Type | Description |

| --- | --- | --- |

| --id | int64 | Partner Channel Template ID. Required. |

`files-cli partner-channel-templates create [path]`

Create Partner Channel Template.

| Flag | Type | Description |

| --- | --- | --- |

| --direction | enum | Channel directions. two_way enables both directions, to_partner enables outgoing downloads, and from_partner enables incoming uploads. One of: two_way, to_partner, from_partner. |

| --use-channel-root | bool | Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way. |

| --from-partner-folder-name | string | Optional Channel-level from-Partner folder name override. |

| --from-partner-managed-folder-paths | []string | Managed folder paths inside the from-Partner folder. |

| --from-partner-upload-forms | []object | Form Field Sets for From Partner upload destinations, copied to managed Partner Channels. Each entry has a path relative to the From Partner folder and a form_field_set_id. Use an empty path when the Template has no managed folders. Providing this replaces all assignments, and an empty array removes them. |

| --from-partner-route-path-pattern | string | Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}. |

| --to-partner-folder-name | string | Optional Channel-level to-Partner folder name override. |

| --to-partner-managed-folder-paths | []string | Managed folder paths inside the to-Partner folder. |

| --to-partner-route-path-pattern | string | Optional route path pattern for files delivered to the Partner. Supports {{partner_name}}. |

| --name | string | The name of the Partner Channel Template. Required. |

| --path | string | Channel path relative to the Partner root folder. Required. |

| --workspace-id | int64 | ID of the Workspace associated with this Partner Channel Template. |

`files-cli partner-channel-templates update [path]`

Update Partner Channel Template.

| Flag | Type | Description |

| --- | --- | --- |

| --id | int64 | Partner Channel Template ID. Required. |

| --direction | enum | Channel directions. two_way enables both directions, to_partner enables outgoing downloads, and from_partner enables incoming uploads. One of: two_way, to_partner, from_partner. |

| --use-channel-root | bool | Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way. |

| --from-partner-folder-name | string | Optional Channel-level from-Partner folder name override. |

| --from-partner-managed-folder-paths | []string | Managed folder paths inside the from-Partner folder. |

| --from-partner-upload-forms | []object | Form Field Sets for From Partner upload destinations, copied to managed Partner Channels. Each entry has a path relative to the From Partner folder and a form_field_set_id. Use an empty path when the Template has no managed folders. Providing this replaces all assignments, and an empty array removes them. |

| --from-partner-route-path-pattern | string | Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}. |

| --to-partner-folder-name | string | Optional Channel-level to-Partner folder name override. |

| --to-partner-managed-folder-paths | []string | Managed folder paths inside the to-Partner folder. |

| --to-partner-route-path-pattern | string | Optional route path pattern for files delivered to the Partner. Supports {{partner_name}}. |

| --name | string | The name of the Partner Channel Template. |

| --path | string | Channel path relative to the Partner root folder. |

`files-cli partner-channel-templates delete`

Delete Partner Channel Template.

| Flag | Type | Description |

| --- | --- | --- |

| --id | int64 | Partner Channel Template ID. Required. |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.