{"openapi":"3.0.1","info":{"title":"ABBYY Timeline API","description":"Timeline API allows 3rd party software to load data into Timeline, and to retrieve computed results.","version":"1.0.0"},"servers":[{"url":"https://{instance}:{port}/api/ext/{version}","variables":{"instance":{"default":"localhost"},"port":{"enum":["80","443","1356"],"default":"1356"},"version":{"default":"v1.0"}}}],"components":{"securitySchemes":{"timeline_api_auth":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"oauth/authorize","tokenUrl":"oauth/token","refreshUrl":"oauth/refresh","scopes":{"read:projects":"read your projects","write:projects":"modify your projects","read:repositories":"read your repositories","write:repositories":"write your repositories"}}}}},"parameters":{"processingId":{"name":"processingId","in":"path","description":"The processingId as recevied from the upload request.","required":true,"schema":{"type":"string"}},"fileId":{"name":"fileId","in":"path","description":"Reference to the uploaded file.","required":true,"schema":{"type":"string"}}},"headers":{"X-Rate-Limit-Limit":{"description":"The number of allowed requests in the current period","schema":{"type":"integer"}},"X-Rate-Limit-Remaining":{"description":"The number of remaining requests in the current period","schema":{"type":"integer"}},"X-Rate-Limit-Reset":{"description":"The number of seconds left in the current period","schema":{"type":"integer"}}},"responses":{"rateLimit":{"description":"Too frequent requests, please slow down!","content":{"application/json":{"schema":{"type":"object","properties":{"reset":{"type":"integer","format":"int64"},"retry":{"type":"string"}}},"example":{"reset":1591948451000,"retry":"2 minutes 30 seconds"}}}}}},"paths":{"/project":{"$ref":"project_api.yaml#/manageProject"},"/project/{projectId}/file":{"$ref":"project_api.yaml#/uploadToProject"},"/project/{projectId}/upload-url":{"$ref":"project_api.yaml#/generateS3UploadUrlForProject"},"/project/{projectId}/file/{fileId}/load":{"$ref":"project_api.yaml#/mergeFileIntoProject"},"/project/{projectId}/timeline-statistics":{"$ref":"project_api.yaml#/collectTimelineStats"},"/project/{projectId}/chart-data":{"$ref":"project_api.yaml#/collectChartData"},"/processing/{processingId}":{"parameters":[{"$ref":"#/components/parameters/processingId"}],"get":{"description":"Returns the actual status of the processing identified by the given processingId. If the status is FINISHED, it may return a URL from where the results can be downloaded.","summary":"The status of processing.","operationId":"getProcessingStatusInProject","responses":{"200":{"description":"The status of the given processing.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","enum":["IN_PROGRESS","FINISHED"]},"resultUrl":{"type":"string"}}},"example":{"id":"a75cef6b-46a0-4de5-8772-fc7ff2f47655","status":"FINISHED","resultUrl":"https://presignedurldemo.s3.eu-west-2.amazonaws.com/image.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJJWZ7B6WCRGMKFGQ%2F20180210%2Feu-west-2%2Fs3%2Faws4_request&X-Amz-Date=20180210T171315Z&X-Amz-Expires=1800&X-Amz-Signature=12b74b0788aa036bc7c3d03b3f20c61f1f91cc9ad8873e3314255dc479a25351&X-Amz-SignedHeaders=host"}}},"headers":{"X-Rate-Limit-Limit":{"$ref":"#/components/headers/X-Rate-Limit-Limit"},"X-Rate-Limit-Remaining":{"$ref":"#/components/headers/X-Rate-Limit-Remaining"},"X-Rate-Limit-Reset":{"$ref":"#/components/headers/X-Rate-Limit-Reset"}}},"423":{"$ref":"#/components/responses/rateLimit"}},"security":[{"timeline_api_auth":["write:projects"]},{"timeline_api_auth":["write:repositories"]}]}},"/repository":{"$ref":"repository_api.yaml#/manageRepository"},"/repository/{repositoryId}/table":{"$ref":"repository_api.yaml#/manageRepositoryTable"},"/repository/{repositoryId}/table/{tableId}/file":{"$ref":"repository_api.yaml#/uploadToRepositoryTable"},"/repository/{repositoryId}/table/{tableId}/upload-url":{"$ref":"repository_api.yaml#/generateS3UploadUrlForRepositoryTable"},"/repository/{repositoryId}/table/{tableId}/file/{fileId}/load":{"$ref":"repository_api.yaml#/loadFileIntoRepositoryTable"},"/repository/{repositoryId}/toDoList":{"$ref":"repository_api.yaml#/getToDoLists"},"/repository/{repositoryId}/table/{tableId}/todo-list/{toDoListId}/execute":{"$ref":"repository_api.yaml#/executeToDoList"}}}