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