OBJECT
Mutation
link GraphQL Schema definition
1 type Mutation { 2 3 # Deletes the interview template with the given ID. 4 (: ID!): ID! 5 6 # Creates an interview template. 7 ( 8 : CreateInterviewTemplateInput! 9 ): InterviewTemplate 10 11 # Edit the interview template with the given ID. 12 ( 13 : ID!, 14 : EditInterviewTemplateInput! 15 ): InterviewTemplate 16 17 # [*Internal use only*] 18 # Update the company's lockdown framework config 19 ( 20 : ID!, 21 : Boolean! 22 ): Company! 23 24 # [*Internal use only*] 25 # Appends a verification note to the test session. 26 ( 27 : ID!, 28 : String! 29 ): CompanyTestSession! 30 31 ( 32 : TestSessionInput! 33 ): CompanyTestSession 34 35 ( 36 : ID!, 37 : Boolean 38 ): ID! 39 40 # Arguments 41 # customDuration: Duration of the test for this test session, in 42 # milliseconds. 43 ( 44 : ID!, 45 : Float! 46 ): CompanyTestSession! 47 48 # Arguments 49 # expirationDate: When the invitation will expire if the session 50 # does not begin. Cannot be used to shorten expiration, only to extend. 51 ( 52 : ID!, 53 : Timestamp! 54 ): CompanyTestSession! 55 56 ( 57 : ID!, 58 : [EmailReminder!]! 59 ): CompanyTestSession! 60 61 (: ID!): CompanyTestSession! 62 63 ( 64 : ID!, 65 : Boolean 66 ): CompanyTestSession! 67 68 (: ID!, : ID!, : Int!): CompanyTestSession! 69 70 (: ID!): CompanyTestSession! 71 72 (: ID!): CompanyTestSession! 73 74 (: ID!): CompanyTestSession! 75 76 # [*Internal use only*] 77 # Creates or updates a role with the given key. 78 (: ID!, : String!, : [String!]!): Role! 79 80 # Creates a new company-specific role. 81 # When companyId is not provided, it is inferred using authorization information. 82 ( 83 : String!, 84 : [String!]!, 85 : ID 86 ): Role! 87 88 # Updates a company-specific role with the given key. 89 # The companyId field is deprecated and is left for backwards compatibility only. 90 # It is not used when performing the mutation. 91 (: ID!, : String!, : [String!]!): Role! 92 93 # Deletes the role with the given key. 94 (: ID!): ID! 95 96 # Creates a company test. 97 (: CreateCompanyTestInput!): CompanyTest 98 99 # Creates a company test from a certified assessment. 100 # 101 # The test will use the certified assessment's configuration for duration, tasks, 102 # and 103 # other settings controlled by the certified assessment. Other settings like 104 # title, emails, and labels 105 # can be customized through the input fields. 106 # 107 # Arguments 108 # testFields: The test configuration including certified 109 # assessment ID and customizable fields. 110 ( 111 : CreateCompanyTestFromFrameworkInput! 112 ): CompanyTest 113 114 # Edits a company test with the given ID. 115 (: ID!, : EditCompanyTestInput!): CompanyTest 116 117 # Duplicates an existing company test, optionally overriding specific fields. 118 # 119 # The duplicated test will copy all configuration from the source test and apply 120 # any field overrides specified in testFields. If title is not provided in 121 # testFields, 122 # an auto-resolved unique title based on the source test's title will be used 123 # (e.g., "My Test (1)", "My Test (2)"). 124 # 125 # Arguments 126 # id: The ID of the company test to duplicate 127 # testFields: Modifications to apply during duplication. 128 # If a new title is not provided, an auto-resolved unique title based on the 129 # source 130 # test's title will be used. 131 ( 132 : ID!, 133 : EditCompanyTestInput! 134 ): CompanyTest 135 136 # Creates a live interview. 137 (: LiveInterviewInput): LiveInterview 138 139 # Edit a live interview with a given ID. 140 (: ID!, : LiveInterviewInput!): LiveInterview 141 142 # Delete a live interview with a given ID. 143 (: ID!): ID! 144 145 # [*Internal use only*] 146 # Assign question to specific sets. 147 # 148 # - Cost complexity: 3 149 # - Rate limit: 10 requests / second 150 (: EditTaskSetsInput!): CommonTask 151 152 # [*Internal use only*] 153 # Remove question from specific sets. 154 # 155 # - Cost complexity: 3 156 # - Rate limit: 10 requests / second 157 (: EditTaskSetsInput!): CommonTask 158 159 # Set customized initial source code that will be presented when solving the 160 # question. 161 # Returns the modified question. 162 ( 163 : ID!, 164 : LanguageName!, 165 : String! 166 ): SingleEnvironmentTask 167 168 # Reset the initial source code of the question to the default value for the given 169 # language. 170 # Returns the modified question. 171 (: ID!, : LanguageName!): SingleEnvironmentTask 172 173 # Creates a code review question without any test case or validation. 174 ( 175 : CreateCodeReviewTaskInput!, 176 : CreateTaskOptionsInput 177 ): CodeReviewTask 178 179 # Edits a code review question with the given ID. 180 ( 181 : ID!, 182 : EditCodeReviewTaskInput! 183 ): CodeReviewTask 184 185 # Creates a database question with test cases 186 ( 187 : CreateDatabaseTaskInput!, 188 : CreateTaskOptionsInput 189 ): DatabaseTask 190 191 # Edits a database question with the given ID. 192 (: ID!, : EditDatabaseTaskInput!): DatabaseTask 193 194 # Creates a free-filesystem question. 195 ( 196 : CreateFreeFilesystemTaskInput!, 197 : CreateTaskOptionsInput 198 ): FilesystemTask 199 200 # Edits a free-filesystem question with the given ID. 201 ( 202 : ID!, 203 : EditFreeFilesystemTaskInput! 204 ): FilesystemTask 205 206 # Creates a scorable-filesystem question. Scorable filesystem questions use unit 207 # tests for automated scoring; each execution environment must include at least 208 # one unit test with a positive weight. 209 ( 210 : CreateScorableFilesystemTaskInput!, 211 : CreateTaskOptionsInput 212 ): FilesystemTask 213 214 # Edits a scorable-filesystem question with the given ID. 215 ( 216 : ID!, 217 : EditScorableFilesystemTaskInput! 218 ): FilesystemTask 219 220 # Creates a free coding question without any test case or validation. 221 ( 222 : CreateFreeCodingTaskInput!, 223 : CreateTaskOptionsInput 224 ): SingleEnvironmentTask 225 226 # Edits a free coding question with the given ID. 227 (: ID!, : EditStandardTaskInput!): SingleEnvironmentTask 228 229 # Update one or more front-end question parameters by the question ID 230 (: ID!, : UpdateFrontendTaskInput!): SingleEnvironmentTask 231 232 # Creates a quiz question with one or more correct options. 233 ( 234 : CreateQuizInput!, 235 : CreateTaskOptionsInput 236 ): SingleEnvironmentTask 237 238 # Edits a quiz question with the given ID. 239 (: ID!, : EditQuizInput!): SingleEnvironmentTask 240 241 # Creates a question with a function as an entry point that receives input and 242 # returns the output. 243 ( 244 : CreateStandardTaskInput!, 245 : CreateTaskOptionsInput 246 ): SingleEnvironmentTask 247 248 # Edits a standard question with the given ID. 249 (: ID!, : EditStandardTaskInput!): SingleEnvironmentTask 250 251 }
link Required by
This element is not required by anyone