cURL
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 }
Your application's uid
1
Your context's uid
Unique externalId of the file
Successful update
The response is of type object.
object