Lines 67-73
Link Here
|
67 |
}, |
67 |
}, |
68 |
"x-koha-authorization": { |
68 |
"x-koha-authorization": { |
69 |
"permissions": { |
69 |
"permissions": { |
70 |
"catalogue": "1" |
70 |
"tools": "stage_marc_import" |
71 |
} |
71 |
} |
72 |
} |
72 |
} |
73 |
}, |
73 |
}, |
Lines 182-193
Link Here
|
182 |
}, |
182 |
}, |
183 |
"x-koha-authorization": { |
183 |
"x-koha-authorization": { |
184 |
"permissions": { |
184 |
"permissions": { |
185 |
"catalogue": "1" |
185 |
"tools": "stage_marc_import" |
186 |
} |
186 |
} |
187 |
} |
187 |
} |
188 |
} |
188 |
} |
189 |
}, |
189 |
}, |
190 |
"/import_batch_profiles/{profile_id}": { |
190 |
"/import_batch_profiles/{import_batch_profile_id}": { |
191 |
"put": { |
191 |
"put": { |
192 |
"x-mojo-to": "ImportBatchProfiles#edit", |
192 |
"x-mojo-to": "ImportBatchProfiles#edit", |
193 |
"operationId": "editImportBatchProfiles", |
193 |
"operationId": "editImportBatchProfiles", |
Lines 196-202
Link Here
|
196 |
], |
196 |
], |
197 |
"parameters": [ |
197 |
"parameters": [ |
198 |
{ |
198 |
{ |
199 |
"$ref": "../parameters.json#/profile_id_pp" |
199 |
"$ref": "../parameters.json#/import_batch_profile_id_pp" |
200 |
}, |
200 |
}, |
201 |
{ |
201 |
{ |
202 |
"name": "body", |
202 |
"name": "body", |
Lines 302-308
Link Here
|
302 |
}, |
302 |
}, |
303 |
"x-koha-authorization": { |
303 |
"x-koha-authorization": { |
304 |
"permissions": { |
304 |
"permissions": { |
305 |
"catalogue": "1" |
305 |
"tools": "stage_marc_import" |
306 |
} |
306 |
} |
307 |
} |
307 |
} |
308 |
}, |
308 |
}, |
Lines 311-317
Link Here
|
311 |
"operationId": "deleteImportBatchProfiles", |
311 |
"operationId": "deleteImportBatchProfiles", |
312 |
"tags": ["ImportBatchProfiles"], |
312 |
"tags": ["ImportBatchProfiles"], |
313 |
"parameters": [{ |
313 |
"parameters": [{ |
314 |
"$ref": "../parameters.json#/profile_id_pp" |
314 |
"$ref": "../parameters.json#/import_batch_profile_id_pp" |
315 |
} |
315 |
} |
316 |
], |
316 |
], |
317 |
"produces": ["application/json"], |
317 |
"produces": ["application/json"], |