Skip to main content
Connectors are organized into a main connector file and, optionally, partial files. Partial files can be used to split large connectors up into more manageable chunks for maintenance and are consumed in the StackOne platform as if it were a single configuration file.

Best practices

For maintaining connectors for development, use the directory structure below:

Main connector file

The main connector file defines the top-level properties (see YAML Schema): connector metadata, authentication, and an actions block (plus an events block for webhooks) that reference the partial files. Partial files are referenced in the main file by the filename without the .s1.partial.yaml extension.
Parital files must be within the same folder as the main connector file.
Add references in alphabetical order for readability.

Partial files

Each partial file is a group of actions, e.g. grouped per resource.
Event handlers are grouped the same way:

YAML Schema

Full YAML schema for building connectors with field tables and examples.