View | Details | Raw Unified | Return to bug 23019
Collapse All | Expand All

(-)a/api/v1/swagger/paths.json (-2 / +2 lines)
Lines 113-120 Link Here
113
  "/import_batch_profiles": {
113
  "/import_batch_profiles": {
114
    "$ref": "paths/import_batch_profiles.json#/~1import_batch_profiles"
114
    "$ref": "paths/import_batch_profiles.json#/~1import_batch_profiles"
115
  },
115
  },
116
  "/import_batch_profiles/{profile_id}": {
116
  "/import_batch_profiles/{import_batch_profile_id}": {
117
    "$ref": "paths/import_batch_profiles.json#/~1import_batch_profiles~1{profile_id}"
117
    "$ref": "paths/import_batch_profiles.json#/~1import_batch_profiles~1{import_batch_profile_id}"
118
  },
118
  },
119
  "/rotas/{rota_id}/stages/{stage_id}/position": {
119
  "/rotas/{rota_id}/stages/{stage_id}/position": {
120
    "$ref": "paths/rotas.json#/~1rotas~1{rota_id}~1stages~1{stage_id}~1position"
120
    "$ref": "paths/rotas.json#/~1rotas~1{rota_id}~1stages~1{stage_id}~1position"
(-)a/api/v1/swagger/paths/import_batch_profiles.json (-6 / +6 lines)
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"],
(-)a/t/db_dependent/api/v1/import_batch_profiles.t (-5 / +4 lines)
Lines 46-52 subtest 'list profiles' => sub { Link Here
46
        {
46
        {
47
            class => 'Koha::Patrons',
47
            class => 'Koha::Patrons',
48
            value => {
48
            value => {
49
                flags => 1
49
                flags => 13
50
            }
50
            }
51
        }
51
        }
52
    );
52
    );
Lines 77-83 subtest 'add profile' => sub { Link Here
77
        {
77
        {
78
            class => 'Koha::Patrons',
78
            class => 'Koha::Patrons',
79
            value => {
79
            value => {
80
                flags => 1
80
                flags => 13
81
            }
81
            }
82
        }
82
        }
83
    );
83
    );
Lines 112-118 subtest 'edit profile' => sub { Link Here
112
        {
112
        {
113
            class => 'Koha::Patrons',
113
            class => 'Koha::Patrons',
114
            value => {
114
            value => {
115
                flags => 1
115
                flags => 13
116
            }
116
            }
117
        }
117
        }
118
    );
118
    );
Lines 153-159 subtest 'delete profile' => sub { Link Here
153
        {
153
        {
154
            class => 'Koha::Patrons',
154
            class => 'Koha::Patrons',
155
            value => {
155
            value => {
156
                flags => 1
156
                flags => 13
157
            }
157
            }
158
        }
158
        }
159
    );
159
    );
160
- 

Return to bug 23019