File tree Expand file tree Collapse file tree 5 files changed +66
-1
lines changed Expand file tree Collapse file tree 5 files changed +66
-1
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 37
37
/api/rest/v1/media-files/{code}/download :
38
38
$ref : ./resources/media_files/routes/media_files_code_download.yaml
39
39
40
+ /api/rest/v1/job/export/{code} :
41
+ $ref : ./resources/job/routes/export.yaml
42
+ /api/rest/v1/job/import/{code} :
43
+ $ref : ./resources/job/routes/import.yaml
44
+
40
45
/api/rest/v1/families :
41
46
$ref : ./resources/families/routes/families.yaml
42
47
/api/rest/v1/families/{code} :
Original file line number Diff line number Diff line change
1
+ post :
2
+ summary : Launch export job by code
3
+ operationId : " post_job_export"
4
+ tags :
5
+ - Job
6
+ x-versions :
7
+ - " SaaS"
8
+ description : This endpoint allows you to launch an export job by code.
9
+ parameters :
10
+ - name : code
11
+ in : path
12
+ type : string
13
+ description : Job code
14
+ required : true
15
+ responses :
16
+ 200 :
17
+ description : OK
18
+ x-details : Returns the execution ID for the launched job
19
+ x-examples-per-version :
20
+ - x-version : ' SaaS'
21
+ x-example : {"execution_id": "12345"}
22
+ 404 :
23
+ $ref : " #/responses/404Error"
24
+ 422 :
25
+ $ref : " #/responses/422Error"
Original file line number Diff line number Diff line change
1
+ post :
2
+ summary : Launch import job by code
3
+ operationId : " post_job_import"
4
+ tags :
5
+ - Job
6
+ x-versions :
7
+ - " SaaS"
8
+ description : This endpoint allows you to launch an import job by code.
9
+ parameters :
10
+ - name : code
11
+ in : path
12
+ type : string
13
+ description : Job code
14
+ required : true
15
+ - name : body
16
+ in : body
17
+ schema :
18
+ properties :
19
+ import_mode :
20
+ type : string
21
+ description : Optional. Change the import mode for this job by overriding the profile value.
22
+ format : binary
23
+ responses :
24
+ 200 :
25
+ description : OK
26
+ x-details : Returns the execution ID for the launched job
27
+ x-examples-per-version :
28
+ - x-version : ' SaaS'
29
+ x-example : {"execution_id": "12345"}
30
+ 404 :
31
+ $ref : " #/responses/404Error"
32
+ 422 :
33
+ $ref : " #/responses/422Error"
Original file line number Diff line number Diff line change @@ -82,6 +82,8 @@ function determineCategory(tag){
82
82
return 'Catalogs for Apps' ;
83
83
case 'UI Extensions' :
84
84
return 'Extensions' ;
85
+ case 'Job' :
86
+ return 'Job' ;
85
87
default :
86
88
return 'Utilities' ;
87
89
}
You can’t perform that action at this time.
0 commit comments