@itentialopensource/adapter-jira 1.7.5 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CALLS.md +10551 -2178
- package/CHANGELOG.md +16 -0
- package/adapter.js +5583 -1
- package/entities/AnnouncementBanner/action.json +45 -0
- package/entities/AnnouncementBanner/mockdatafiles/getBanner-default.json +7 -0
- package/entities/AnnouncementBanner/schema.json +20 -0
- package/entities/AppMigration/action.json +64 -0
- package/entities/AppMigration/mockdatafiles/migrationResourceWorkflowRuleSearchPost-default.json +53 -0
- package/entities/AppMigration/schema.json +21 -0
- package/entities/AppProperties/action.json +126 -0
- package/entities/AppProperties/mockdatafiles/addonPropertiesResourceGetAddonPropertiesGet-default.json +8 -0
- package/entities/AppProperties/mockdatafiles/addonPropertiesResourceGetAddonPropertyGet-default.json +5 -0
- package/entities/AppProperties/mockdatafiles/addonPropertiesResourcePutAddonPropertyPut-default.json +4 -0
- package/entities/AppProperties/mockdatafiles/addonPropertiesResourcePutAppPropertyPut-default.json +4 -0
- package/entities/AppProperties/schema.json +24 -0
- package/entities/Dashboards/action.json +102 -0
- package/entities/Dashboards/mockdatafiles/addGadget-default.json +10 -0
- package/entities/Dashboards/mockdatafiles/getAllAvailableDashboardGadgets-default.json +12 -0
- package/entities/Dashboards/mockdatafiles/getAllGadgets-default.json +34 -0
- package/entities/Dashboards/schema.json +6 -1
- package/entities/DynamicModules/action.json +65 -0
- package/entities/DynamicModules/schema.json +21 -0
- package/entities/Filters/action.json +20 -0
- package/entities/Filters/schema.json +2 -1
- package/entities/Issueattachments/action.json +1 -1
- package/entities/Issuefields/action.json +21 -0
- package/entities/Issuefields/mockdatafiles/getTrashedFieldsPaginated-default.json +35 -0
- package/entities/Issuefields/schema.json +2 -1
- package/entities/Issuenotificationschemes/action.json +121 -0
- package/entities/Issuenotificationschemes/mockdatafiles/createNotificationScheme-default.json +3 -0
- package/entities/Issuenotificationschemes/mockdatafiles/getNotificationSchemeToProjectMappings-default.json +12 -0
- package/entities/Issuenotificationschemes/schema.json +7 -1
- package/entities/Issuepriorities/action.json +121 -0
- package/entities/Issuepriorities/mockdatafiles/createPriority-default.json +3 -0
- package/entities/Issuepriorities/mockdatafiles/searchPriorities-default.json +26 -0
- package/entities/Issuepriorities/schema.json +7 -1
- package/entities/Issueresolutions/action.json +121 -0
- package/entities/Issueresolutions/mockdatafiles/createResolution-default.json +3 -0
- package/entities/Issueresolutions/mockdatafiles/searchResolutions-default.json +14 -0
- package/entities/Issueresolutions/schema.json +7 -1
- package/entities/Issuesecurityschemes/action.json +264 -0
- package/entities/Issuesecurityschemes/mockdatafiles/createIssueSecurityScheme-default.json +3 -0
- package/entities/Issuesecurityschemes/mockdatafiles/getSecurityLevelMembers-default.json +17 -0
- package/entities/Issuesecurityschemes/mockdatafiles/getSecurityLevels-default.json +16 -0
- package/entities/Issuesecurityschemes/mockdatafiles/searchProjectsUsingSecuritySchemes-default.json +4 -0
- package/entities/Issuesecurityschemes/mockdatafiles/searchSecuritySchemes-default.json +10 -0
- package/entities/Issuesecurityschemes/schema.json +14 -1
- package/entities/JQL/action.json +20 -0
- package/entities/JQL/mockdatafiles/sanitiseJqlQueries-default.json +28 -0
- package/entities/JQL/schema.json +2 -1
- package/entities/JQLFunctionsApps/action.json +45 -0
- package/entities/JQLFunctionsApps/mockdatafiles/getPrecomputations-default.json +22 -0
- package/entities/JQLFunctionsApps/schema.json +20 -0
- package/entities/LicenseMetrics/action.json +46 -0
- package/entities/LicenseMetrics/schema.json +20 -0
- package/entities/Status/action.json +106 -0
- package/entities/Status/mockdatafiles/createStatuses-default.json +15 -0
- package/entities/Status/mockdatafiles/getStatusesById-default.json +24 -0
- package/entities/Status/mockdatafiles/search-default.json +32 -0
- package/entities/Status/schema.json +23 -0
- package/entities/UIModificationsApps/action.json +85 -0
- package/entities/UIModificationsApps/mockdatafiles/createUiModification-default.json +4 -0
- package/entities/UIModificationsApps/mockdatafiles/getUiModifications-default.json +53 -0
- package/entities/UIModificationsApps/schema.json +22 -0
- package/package.json +2 -2
- package/pronghorn.json +4860 -642
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +7 -7
- package/report/jira_v3.json +65406 -0
- package/test/integration/adapterTestIntegration.js +1903 -0
- package/test/unit/adapterTestUnit.js +2084 -0
|
@@ -272,6 +272,26 @@
|
|
|
272
272
|
"mockFile": "mockdatafiles/deleteRestapi2filteridfavourite-default.json"
|
|
273
273
|
}
|
|
274
274
|
]
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"name": "changeFilterOwner",
|
|
278
|
+
"protocol": "REST",
|
|
279
|
+
"method": "PUT",
|
|
280
|
+
"entitypath": "{base_path}/{version}/filter/{pathv1}/owner?{query}",
|
|
281
|
+
"requestSchema": "schema.json",
|
|
282
|
+
"responseSchema": "schema.json",
|
|
283
|
+
"timeout": 0,
|
|
284
|
+
"sendEmpty": false,
|
|
285
|
+
"requestDatatype": "JSON",
|
|
286
|
+
"responseDatatype": "JSON",
|
|
287
|
+
"headers": {},
|
|
288
|
+
"responseObjects": [
|
|
289
|
+
{
|
|
290
|
+
"type": "default",
|
|
291
|
+
"key": "",
|
|
292
|
+
"mockFile": ""
|
|
293
|
+
}
|
|
294
|
+
]
|
|
275
295
|
}
|
|
276
296
|
]
|
|
277
297
|
}
|
|
@@ -184,6 +184,27 @@
|
|
|
184
184
|
"mockFile": ""
|
|
185
185
|
}
|
|
186
186
|
]
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "getTrashedFieldsPaginated",
|
|
190
|
+
"protocol": "REST",
|
|
191
|
+
"method": "GET",
|
|
192
|
+
"entitypath": "{base_path}/{version}/field/search/trashed?{query}",
|
|
193
|
+
"requestSchema": "schema.json",
|
|
194
|
+
"responseSchema": "schema.json",
|
|
195
|
+
"timeout": 0,
|
|
196
|
+
"sendEmpty": false,
|
|
197
|
+
"sendGetBody": false,
|
|
198
|
+
"requestDatatype": "JSON",
|
|
199
|
+
"responseDatatype": "JSON",
|
|
200
|
+
"headers": {},
|
|
201
|
+
"responseObjects": [
|
|
202
|
+
{
|
|
203
|
+
"type": "default",
|
|
204
|
+
"key": "",
|
|
205
|
+
"mockFile": "mockdatafiles/getTrashedFieldsPaginated-default.json"
|
|
206
|
+
}
|
|
207
|
+
]
|
|
187
208
|
}
|
|
188
209
|
]
|
|
189
210
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"maxResults": 50,
|
|
3
|
+
"startAt": 0,
|
|
4
|
+
"total": 1,
|
|
5
|
+
"isLast": false,
|
|
6
|
+
"values": [
|
|
7
|
+
{
|
|
8
|
+
"id": "customfield_10000",
|
|
9
|
+
"name": "Approvers",
|
|
10
|
+
"schema": {
|
|
11
|
+
"type": "array",
|
|
12
|
+
"custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker",
|
|
13
|
+
"customId": 10003
|
|
14
|
+
},
|
|
15
|
+
"description": "Contains users needed for approval. This custom field was created by Jira Service Desk.",
|
|
16
|
+
"key": "customfield_10003",
|
|
17
|
+
"trashedDate": "2019-09-12T10:10:00.060+0000",
|
|
18
|
+
"trashedBy": {
|
|
19
|
+
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
20
|
+
"accountId": "5b10a2844c20165700ede21g",
|
|
21
|
+
"emailAddress": "mia@example.com",
|
|
22
|
+
"avatarUrls": {
|
|
23
|
+
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48",
|
|
24
|
+
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
25
|
+
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
26
|
+
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32"
|
|
27
|
+
},
|
|
28
|
+
"displayName": "Mia Krystof",
|
|
29
|
+
"active": true,
|
|
30
|
+
"timeZone": "Australia/Sydney"
|
|
31
|
+
},
|
|
32
|
+
"plannedDeletionDate": "2019-09-30T10:10:00.060+0000"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
@@ -41,6 +41,127 @@
|
|
|
41
41
|
"mockFile": "mockdatafiles/getRestapi2notificationschemeid-default.json"
|
|
42
42
|
}
|
|
43
43
|
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "createNotificationScheme",
|
|
47
|
+
"protocol": "REST",
|
|
48
|
+
"method": "POST",
|
|
49
|
+
"entitypath": "{base_path}/{version}/notificationscheme?{query}",
|
|
50
|
+
"requestSchema": "schema.json",
|
|
51
|
+
"responseSchema": "schema.json",
|
|
52
|
+
"timeout": 0,
|
|
53
|
+
"sendEmpty": false,
|
|
54
|
+
"requestDatatype": "JSON",
|
|
55
|
+
"responseDatatype": "JSON",
|
|
56
|
+
"headers": {},
|
|
57
|
+
"responseObjects": [
|
|
58
|
+
{
|
|
59
|
+
"type": "default",
|
|
60
|
+
"key": "",
|
|
61
|
+
"mockFile": "mockdatafiles/createNotificationScheme-default.json"
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "getNotificationSchemeToProjectMappings",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "GET",
|
|
69
|
+
"entitypath": "{base_path}/{version}/notificationscheme/project?{query}",
|
|
70
|
+
"requestSchema": "schema.json",
|
|
71
|
+
"responseSchema": "schema.json",
|
|
72
|
+
"timeout": 0,
|
|
73
|
+
"sendEmpty": false,
|
|
74
|
+
"sendGetBody": false,
|
|
75
|
+
"requestDatatype": "JSON",
|
|
76
|
+
"responseDatatype": "JSON",
|
|
77
|
+
"headers": {},
|
|
78
|
+
"responseObjects": [
|
|
79
|
+
{
|
|
80
|
+
"type": "default",
|
|
81
|
+
"key": "",
|
|
82
|
+
"mockFile": "mockdatafiles/getNotificationSchemeToProjectMappings-default.json"
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "updateNotificationScheme",
|
|
88
|
+
"protocol": "REST",
|
|
89
|
+
"method": "PUT",
|
|
90
|
+
"entitypath": "{base_path}/{version}/notificationscheme/{pathv1}?{query}",
|
|
91
|
+
"requestSchema": "schema.json",
|
|
92
|
+
"responseSchema": "schema.json",
|
|
93
|
+
"timeout": 0,
|
|
94
|
+
"sendEmpty": false,
|
|
95
|
+
"requestDatatype": "JSON",
|
|
96
|
+
"responseDatatype": "JSON",
|
|
97
|
+
"headers": {},
|
|
98
|
+
"responseObjects": [
|
|
99
|
+
{
|
|
100
|
+
"type": "default",
|
|
101
|
+
"key": "",
|
|
102
|
+
"mockFile": ""
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "addNotifications",
|
|
108
|
+
"protocol": "REST",
|
|
109
|
+
"method": "PUT",
|
|
110
|
+
"entitypath": "{base_path}/{version}/notificationscheme/{pathv1}/notification?{query}",
|
|
111
|
+
"requestSchema": "schema.json",
|
|
112
|
+
"responseSchema": "schema.json",
|
|
113
|
+
"timeout": 0,
|
|
114
|
+
"sendEmpty": false,
|
|
115
|
+
"requestDatatype": "JSON",
|
|
116
|
+
"responseDatatype": "JSON",
|
|
117
|
+
"headers": {},
|
|
118
|
+
"responseObjects": [
|
|
119
|
+
{
|
|
120
|
+
"type": "default",
|
|
121
|
+
"key": "",
|
|
122
|
+
"mockFile": ""
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "deleteNotificationScheme",
|
|
128
|
+
"protocol": "REST",
|
|
129
|
+
"method": "DELETE",
|
|
130
|
+
"entitypath": "{base_path}/{version}/notificationscheme/{pathv1}?{query}",
|
|
131
|
+
"requestSchema": "schema.json",
|
|
132
|
+
"responseSchema": "schema.json",
|
|
133
|
+
"timeout": 0,
|
|
134
|
+
"sendEmpty": false,
|
|
135
|
+
"requestDatatype": "JSON",
|
|
136
|
+
"responseDatatype": "JSON",
|
|
137
|
+
"headers": {},
|
|
138
|
+
"responseObjects": [
|
|
139
|
+
{
|
|
140
|
+
"type": "default",
|
|
141
|
+
"key": "",
|
|
142
|
+
"mockFile": ""
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "removeNotificationFromNotificationScheme",
|
|
148
|
+
"protocol": "REST",
|
|
149
|
+
"method": "DELETE",
|
|
150
|
+
"entitypath": "{base_path}/{version}/notificationscheme/{pathv1}/notification/{pathv2}?{query}",
|
|
151
|
+
"requestSchema": "schema.json",
|
|
152
|
+
"responseSchema": "schema.json",
|
|
153
|
+
"timeout": 0,
|
|
154
|
+
"sendEmpty": false,
|
|
155
|
+
"requestDatatype": "JSON",
|
|
156
|
+
"responseDatatype": "JSON",
|
|
157
|
+
"headers": {},
|
|
158
|
+
"responseObjects": [
|
|
159
|
+
{
|
|
160
|
+
"type": "default",
|
|
161
|
+
"key": "",
|
|
162
|
+
"mockFile": ""
|
|
163
|
+
}
|
|
164
|
+
]
|
|
44
165
|
}
|
|
45
166
|
]
|
|
46
167
|
}
|
|
@@ -11,7 +11,13 @@
|
|
|
11
11
|
"default": "getRestapi2notificationscheme",
|
|
12
12
|
"enum": [
|
|
13
13
|
"getRestapi2notificationscheme",
|
|
14
|
-
"getRestapi2notificationschemeid"
|
|
14
|
+
"getRestapi2notificationschemeid",
|
|
15
|
+
"createNotificationScheme",
|
|
16
|
+
"getNotificationSchemeToProjectMappings",
|
|
17
|
+
"updateNotificationScheme",
|
|
18
|
+
"addNotifications",
|
|
19
|
+
"deleteNotificationScheme",
|
|
20
|
+
"removeNotificationFromNotificationScheme"
|
|
15
21
|
],
|
|
16
22
|
"external_name": "ph_request_type"
|
|
17
23
|
}
|
|
@@ -41,6 +41,127 @@
|
|
|
41
41
|
"mockFile": "mockdatafiles/getRestapi2priorityid-default.json"
|
|
42
42
|
}
|
|
43
43
|
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "createPriority",
|
|
47
|
+
"protocol": "REST",
|
|
48
|
+
"method": "POST",
|
|
49
|
+
"entitypath": "{base_path}/{version}/priority?{query}",
|
|
50
|
+
"requestSchema": "schema.json",
|
|
51
|
+
"responseSchema": "schema.json",
|
|
52
|
+
"timeout": 0,
|
|
53
|
+
"sendEmpty": false,
|
|
54
|
+
"requestDatatype": "JSON",
|
|
55
|
+
"responseDatatype": "JSON",
|
|
56
|
+
"headers": {},
|
|
57
|
+
"responseObjects": [
|
|
58
|
+
{
|
|
59
|
+
"type": "default",
|
|
60
|
+
"key": "",
|
|
61
|
+
"mockFile": "mockdatafiles/createPriority-default.json"
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "setDefaultPriority",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "PUT",
|
|
69
|
+
"entitypath": "{base_path}/{version}/priority/default?{query}",
|
|
70
|
+
"requestSchema": "schema.json",
|
|
71
|
+
"responseSchema": "schema.json",
|
|
72
|
+
"timeout": 0,
|
|
73
|
+
"sendEmpty": false,
|
|
74
|
+
"requestDatatype": "JSON",
|
|
75
|
+
"responseDatatype": "JSON",
|
|
76
|
+
"headers": {},
|
|
77
|
+
"responseObjects": [
|
|
78
|
+
{
|
|
79
|
+
"type": "default",
|
|
80
|
+
"key": "",
|
|
81
|
+
"mockFile": ""
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "movePriorities",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "PUT",
|
|
89
|
+
"entitypath": "{base_path}/{version}/priority/move?{query}",
|
|
90
|
+
"requestSchema": "schema.json",
|
|
91
|
+
"responseSchema": "schema.json",
|
|
92
|
+
"timeout": 0,
|
|
93
|
+
"sendEmpty": false,
|
|
94
|
+
"requestDatatype": "JSON",
|
|
95
|
+
"responseDatatype": "JSON",
|
|
96
|
+
"headers": {},
|
|
97
|
+
"responseObjects": [
|
|
98
|
+
{
|
|
99
|
+
"type": "default",
|
|
100
|
+
"key": "",
|
|
101
|
+
"mockFile": ""
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "searchPriorities",
|
|
107
|
+
"protocol": "REST",
|
|
108
|
+
"method": "GET",
|
|
109
|
+
"entitypath": "{base_path}/{version}/priority/search?{query}",
|
|
110
|
+
"requestSchema": "schema.json",
|
|
111
|
+
"responseSchema": "schema.json",
|
|
112
|
+
"timeout": 0,
|
|
113
|
+
"sendEmpty": false,
|
|
114
|
+
"sendGetBody": false,
|
|
115
|
+
"requestDatatype": "JSON",
|
|
116
|
+
"responseDatatype": "JSON",
|
|
117
|
+
"headers": {},
|
|
118
|
+
"responseObjects": [
|
|
119
|
+
{
|
|
120
|
+
"type": "default",
|
|
121
|
+
"key": "",
|
|
122
|
+
"mockFile": "mockdatafiles/searchPriorities-default.json"
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "updatePriority",
|
|
128
|
+
"protocol": "REST",
|
|
129
|
+
"method": "PUT",
|
|
130
|
+
"entitypath": "{base_path}/{version}/priority/{pathv1}?{query}",
|
|
131
|
+
"requestSchema": "schema.json",
|
|
132
|
+
"responseSchema": "schema.json",
|
|
133
|
+
"timeout": 0,
|
|
134
|
+
"sendEmpty": false,
|
|
135
|
+
"requestDatatype": "JSON",
|
|
136
|
+
"responseDatatype": "JSON",
|
|
137
|
+
"headers": {},
|
|
138
|
+
"responseObjects": [
|
|
139
|
+
{
|
|
140
|
+
"type": "default",
|
|
141
|
+
"key": "",
|
|
142
|
+
"mockFile": ""
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "deletePriority",
|
|
148
|
+
"protocol": "REST",
|
|
149
|
+
"method": "DELETE",
|
|
150
|
+
"entitypath": "{base_path}/{version}/priority/{pathv1}?{query}",
|
|
151
|
+
"requestSchema": "schema.json",
|
|
152
|
+
"responseSchema": "schema.json",
|
|
153
|
+
"timeout": 0,
|
|
154
|
+
"sendEmpty": false,
|
|
155
|
+
"requestDatatype": "JSON",
|
|
156
|
+
"responseDatatype": "JSON",
|
|
157
|
+
"headers": {},
|
|
158
|
+
"responseObjects": [
|
|
159
|
+
{
|
|
160
|
+
"type": "default",
|
|
161
|
+
"key": "",
|
|
162
|
+
"mockFile": ""
|
|
163
|
+
}
|
|
164
|
+
]
|
|
44
165
|
}
|
|
45
166
|
]
|
|
46
167
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"maxResults": 50,
|
|
3
|
+
"startAt": 0,
|
|
4
|
+
"total": 2,
|
|
5
|
+
"isLast": true,
|
|
6
|
+
"values": [
|
|
7
|
+
{
|
|
8
|
+
"self": "https://your-domain.atlassian.net/rest/api/3/priority/3",
|
|
9
|
+
"statusColor": "#009900",
|
|
10
|
+
"description": "Major loss of function.",
|
|
11
|
+
"iconUrl": "https://your-domain.atlassian.net/images/icons/priorities/major.png",
|
|
12
|
+
"name": "Major",
|
|
13
|
+
"id": "1",
|
|
14
|
+
"isDefault": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"self": "https://your-domain.atlassian.net/rest/api/3/priority/5",
|
|
18
|
+
"statusColor": "#cfcfcf",
|
|
19
|
+
"description": "Very little impact.",
|
|
20
|
+
"iconUrl": "https://your-domain.atlassian.net/images/icons/priorities/trivial.png",
|
|
21
|
+
"name": "Trivial",
|
|
22
|
+
"id": "2",
|
|
23
|
+
"isDefault": false
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -11,7 +11,13 @@
|
|
|
11
11
|
"default": "getRestapi2priority",
|
|
12
12
|
"enum": [
|
|
13
13
|
"getRestapi2priority",
|
|
14
|
-
"getRestapi2priorityid"
|
|
14
|
+
"getRestapi2priorityid",
|
|
15
|
+
"createPriority",
|
|
16
|
+
"setDefaultPriority",
|
|
17
|
+
"movePriorities",
|
|
18
|
+
"searchPriorities",
|
|
19
|
+
"updatePriority",
|
|
20
|
+
"deletePriority"
|
|
15
21
|
],
|
|
16
22
|
"external_name": "ph_request_type"
|
|
17
23
|
}
|
|
@@ -41,6 +41,127 @@
|
|
|
41
41
|
"mockFile": "mockdatafiles/getRestapi2resolutionid-default.json"
|
|
42
42
|
}
|
|
43
43
|
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "createResolution",
|
|
47
|
+
"protocol": "REST",
|
|
48
|
+
"method": "POST",
|
|
49
|
+
"entitypath": "{base_path}/{version}/resolution?{query}",
|
|
50
|
+
"requestSchema": "schema.json",
|
|
51
|
+
"responseSchema": "schema.json",
|
|
52
|
+
"timeout": 0,
|
|
53
|
+
"sendEmpty": false,
|
|
54
|
+
"requestDatatype": "JSON",
|
|
55
|
+
"responseDatatype": "JSON",
|
|
56
|
+
"headers": {},
|
|
57
|
+
"responseObjects": [
|
|
58
|
+
{
|
|
59
|
+
"type": "default",
|
|
60
|
+
"key": "",
|
|
61
|
+
"mockFile": "mockdatafiles/createResolution-default.json"
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "setDefaultResolution",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "PUT",
|
|
69
|
+
"entitypath": "{base_path}/{version}/resolution/default?{query}",
|
|
70
|
+
"requestSchema": "schema.json",
|
|
71
|
+
"responseSchema": "schema.json",
|
|
72
|
+
"timeout": 0,
|
|
73
|
+
"sendEmpty": false,
|
|
74
|
+
"requestDatatype": "JSON",
|
|
75
|
+
"responseDatatype": "JSON",
|
|
76
|
+
"headers": {},
|
|
77
|
+
"responseObjects": [
|
|
78
|
+
{
|
|
79
|
+
"type": "default",
|
|
80
|
+
"key": "",
|
|
81
|
+
"mockFile": ""
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "moveResolutions",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "PUT",
|
|
89
|
+
"entitypath": "{base_path}/{version}/resolution/move?{query}",
|
|
90
|
+
"requestSchema": "schema.json",
|
|
91
|
+
"responseSchema": "schema.json",
|
|
92
|
+
"timeout": 0,
|
|
93
|
+
"sendEmpty": false,
|
|
94
|
+
"requestDatatype": "JSON",
|
|
95
|
+
"responseDatatype": "JSON",
|
|
96
|
+
"headers": {},
|
|
97
|
+
"responseObjects": [
|
|
98
|
+
{
|
|
99
|
+
"type": "default",
|
|
100
|
+
"key": "",
|
|
101
|
+
"mockFile": ""
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "searchResolutions",
|
|
107
|
+
"protocol": "REST",
|
|
108
|
+
"method": "GET",
|
|
109
|
+
"entitypath": "{base_path}/{version}/resolution/search?{query}",
|
|
110
|
+
"requestSchema": "schema.json",
|
|
111
|
+
"responseSchema": "schema.json",
|
|
112
|
+
"timeout": 0,
|
|
113
|
+
"sendEmpty": false,
|
|
114
|
+
"sendGetBody": false,
|
|
115
|
+
"requestDatatype": "JSON",
|
|
116
|
+
"responseDatatype": "JSON",
|
|
117
|
+
"headers": {},
|
|
118
|
+
"responseObjects": [
|
|
119
|
+
{
|
|
120
|
+
"type": "default",
|
|
121
|
+
"key": "",
|
|
122
|
+
"mockFile": "mockdatafiles/searchResolutions-default.json"
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "updateResolution",
|
|
128
|
+
"protocol": "REST",
|
|
129
|
+
"method": "PUT",
|
|
130
|
+
"entitypath": "{base_path}/{version}/resolution/{pathv1}?{query}",
|
|
131
|
+
"requestSchema": "schema.json",
|
|
132
|
+
"responseSchema": "schema.json",
|
|
133
|
+
"timeout": 0,
|
|
134
|
+
"sendEmpty": false,
|
|
135
|
+
"requestDatatype": "JSON",
|
|
136
|
+
"responseDatatype": "JSON",
|
|
137
|
+
"headers": {},
|
|
138
|
+
"responseObjects": [
|
|
139
|
+
{
|
|
140
|
+
"type": "default",
|
|
141
|
+
"key": "",
|
|
142
|
+
"mockFile": ""
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "deleteResolution",
|
|
148
|
+
"protocol": "REST",
|
|
149
|
+
"method": "DELETE",
|
|
150
|
+
"entitypath": "{base_path}/{version}/resolution/{pathv1}?{query}",
|
|
151
|
+
"requestSchema": "schema.json",
|
|
152
|
+
"responseSchema": "schema.json",
|
|
153
|
+
"timeout": 0,
|
|
154
|
+
"sendEmpty": false,
|
|
155
|
+
"requestDatatype": "JSON",
|
|
156
|
+
"responseDatatype": "JSON",
|
|
157
|
+
"headers": {},
|
|
158
|
+
"responseObjects": [
|
|
159
|
+
{
|
|
160
|
+
"type": "default",
|
|
161
|
+
"key": "",
|
|
162
|
+
"mockFile": ""
|
|
163
|
+
}
|
|
164
|
+
]
|
|
44
165
|
}
|
|
45
166
|
]
|
|
46
167
|
}
|
|
@@ -11,7 +11,13 @@
|
|
|
11
11
|
"default": "getRestapi2resolution",
|
|
12
12
|
"enum": [
|
|
13
13
|
"getRestapi2resolution",
|
|
14
|
-
"getRestapi2resolutionid"
|
|
14
|
+
"getRestapi2resolutionid",
|
|
15
|
+
"createResolution",
|
|
16
|
+
"setDefaultResolution",
|
|
17
|
+
"moveResolutions",
|
|
18
|
+
"searchResolutions",
|
|
19
|
+
"updateResolution",
|
|
20
|
+
"deleteResolution"
|
|
15
21
|
],
|
|
16
22
|
"external_name": "ph_request_type"
|
|
17
23
|
}
|