Skip to content

Commit 514b5dd

Browse files
committed
Updating to reflect the latest changes in the TCA API
1 parent ce433f0 commit 514b5dd

File tree

2 files changed

+573
-350
lines changed

2 files changed

+573
-350
lines changed

tca-openapi.yaml

+50-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ info:
2929
* If you registered a webhook, a callback will be sent to it when report is complete
3030
* The status of the *report* will also be updated to `COMPLETE`
3131
* Request a URL with parameters to view the Similarity Report
32-
version: 1.0.249
32+
version: 1.0.258
3333
externalDocs:
3434
description: Developer Portal Documentation page
3535
url: https://developers.turnitin.com/docs
@@ -759,6 +759,12 @@ paths:
759759
required: true
760760
schema:
761761
type: string
762+
requestBody:
763+
content:
764+
application/json:
765+
schema:
766+
$ref: '#/components/schemas/GenerateSimilarityPDF'
767+
required: true
762768
responses:
763769
200:
764770
description: |
@@ -984,6 +990,12 @@ paths:
984990
required: true
985991
schema:
986992
type: string
993+
- name: asynchronous
994+
in: query
995+
description: asynchronous request
996+
required: false
997+
schema:
998+
type: boolean
987999
responses:
9881000
200:
9891001
description: Successfully indexed submission
@@ -2125,6 +2137,43 @@ components:
21252137
$ref: '#/components/schemas/Sidebar'
21262138
similarity:
21272139
$ref: '#/components/schemas/SimilaritySettings'
2140+
annotations:
2141+
$ref: '#/components/schemas/AnnotationsSettings'
2142+
GenerateSimilarityPDF:
2143+
type: object
2144+
properties:
2145+
locale:
2146+
type: string
2147+
description: two character locale language setting (e.g. 'en' or 'de') or full value
2148+
enum:
2149+
- ar-SA
2150+
- cs-CZ
2151+
- de-DE
2152+
- el-GR
2153+
- en-US
2154+
- es-MX
2155+
- fi-FI
2156+
- fr-FR
2157+
- it-IT
2158+
- ja-JP
2159+
- ko-KR
2160+
- nl-NL
2161+
- pl-PL
2162+
- pt-BR
2163+
- ro-RO
2164+
- ru-RU
2165+
- sv-SE
2166+
- tr-TR
2167+
- vi-VN
2168+
- zh-CN
2169+
- zh-TW
2170+
AnnotationsSettings:
2171+
type: object
2172+
properties:
2173+
enabled:
2174+
type: boolean
2175+
description: Used to enable annotations
2176+
21282177
SimilaritySettings:
21292178
type: object
21302179
properties:

0 commit comments

Comments
 (0)