File Management
ListSiteFiles retrieves all site files associated with a given site ID.
Optional filters can be applied to narrow down the results.
Update an existing site file.
JWT Authorization header using the Bearer scheme. Example: 'Bearer {token}'
Required.
If provided, filtered on ids.
deprecated // If provided, includes data in response
A successful response.
An unexpected error response.
GET /gateway/v1/site-file HTTP/1.1
Host: p01-api.observo.ai
authorization: YOUR_API_KEY
Accept: */*
{
"siteFiles": [
{
"id": 1,
"siteId": 1,
"filename": "text",
"description": "text",
"fileType": "DEFAULT_TYPE",
"data": "text",
"createdBy": "text",
"updatedBy": "text",
"created": "2025-11-28T15:11:48.633Z",
"updated": "2025-11-28T15:11:48.633Z",
"filepath": "text",
"dataChunk": "Ynl0ZXM=",
"fileSizeBytes": 1,
"compressionType": "NO_COMPRESSION",
"fileSchema": {},
"dynamicLookupJob": {
"jobId": 1,
"status": "DYNAMIC_LOOKUP_JOB_STATUS_UNSPECIFIED",
"resource": {
"cpuRequest": 1,
"cpuLimit": 1,
"memoryRequest": 1,
"memoryLimit": 1
}
},
"status": "INACTIVE",
"checksum": "text",
"geoIpInfo": {
"locale": "text",
"storeOnManager": true
}
}
],
"pagination": {
"offset": 1,
"limit": 1,
"totalCount": 1,
"ordering": {
"fieldName": "text",
"descending": true
}
}
}Update an existing site file.
JWT Authorization header using the Bearer scheme. Example: 'Bearer {token}'
A successful response.
An unexpected error response.
POST /gateway/v1/site-file HTTP/1.1
Host: p01-api.observo.ai
authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 578
{
"siteFile": {
"id": 1,
"siteId": 1,
"filename": "text",
"description": "text",
"fileType": "DEFAULT_TYPE",
"data": "text",
"createdBy": "text",
"updatedBy": "text",
"created": "2025-11-28T15:11:48.633Z",
"updated": "2025-11-28T15:11:48.633Z",
"filepath": "text",
"dataChunk": "Ynl0ZXM=",
"fileSizeBytes": 1,
"compressionType": "NO_COMPRESSION",
"fileSchema": {},
"dynamicLookupJob": {
"jobId": 1,
"status": "DYNAMIC_LOOKUP_JOB_STATUS_UNSPECIFIED",
"resource": {
"cpuRequest": 1,
"cpuLimit": 1,
"memoryRequest": 1,
"memoryLimit": 1
}
},
"status": "INACTIVE",
"checksum": "text",
"geoIpInfo": {
"locale": "text",
"storeOnManager": true
}
}
}{
"siteFile": {
"id": 1,
"siteId": 1,
"filename": "text",
"description": "text",
"fileType": "DEFAULT_TYPE",
"data": "text",
"createdBy": "text",
"updatedBy": "text",
"created": "2025-11-28T15:11:48.633Z",
"updated": "2025-11-28T15:11:48.633Z",
"filepath": "text",
"dataChunk": "Ynl0ZXM=",
"fileSizeBytes": 1,
"compressionType": "NO_COMPRESSION",
"fileSchema": {},
"dynamicLookupJob": {
"jobId": 1,
"status": "DYNAMIC_LOOKUP_JOB_STATUS_UNSPECIFIED",
"resource": {
"cpuRequest": 1,
"cpuLimit": 1,
"memoryRequest": 1,
"memoryLimit": 1
}
},
"status": "INACTIVE",
"checksum": "text",
"geoIpInfo": {
"locale": "text",
"storeOnManager": true
}
}
}Update site file, including sources, sinks or transforms. Equaivalent of
patch. Only given fields are updated.
Update an existing site file.
JWT Authorization header using the Bearer scheme. Example: 'Bearer {token}'
A successful response.
An unexpected error response.
PATCH /gateway/v1/site-file HTTP/1.1
Host: p01-api.observo.ai
authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 578
{
"siteFile": {
"id": 1,
"siteId": 1,
"filename": "text",
"description": "text",
"fileType": "DEFAULT_TYPE",
"data": "text",
"createdBy": "text",
"updatedBy": "text",
"created": "2025-11-28T15:11:48.633Z",
"updated": "2025-11-28T15:11:48.633Z",
"filepath": "text",
"dataChunk": "Ynl0ZXM=",
"fileSizeBytes": 1,
"compressionType": "NO_COMPRESSION",
"fileSchema": {},
"dynamicLookupJob": {
"jobId": 1,
"status": "DYNAMIC_LOOKUP_JOB_STATUS_UNSPECIFIED",
"resource": {
"cpuRequest": 1,
"cpuLimit": 1,
"memoryRequest": 1,
"memoryLimit": 1
}
},
"status": "INACTIVE",
"checksum": "text",
"geoIpInfo": {
"locale": "text",
"storeOnManager": true
}
}
}{
"siteFile": {
"id": 1,
"siteId": 1,
"filename": "text",
"description": "text",
"fileType": "DEFAULT_TYPE",
"data": "text",
"createdBy": "text",
"updatedBy": "text",
"created": "2025-11-28T15:11:48.633Z",
"updated": "2025-11-28T15:11:48.633Z",
"filepath": "text",
"dataChunk": "Ynl0ZXM=",
"fileSizeBytes": 1,
"compressionType": "NO_COMPRESSION",
"fileSchema": {},
"dynamicLookupJob": {
"jobId": 1,
"status": "DYNAMIC_LOOKUP_JOB_STATUS_UNSPECIFIED",
"resource": {
"cpuRequest": 1,
"cpuLimit": 1,
"memoryRequest": 1,
"memoryLimit": 1
}
},
"status": "INACTIVE",
"checksum": "text",
"geoIpInfo": {
"locale": "text",
"storeOnManager": true
}
}
}Deletes a specific file associated with a site
JWT Authorization header using the Bearer scheme. Example: 'Bearer {token}'
ID of the site that owns the file
ID of the file to delete
File deleted successfully
File or site not found
Internal server error
DELETE /gateway/v1/site-file/{siteId}/{siteFileId} HTTP/1.1
Host: p01-api.observo.ai
authorization: YOUR_API_KEY
Accept: */*
{
"code": "OK",
"errorMessage": "text",
"userMessageCode": "DEFAULT"
}Last updated
Was this helpful?

