Mutation
upload_custom_extension
Uploads a new custom extension from a .jar file as a base64-encoded string.
Input Fields
extension_filename():
String!
The 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.
name():
String!
The name of the custom extension.
description():
String!
The description of the custom extension.
Return Fields
extension():
Extension!
The uploaded extension.
Example
Query
mutation UploadCustomExtension($input: UploadCustomExtensionInput!) {
upload_custom_extension(input: $input) {
extension {
id
uploaded_filename
name
description
uploaded_date
uploaded_by
bapp_details {
bapp_uuid
author
version
}
}
}
}
Variables
{
"input": {
"extension_filename": "test-custom-extension-1.0-SNAPSHOT.jar",
"extension_jar_as_base_64": "UEsDBAo ... snip ... C+AgAAJxQAAAAA",
"name": "test-custom-extension-1.0.jar",
"description": "An example extension"
}
}