PATCH
/
api
/
v1
/
appuid
/
{appUid}
/
contexts
/
{contextUid}
/
files
/
externalId
/
{externalId}
curl --request PATCH \
  --url https://a.api.mindset.ai/api/v1/appuid/{appUid}/contexts/{contextUid}/files/externalId/{externalId} \
  --header 'Content-Type: */*' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "hideContentSegments": true,
  "knownAs": "<string>",
  "externalUrl": "<string>",
  "viewOriginalSource": true,
  "labels": [
    "<string>"
  ],
  "thumbnailUrl": "<string>",
  "thumbnail": "<string>"
}'
{
  "uid": "<string>",
  "externalId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "status": "<string>",
  "runId": "<string>",
  "mimeType": "<string>",
  "autoPublish": true,
  "hideContentSegments": true,
  "labels": [
    "<string>"
  ],
  "contentHash": "<string>",
  "knownAs": "<string>",
  "externalUrl": "<string>",
  "viewOriginalSource": true,
  "thumbnailUpdatedByAdmin": true
}

Authorizations

x-api-key
string
header
required

Path Parameters

appUid
string
required

Your application's uid

Minimum length: 1
contextUid
string
required

Your context's uid

Minimum length: 1
externalId
string
required

Unique externalId of the file

Body

*/*

Response

200
application/json
Successful update

The response is of type object.