File Management

ListSiteFiles retrieves all site files associated with a given site ID. Optional filters can be applied to narrow down the results.

get

Update an existing site file.

Authorizations
authorizationstringRequired

JWT Authorization header using the Bearer scheme. Example: 'Bearer {token}'

Query parameters
siteIdinteger · uint64Optional

Required.

idsinteger · uint64[]Optional

If provided, filtered on ids.

includeDatabooleanOptional

deprecated // If provided, includes data in response

pagination.offsetinteger · int64Optional
pagination.limitinteger · int64Optional
pagination.totalCountinteger · int64Optional
pagination.ordering.fieldNamestringOptional
pagination.ordering.descendingbooleanOptional
Responses
chevron-right
200

A successful response.

application/json
get
/gateway/v1/site-file

Add a new site file to the given site.

post

Update an existing site file.

Authorizations
authorizationstringRequired

JWT Authorization header using the Bearer scheme. Example: 'Bearer {token}'

Body
Responses
chevron-right
200

A successful response.

application/json
post
/gateway/v1/site-file

Update site file, including sources, sinks or transforms. Equaivalent of patch. Only given fields are updated.

patch

Update an existing site file.

Authorizations
authorizationstringRequired

JWT Authorization header using the Bearer scheme. Example: 'Bearer {token}'

Body
Responses
chevron-right
200

A successful response.

application/json
patch
/gateway/v1/site-file

Delete a site file

delete

Deletes a specific file associated with a site

Authorizations
authorizationstringRequired

JWT Authorization header using the Bearer scheme. Example: 'Bearer {token}'

Path parameters
siteIdinteger · uint64Required

ID of the site that owns the file

siteFileIdinteger · uint64Required

ID of the file to delete

Responses
chevron-right
200

File deleted successfully

application/json
delete
/gateway/v1/site-file/{siteId}/{siteFileId}

Last updated

Was this helpful?