Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cy
- .request({
- method: 'POST',
- url: 'uchebnik-stable.opk.su/exam//rest/secure/spec',
- body: {
- basic_info: {
- author: null,
- description: 'название спецификации',
- name: 'название спецификации',
- folder_id: 747,
- studying_level_id: 1,
- subjects: [{
- subject_id: 57,
- education_level_id: 2
- }]
- },
- id: null,
- read_access_level: 'for_teachers',
- test_groups: [{
- id: null,
- name: 'Блок без названия',
- position: 0,
- weight: 100,
- questions_per_variant_count: 1,
- controllable_items: [{
- id: 30556,
- code: null,
- name: null,
- }],
- tasks: [{
- meta: {
- name: 'Ввод строки',
- studying_level_id: null,
- subjects: [],
- author: null,
- folder_id: null,
- },
- weight: 100
- }]
- }],
- test_parameters: {
- allow_variants_generation_to_everyone: true,
- tasks_distributions_preset: [],
- test_auto_creation: false,
- test_duration: 30,
- test_groups_count: 1,
- test_variants_count: 1,
- testing_options: {},
- testing_order: 'seriatim'
- }
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement