v1

latestOpenAPI 3.0.12026-07-24116117186.3 KB
Messages

Update file for preprocessor

The methods updates the data of a preprocessor file uploaded using the Upload file for preprocessor method.<br/>To update the file, use the <b>fileId</b> value returned by the <a href="https://docs.esputnik.com/reference/uploadpreprocessorfile-1">Upload file for preprocessor</a> method in its response.

post/api/v1/preprocessor/file/{id}

Path parameters

idstring required

File ID

Request body

linkstring required

The link to the PreProcessor data file in an external repository.

ttlHoursinteger

File time to live in the system in hours. The default value is month.

Example request

{
  "link": "http://example.com/file.json",
  "ttlHours": 240
}