post http://10.100.1.216:9095/generic-connector/v1/agent/upload
This endpoint uploads a file to TetraScience Cloud through connector deployed on on-premise datahub machine. It requires a datahub, a Generic Data Connector (GDC) added to the datahub and agent set up on the GDC connector. Custom agent software can use this endpoint to upload files to datalake.
Validations performed by this endpoint:
agentId
must be a valid ID of the agent defined in GDC- when
dataCategory
param isbatch
, paramfilePath
must be provided - when
dataCategory
param isstream
, paramfileName
must be provided - param
sourceType
must contain only lower case alphanumerical characters and dashes - params
metadata
andtags
must contain only ASCII characters;tags
values cannot contain comma and values must be unique - params
metadata
andtags
together as JSON objects must have less than 1.5KB of text (1536 characters)