Skip to main content
PUT
/
api
/
data
/
v1
/
data-files
/
{dataFileId}
Upload a File Revision
curl --request PUT \
  --url https://example.com/v1/api/data/v1/data-files/{dataFileId} \
  --header 'Content-Type: application/octet-stream' \
  --header 'X-DOMO-Developer-Token: <api-key>' \
  --data '"<string>"'
{
  "revisionId": 123
}

Authorizations

X-DOMO-Developer-Token
string
header
required

Domo Developer Token for authentication (Assumed based on similar APIs).

Path Parameters

dataFileId
integer
required

The id of the file to revise.

Body

application/octet-stream

The raw file content for the revision.

The body is of type file.

Response

Returns the revision id of the uploaded file revision.

revisionId
integer