FruxonDocs
IntegrationsAssets

Lists available asset source types with their required and optional properties.

Returns the descriptors that drive asset creation: each entry lists the source type key (for example `google_drive`, `url`, `file`), its required and optional config parameters, and whether it supports OAuth. Use this to build the asset-creation form and to validate the `config` payload sent to `POST /assets`. Source types that report OAuth support must be authorized via `POST /assets:authorize` before creation.

GET
/v1/tenants/{tenant}/assets:sourceTypes
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

tenant*string

The tenant identifier

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/assets:sourceTypes"
[
  {
    "sourceType": "string",
    "displayName": "string",
    "description": "string",
    "integrationId": "string",
    "properties": [
      {
        "name": "string",
        "index": 0,
        "type": "String",
        "typeName": "string",
        "integerRange": null,
        "floatRange": null,
        "options": null,
        "asset": null,
        "displayName": "string",
        "description": "string",
        "required": false,
        "secret": false,
        "defaultValue": "string",
        "jsonSchema": null,
        "uiHint": null,
        "rules": []
      }
    ],
    "authMetadata": [
      {
        "id": "string",
        "displayName": "string",
        "description": "string",
        "type": "UNSPECIFIED",
        "sensitivity": "UNSPECIFIED",
        "authProviderName": "string",
        "configTestSupported": false,
        "supportedLevels": [
          "APPLICATION",
          "USER"
        ],
        "authMap": {
          "useMap": false,
          "keyTemplate": null,
          "parametersMetadata": []
        },
        "authSettings": {
          "parameters": {}
        },
        "parametersMetadata": [],
        "availableScopes": []
      }
    ],
    "supportsAutoUpdate": false,
    "supportsWebhookRegistration": false,
    "supportsPollSchedule": false,
    "webhookSetupGuide": "string"
  }
]
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}