Skip to content

Commit f145053

Browse files
committed
Updating OpenAPI specification (removed duplicate operations).
1 parent 32a9f91 commit f145053

1 file changed

Lines changed: 0 additions & 298 deletions

File tree

docs/swagger.yaml

Lines changed: 0 additions & 298 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,194 +1285,6 @@ paths:
12851285
responses:
12861286
'200':
12871287
description: 'Placeholder response'
1288-
'/v1/exercises/{id}/supplementary-files':
1289-
get:
1290-
summary: 'Get list of all exercise files for an exercise'
1291-
description: 'Get list of all exercise files for an exercise'
1292-
operationId: exerciseFilesPresenterActionGetExerciseFiles
1293-
parameters:
1294-
-
1295-
name: id
1296-
in: path
1297-
description: 'identification of exercise'
1298-
required: true
1299-
schema:
1300-
type: string
1301-
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
1302-
nullable: false
1303-
responses:
1304-
'200':
1305-
description: 'Placeholder response'
1306-
post:
1307-
summary: 'Associate exercise files with an exercise and upload them to remote file server'
1308-
description: 'Associate exercise files with an exercise and upload them to remote file server'
1309-
operationId: exerciseFilesPresenterActionUploadExerciseFiles
1310-
parameters:
1311-
-
1312-
name: id
1313-
in: path
1314-
description: 'identification of exercise'
1315-
required: true
1316-
schema:
1317-
type: string
1318-
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
1319-
nullable: false
1320-
requestBody:
1321-
content:
1322-
application/json:
1323-
schema:
1324-
required:
1325-
- files
1326-
properties:
1327-
files:
1328-
description: 'Identifiers of exercise files'
1329-
type: string
1330-
nullable: true
1331-
type: object
1332-
responses:
1333-
'200':
1334-
description: 'Placeholder response'
1335-
'/v1/exercises/{id}/supplementary-files/{fileId}':
1336-
delete:
1337-
summary: 'Delete exercise file with given id'
1338-
description: 'Delete exercise file with given id'
1339-
operationId: exerciseFilesPresenterActionDeleteExerciseFile
1340-
parameters:
1341-
-
1342-
name: id
1343-
in: path
1344-
description: 'identification of exercise'
1345-
required: true
1346-
schema:
1347-
type: string
1348-
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
1349-
nullable: false
1350-
-
1351-
name: fileId
1352-
in: path
1353-
description: 'identification of file'
1354-
required: true
1355-
schema:
1356-
type: string
1357-
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
1358-
nullable: false
1359-
responses:
1360-
'200':
1361-
description: 'Placeholder response'
1362-
'/v1/exercises/{id}/supplementary-files/download-archive':
1363-
get:
1364-
summary: 'Download archive containing all files for exercise.'
1365-
description: 'Download archive containing all files for exercise.'
1366-
operationId: exerciseFilesPresenterActionDownloadExerciseFilesArchive
1367-
parameters:
1368-
-
1369-
name: id
1370-
in: path
1371-
description: 'of exercise'
1372-
required: true
1373-
schema:
1374-
type: string
1375-
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
1376-
nullable: false
1377-
responses:
1378-
'200':
1379-
description: 'Placeholder response'
1380-
'/v1/exercises/{id}/attachment-files':
1381-
get:
1382-
summary: 'Get a list of all attachment files for an exercise [DEPRECATED]'
1383-
description: "Get a list of all attachment files for an exercise\n[DEPRECATED]: attachment files were unified with exercise files"
1384-
operationId: exerciseFilesPresenterActionGetAttachmentFiles
1385-
parameters:
1386-
-
1387-
name: id
1388-
in: path
1389-
description: 'identification of exercise'
1390-
required: true
1391-
schema:
1392-
type: string
1393-
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
1394-
nullable: false
1395-
responses:
1396-
'200':
1397-
description: 'Placeholder response'
1398-
deprecated: true
1399-
post:
1400-
summary: 'Associate attachment exercise files with an exercise [DEPRECATED]'
1401-
description: "Associate attachment exercise files with an exercise\n[DEPRECATED]: attachment files were unified with exercise files"
1402-
operationId: exerciseFilesPresenterActionUploadAttachmentFiles
1403-
parameters:
1404-
-
1405-
name: id
1406-
in: path
1407-
description: 'identification of exercise'
1408-
required: true
1409-
schema:
1410-
type: string
1411-
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
1412-
nullable: false
1413-
requestBody:
1414-
content:
1415-
application/json:
1416-
schema:
1417-
required:
1418-
- files
1419-
properties:
1420-
files:
1421-
description: 'Identifiers of attachment files'
1422-
type: string
1423-
nullable: true
1424-
type: object
1425-
responses:
1426-
'200':
1427-
description: 'Placeholder response'
1428-
deprecated: true
1429-
'/v1/exercises/{id}/attachment-files/{fileId}':
1430-
delete:
1431-
summary: 'Delete attachment exercise file with given id [DEPRECATED]'
1432-
description: "Delete attachment exercise file with given id\n[DEPRECATED]: attachment files were unified with exercise files"
1433-
operationId: exerciseFilesPresenterActionDeleteAttachmentFile
1434-
parameters:
1435-
-
1436-
name: id
1437-
in: path
1438-
description: 'identification of exercise'
1439-
required: true
1440-
schema:
1441-
type: string
1442-
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
1443-
nullable: false
1444-
-
1445-
name: fileId
1446-
in: path
1447-
description: 'identification of file'
1448-
required: true
1449-
schema:
1450-
type: string
1451-
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
1452-
nullable: false
1453-
responses:
1454-
'200':
1455-
description: 'Placeholder response'
1456-
deprecated: true
1457-
'/v1/exercises/{id}/attachment-files/download-archive':
1458-
get:
1459-
summary: 'Download archive containing all attachment files for exercise. [DEPRECATED]'
1460-
description: "Download archive containing all attachment files for exercise.\n[DEPRECATED]: attachment files were unified with exercise files"
1461-
operationId: exerciseFilesPresenterActionDownloadAttachmentFilesArchive
1462-
parameters:
1463-
-
1464-
name: id
1465-
in: path
1466-
description: 'of exercise'
1467-
required: true
1468-
schema:
1469-
type: string
1470-
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
1471-
nullable: false
1472-
responses:
1473-
'200':
1474-
description: 'Placeholder response'
1475-
deprecated: true
14761288
'/v1/exercises/{id}/tests':
14771289
get:
14781290
summary: 'Get tests for exercise based on given identification.'
@@ -5104,25 +4916,6 @@ paths:
51044916
responses:
51054917
'200':
51064918
description: 'Placeholder response'
5107-
'/v1/uploaded-files/supplementary-file/{id}/download':
5108-
get:
5109-
summary: 'Download exercise file [DEPRECATED]'
5110-
description: "Download exercise file\n[DEPRECATED]: use generic uploaded-file download endpoint instead"
5111-
operationId: uploadedFilesPresenterActionDownloadExerciseFile
5112-
parameters:
5113-
-
5114-
name: id
5115-
in: path
5116-
description: 'Identifier of the file'
5117-
required: true
5118-
schema:
5119-
type: string
5120-
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
5121-
nullable: false
5122-
responses:
5123-
'200':
5124-
description: 'Placeholder response'
5125-
deprecated: true
51264919
/v1/users:
51274920
get:
51284921
summary: 'Get a list of all users matching given filters in given pagination rage. The result conforms to pagination protocol.'
@@ -6428,80 +6221,6 @@ paths:
64286221
responses:
64296222
'200':
64306223
description: 'Placeholder response'
6431-
'/v1/pipelines/{id}/supplementary-files':
6432-
get:
6433-
summary: 'Get list of all exercise files for a pipeline'
6434-
description: 'Get list of all exercise files for a pipeline'
6435-
operationId: pipelinesPresenterActionGetExerciseFiles
6436-
parameters:
6437-
-
6438-
name: id
6439-
in: path
6440-
description: 'identification of pipeline'
6441-
required: true
6442-
schema:
6443-
type: string
6444-
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
6445-
nullable: false
6446-
responses:
6447-
'200':
6448-
description: 'Placeholder response'
6449-
post:
6450-
summary: 'Associate exercise files with a pipeline and upload them to remote file server'
6451-
description: 'Associate exercise files with a pipeline and upload them to remote file server'
6452-
operationId: pipelinesPresenterActionUploadExerciseFiles
6453-
parameters:
6454-
-
6455-
name: id
6456-
in: path
6457-
description: 'identification of pipeline'
6458-
required: true
6459-
schema:
6460-
type: string
6461-
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
6462-
nullable: false
6463-
requestBody:
6464-
content:
6465-
application/json:
6466-
schema:
6467-
required:
6468-
- files
6469-
properties:
6470-
files:
6471-
description: 'Identifiers of exercise files'
6472-
type: string
6473-
nullable: true
6474-
type: object
6475-
responses:
6476-
'200':
6477-
description: 'Placeholder response'
6478-
'/v1/pipelines/{id}/supplementary-files/{fileId}':
6479-
delete:
6480-
summary: 'Delete exercise file with given id'
6481-
description: 'Delete exercise file with given id'
6482-
operationId: pipelinesPresenterActionDeleteExerciseFile
6483-
parameters:
6484-
-
6485-
name: id
6486-
in: path
6487-
description: 'identification of pipeline'
6488-
required: true
6489-
schema:
6490-
type: string
6491-
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
6492-
nullable: false
6493-
-
6494-
name: fileId
6495-
in: path
6496-
description: 'identification of file'
6497-
required: true
6498-
schema:
6499-
type: string
6500-
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
6501-
nullable: false
6502-
responses:
6503-
'200':
6504-
description: 'Placeholder response'
65056224
/v1/extensions/sis/status/:
65066225
get:
65076226
summary: 'Check SIS status for the current user. [DEPRECATED]'
@@ -7358,23 +7077,6 @@ paths:
73587077
responses:
73597078
'200':
73607079
description: 'Placeholder response'
7361-
'/v1/worker-files/supplementary-file/{hash}':
7362-
get:
7363-
summary: 'Sends over an exercise file (a data file required by the tests).'
7364-
description: 'Sends over an exercise file (a data file required by the tests).'
7365-
operationId: workerFilesPresenterActionDownloadExerciseFile
7366-
parameters:
7367-
-
7368-
name: hash
7369-
in: path
7370-
description: 'identification of the exercise file'
7371-
required: true
7372-
schema:
7373-
type: string
7374-
nullable: false
7375-
responses:
7376-
'200':
7377-
description: 'Placeholder response'
73787080
'/v1/async-jobs/{id}':
73797081
get:
73807082
summary: 'Retrieves details about particular async job.'

0 commit comments

Comments
 (0)