v1

latestOpenAPI 3.1.02026-08-06213193627.0 KB
apps

Update App Custom Data

put/v1/apps/custom-data/{app_id}/files/{file_id}

Path parameters

app_idstring uuid required
file_idstring uuid required

Request body

file_namestring nullable
activeboolean nullable
labelsstring[] nullable

Response

Successful Response

idstring uuid nullable

The ID

app_idstring uuid nullable

The ID of the app to store this data in

tenant_idstring uuid required

The ID of the tenant to store this data in

carbon_data_source_typestring nullable

The type of the data source in Carbon

carbon_last_synced_onstring date-time nullable

The timestamp the file was last synced from Carbon

file_mimestring nullable

The mimetype of the file

file_sizeinteger nullable

The size of the file in Bytes

data_type'file' | 'url' required

The type of custom data (file, url, ...)

activeboolean

Indicates if the data source will be included in queries

state'CREATED' | 'PENDING' | 'QUEUED' | 'QUEUED_FOR_RECONCILIATION' | 'SYNC_FAILED' | 'FAILED' | 'INDEXED' | 'DELETING'
added_onstring date-time

The timestamp the file was added

modified_onstring date-time nullable

The timestamp the file was last modified

deleted_onstring date-time nullable

The timestamp the file was added