English (English)

Manifest file

The key file required for the data upload is the manifest file. This file contains information on what and where to upload. The file is in JSON format. It could be created in any simple text editor or using variety of online JSON editors.

Important.

  1. The manifest file must be named manifest.json since Timeline accepts only manifest files with this name.
  2. All files to be uploaded must be listed in a single manifest.json file and zipped along with it.
  3. Place manifest.json only in the root of the ZIP file, and data files can be placed in subfolders.
  4. The manifest file must contain either repositoryToken or projectToken but not both.

For instructions on setting up the manifest, select one of the options below, depending on where you plan to upload the data.

Manifest with the repositoryToken to upload data to a repository

Manifest with the projectToken to upload data to a project

Examples of manifest

The following manifest file takes file events.csv from the ZIP, parses it into the existing repository table mytable, then copies the table into yourtable (an existing data in the table is kept), and then applies To-do list mylist to it. Report will be sent to the repository owner, yourname@company.com, and yourcolleague@company.com.

{
  "repositoryToken": "k2QZiJkZuH … 8v6f8BpQEdekqjgqNxBw-E0AZUz2kdVA",
  "email": [ "yourname@company.com", "yourcolleague@company.com" ],
  "commands": [
    {
      "action": "upload",
      "file": "myfile.csv",
      "table": "mytable",
      "keepOldData": "true"

    },
    {
      "action": "clone",
      "src": "mytable",
      "dst": "yourtable"
    },
    {
      "action": "todo-list",
      "table": "yourtable",
      "list": "mylist"
    }
  ]
}
    

The next example parses the file events.csv and uploads it to a project identified by the token. Old data from the project is deleted.

{
  "projectToken": "y477Xdp7twCKqOuwfdxQ … bRteuBcNVNYS31YYbc5Q",
  "email": "yourname@company.com",
  "commands": [
    {
      "action": "upload",
      "file": "events.csv",
      "clearProject": true
    }
  ]
}
  

22.09.2023 8:59:47

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.