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 # Edits a company's service plans and custom features. 19 ( 20 ID!, : 21 CompanyPlanSettingsInput! : 22 ): Company 23 24 ( 25 TestSessionInput! : 26 ): CompanyTestSession 27 28 ( 29 ID!, : 30 Boolean : 31 ): ID! 32 33 # Arguments 34 # customDuration: Duration of the test for this test session, in 35 # milliseconds. 36 ( 37 ID!, : 38 Float! : 39 ): CompanyTestSession! 40 41 ID!): CompanyTestSession! ( : 42 43 ( 44 ID!, : 45 Boolean : 46 ): CompanyTestSession! 47 48 ID!, : ID!, : Int!): CompanyTestSession! ( : 49 50 ID!): CompanyTestSession! ( : 51 52 # [*Internal use only*] 53 # Creates or updates a role with the given key. 54 ID!, : String!, : [String]!): Role! ( : 55 56 # Creates a new company-specific role. 57 # When companyId is not provided, it is inferred using authorization information. 58 ( 59 String!, : 60 String]!, : [ 61 ID : 62 ): Role! 63 64 # Updates a company-specific role with the given key. 65 # The companyId field is deprecated and is left for backwards compatibility only. 66 # It is not used when performing the mutation. 67 ID!, : String!, : [String]!): Role! ( : 68 69 # Deletes the role with the given key. 70 ID!): ID! ( : 71 72 # Creates a company test. 73 CreateCompanyTestInput!): CompanyTest ( : 74 75 # Edits a company test with the given ID. 76 ID!, : EditCompanyTestInput!): CompanyTest ( : 77 78 # Allow retakes of a company test from a public invitation. 79 # Only accept 0 or 1 as retakeAllowanceCount. 80 ( 81 ID, : 82 String, : 83 ID!, : 84 Int! : 85 ): Int 86 87 # Creates a live interview. 88 LiveInterviewInput): LiveInterview ( : 89 90 # Edit a live interview with a given ID. 91 ID!, : LiveInterviewInput!): LiveInterview ( : 92 93 # Delete a live interview with a given ID. 94 ID!): ID! ( : 95 96 # [*Internal use only*] 97 # Assign question to specific sets. 98 # 99 # - Cost complexity: 3 100 # - Rate limit: 10 requests / second 101 EditTaskSetsInput!): CommonTask! ( : 102 103 # [*Internal use only*] 104 # Remove question from specific sets. 105 # 106 # - Cost complexity: 3 107 # - Rate limit: 10 requests / second 108 EditTaskSetsInput!): CommonTask! ( : 109 110 ( 111 CreateCertificationRequestInput! : 112 ): CertificationRequest 113 114 # Given the input, revoke the corresponding certification request. 115 # There are three ways to specify which certification request to revoke: 116 # * by unique request ID; 117 # * by candidate email and test ID (your company ID will be used implicitly); 118 # * by candidate email, test ID and company ID. 119 ( 120 CertificationRequestInput! : 121 ): CertificationRequest! 122 123 # Set customized initial source code that will be presented when solving the 124 # question. 125 # Returns the modified question. 126 ( 127 ID!, : 128 LanguageName!, : 129 String! : 130 ): SingleEnvironmentTask 131 132 # Reset the initial source code of the question to the default value for the given 133 # language. 134 # Returns the modified question. 135 ID!, : LanguageName!): SingleEnvironmentTask ( : 136 137 # Creates a quiz question with one or more correct options. 138 ( 139 CreateQuizInput!, : 140 CreateTaskOptionsInput : 141 ): SingleEnvironmentTask 142 143 # Edits a quiz question with the given ID. 144 ID!, : EditQuizInput!): SingleEnvironmentTask ( : 145 146 # Creates a question with a function as an entry point that receives input and 147 # returns the output. 148 ( 149 CreateStandardTaskInput!, : 150 CreateTaskOptionsInput : 151 ): SingleEnvironmentTask 152 153 # Edits a standard question with the given ID. 154 ID!, : EditStandardTaskInput!): SingleEnvironmentTask ( : 155 156 # Update one or more front-end question parameters by the question ID 157 ID!, : UpdateFrontendTaskInput): SingleEnvironmentTask ( : 158 159 # Creates a database question with test cases 160 ( 161 CreateDatabaseTaskInput!, : 162 CreateTaskOptionsInput : 163 ): DatabaseTask 164 165 # Edits a database question with the given ID. 166 ID!, : EditDatabaseTaskInput!): DatabaseTask ( : 167 168 # Creates a free coding question without any test case or validation. 169 ( 170 CreateFreeCodingTaskInput!, : 171 CreateTaskOptionsInput : 172 ): SingleEnvironmentTask 173 174 # Edits a free coding question with the given ID. 175 ID!, : EditStandardTaskInput!): SingleEnvironmentTask ( : 176 177 }
link Required by
This element is not required by anyone