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