Mutation

update_custom_extension_jar

Updates the .jar file for a custom extension.

Arguments

input: UpdateCustomExtensionJarInput!

The new .jar file for the custom extension.


Input Fields

id(): ID!
extension_filename(): String!
The original name of the extension file.
extension_jar_as_base_64(): String!
The contents of the extension as base64-encoded, expected to be a .jar file.

Return Fields

extension(): Extension!
The uploaded extension.

Example

Query
mutation UpdateCustomExtensionJar($input: UpdateCustomExtensionJarInput!) {
  update_custom_extension_jar(input: $input) {
    extension {
      id
      name
      uploaded_filename
    }
  }
}
Variables
{
  "input": {
    "extension_filename": "example-extension-1.1.jar",
    "extension_jar_as_base_64": "UEsDBAoAAAgAAABIIVyyfwLuGQAAABkAAAAUAAAATUVUQS1JTkYvTUFOSUZFU1QuTUZNYW5pZmVzdC1WZXJzaW9uOiAxLjANCg0KUEsBAgoACgAACAAAAEghXLJ/Au4ZAAAAGQAAABQAAAAAAAAAAAAAAAAAAAAAAE1FVEEtSU5GL01BTklGRVNULk1GUEsFBgAAAAABAAEAQgAAAEsAAAAAAA==",
    "id": "f8fd12c1-d186-305f-be12-19ed029d65ec"
  }
}
Result
{
  "data": {
    "update_custom_extension_jar": {
      "extension": {
        "id": "f8fd12c1-d186-305f-be12-19ed029d65ec",
        "name": "Example extension",
        "uploaded_filename": "example-extension-1.1.jar"
      }
    }
  }
}