academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Data-sources [Beta] → Create data source

AI-generated

Summary

Create a new data source in the academyFIVE API by submitting required data details.

Inputs

  • data (required) — Object containing data source details with a required 'type' string and an 'attributes' object defining 'name' (string), 'tableName' (string), and optional 'usage' (string).

Output shape

a JSON object representing the created data source

The returned data corresponds to the API response for the new data source creation. If the API returns a binary response, it will be output as a binary file with appropriate metadata. Error responses are handled per-item and returned in JSON with an error message if 'Continue On Fail' is enabled.

Examples

Example 1: Create a new data source with specified type, name, tableName, and optional usage.

Set 'data.type' to the data source type string, 'data.attributes.name' to the data source name, 'data.attributes.tableName' to the table name, and optionally 'data.attributes.usage' with a usage definition string.

Links

Discussion