青木謙太
07/21/2025, 7:26 AMkapa.ai
07/21/2025, 7:26 AMmy_api/data/hoge/{YYYYMMDD}_0000.json and {YYYYMMDD} is a dynamic date (not always "now"), you should: 1. Use a variable that represents the date you want to inject. 2. Reference this variable in the URL path using Jinja syntax. For example, if you are using incremental sync or partitioning by date, you can use the stream_interval.start_time variable (or another appropriate variable) and format it as needed. Here’s how you might set it up: my_api/data/hoge/{{ stream_interval.start_time.strftime('%Y%m%d') }}_0000.json - stream_interval.start_time is the variable holding the current date for the partition or incremental sync. - .strftime('%Y%m%d') formats the date as YYYYMMDD. Steps: - In the Connector Builder, set the "URL Path" to the above Jinja expression. - Make sure your partitioning or incremental sync is configured to provide the correct date values. If your date source is different (e.g., from a parent stream or user input), use the corresponding variable, such as stream_partition.<identifier> or config['<user_input>']. Note: If you need to inject the value into the path and the standard injection options do not fit your use case, disable the default injection and use the generic parameter section with Jinja expressions as described above. This approach is supported for cases where the value needs to be injected into the URL path or requires custom formatting or logic [Custom parameter injection - Partitioning](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/partitioning#custom-parameter-injection), [Adding incremental reads](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/tutorial#adding-incremental-reads). If you need more specific help with the exact variable to use, please provide details about how the date should be determined (e.g., from incremental sync, user input, or another stream).青木謙太
07/21/2025, 7:29 AMkapa.ai
07/21/2025, 7:30 AMkapa.ai
07/21/2025, 7:30 AMbase or your desired parameter name). - For the value, click the user icon in the input field and select "New user input". - Set the name for the user input (e.g., "Base" or "Date"). - Click "Create". The value input will now be set to something like {{ config['Base'] }}. This placeholder will be replaced by the value the user provides when configuring the source. You can use this syntax in any field that has a user icon on the right side. For more details, see the [variables reference](https://docs.airbyte.com/platform/connector-development/config-based/understanding-the-yaml-file/reference#variables). 2. Test the User Input: - Click the "Testing values" button in the Connector Builder UI. - Enter a value for your user input (e.g., set "Base" to USD or your custom date). - Click the "Test" button to issue a new test read. The connector will use the value you provided for the user input in the request, and you can verify the output in the test results. Example: If you set up a user input for a base currency, your test record might look like: json { "base": "USD", "date": "2023-04-13", "rates": { "AED": 3.6723, "AFN": 86.286329, // ... } } This confirms that the user input was correctly injected and used in the request. For more details, see the step-by-step guide in the official documentation: [Making the stream configurable](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/tutorial#making-the-stream-configurable).