Welcome to the new Golem Cloud Docs! 👋
Component

Component API

Get all components in the environment

PathMethodProtected
/v1/envs/{environment_id}/componentsGETYes

Example Response JSON

{
  "values": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "revision": 0,
      "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563",
      "componentName": "string",
      "hash": "string",
      "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
      "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
      "componentSize": 0,
      "metadata": {
        "exports": [
          {
            "type": "Function",
            "name": "string",
            "parameters": [
              {
                "name": "string",
                "typ": {
                  "type": "Variant",
                  "name": "string",
                  "owner": "string",
                  "cases": [
                    {
                      "name": "string",
                      "typ": {}
                    }
                  ]
                }
              }
            ],
            "result": {
              "typ": {
                "type": "Variant",
                "name": "string",
                "owner": "string",
                "cases": [
                  {
                    "name": "string",
                    "typ": {}
                  }
                ]
              }
            }
          }
        ],
        "producers": [
          {
            "fields": [
              {
                "name": "string",
                "values": [
                  {
                    "name": "string",
                    "version": "string"
                  }
                ]
              }
            ]
          }
        ],
        "memories": [
          {
            "initial": 0,
            "maximum": 0
          }
        ],
        "binaryWit": "string",
        "rootPackageName": "string",
        "rootPackageVersion": "string",
        "dynamicLinking": {
          "property1": {
            "type": "WasmRpc",
            "targets": {
              "property1": {
                "interfaceName": "string",
                "componentName": "string"
              },
              "property2": {
                "interfaceName": "string",
                "componentName": "string"
              }
            }
          },
          "property2": {
            "type": "WasmRpc",
            "targets": {
              "property1": {
                "interfaceName": "string",
                "componentName": "string"
              },
              "property2": {
                "interfaceName": "string",
                "componentName": "string"
              }
            }
          }
        },
        "agentTypes": [
          {
            "typeName": "string",
            "description": "string",
            "constructor": {
              "name": "string",
              "description": "string",
              "promptHint": "string",
              "inputSchema": {
                "type": "Multimodal",
                "elements": [
                  {
                    "name": "string",
                    "schema": {
                      "type": "ComponentModel",
                      "elementType": {
                        "type": "Variant",
                        "name": "string",
                        "owner": "string",
                        "cases": [
                          {
                            "name": "string",
                            "typ": {}
                          }
                        ]
                      }
                    }
                  }
                ]
              }
            },
            "methods": [
              {
                "name": "string",
                "description": "string",
                "promptHint": "string",
                "inputSchema": {
                  "type": "Multimodal",
                  "elements": [
                    {
                      "name": "string",
                      "schema": {
                        "type": "ComponentModel",
                        "elementType": {
                          "type": "Variant",
                          "name": "string",
                          "owner": "string",
                          "cases": [
                            {}
                          ]
                        }
                      }
                    }
                  ]
                },
                "outputSchema": {
                  "type": "Multimodal",
                  "elements": [
                    {
                      "name": "string",
                      "schema": {
                        "type": "ComponentModel",
                        "elementType": {
                          "type": "Variant",
                          "name": "string",
                          "owner": "string",
                          "cases": [
                            {}
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            ],
            "dependencies": [
              {
                "typeName": "string",
                "description": "string",
                "constructor": {
                  "name": "string",
                  "description": "string",
                  "promptHint": "string",
                  "inputSchema": {
                    "type": "Multimodal",
                    "elements": [
                      {
                        "name": "string",
                        "schema": {
                          "type": "ComponentModel",
                          "elementType": {
                            "type": "Variant",
                            "name": "string",
                            "owner": "string",
                            "cases": [
                              null
                            ]
                          }
                        }
                      }
                    ]
                  }
                },
                "methods": [
                  {
                    "name": "string",
                    "description": "string",
                    "promptHint": "string",
                    "inputSchema": {
                      "type": "Multimodal",
                      "elements": [
                        {
                          "name": "string",
                          "schema": {
                            "type": "ComponentModel",
                            "elementType": {
                              "cases": []
                            }
                          }
                        }
                      ]
                    },
                    "outputSchema": {
                      "type": "Multimodal",
                      "elements": [
                        {
                          "name": "string",
                          "schema": {
                            "type": "ComponentModel",
                            "elementType": {
                              "cases": []
                            }
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            ],
            "mode": "Durable"
          }
        ]
      },
      "createdAt": "2019-08-24T14:15:22Z",
      "files": [
        {
          "contentHash": "string",
          "path": "string",
          "permissions": "read-only"
        }
      ],
      "originalFiles": [
        {
          "contentHash": "string",
          "path": "string",
          "permissions": "read-only"
        }
      ],
      "installedPlugins": [
        {
          "environmentPluginGrantId": "5db98835-58e8-4101-8179-99ca47494b8d",
          "priority": 0,
          "parameters": {
            "property1": "string",
            "property2": "string"
          },
          "pluginRegistrationId": "a9a2014c-42b6-44bd-ae1f-d0cdfce42b62",
          "pluginName": "string",
          "pluginVersion": "string",
          "oplogProcessorComponentId": "b811b378-62ba-48d8-b00f-0701d4484807",
          "oplogProcessorComponentRevision": 0
        }
      ],
      "env": {
        "property1": "string",
        "property2": "string"
      },
      "originalEnv": {
        "property1": "string",
        "property2": "string"
      },
      "wasmHash": "string"
    }
  ]
}

Create a new component in the environment

PathMethodProtected
/v1/envs/{environment_id}/componentsPOSTYes

The request body is encoded as multipart/form-data containing metadata and the WASM binary.

Request Form: multipart/form-data

Make sure to include Content-Type: multipart/form-data Header

Field metadata: JSON

{
  "componentName": "string",
  "fileOptions": {},
  "dynamicLinking": {},
  "env": {},
  "agentTypes": [],
  "plugins": []
}

Field componentWasm: string binary

Field files: string binary

Example Response JSON

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "revision": 0,
  "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563",
  "componentName": "string",
  "hash": "string",
  "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
  "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
  "componentSize": 0,
  "metadata": {
    "exports": [
      {
        "type": "Function",
        "name": "string",
        "parameters": [
          {
            "name": "string",
            "typ": {
              "type": "Variant",
              "name": "string",
              "owner": "string",
              "cases": [
                {
                  "name": "string",
                  "typ": {}
                }
              ]
            }
          }
        ],
        "result": {
          "typ": {
            "type": "Variant",
            "name": "string",
            "owner": "string",
            "cases": [
              {
                "name": "string",
                "typ": {}
              }
            ]
          }
        }
      }
    ],
    "producers": [
      {
        "fields": [
          {
            "name": "string",
            "values": [
              {
                "name": "string",
                "version": "string"
              }
            ]
          }
        ]
      }
    ],
    "memories": [
      {
        "initial": 0,
        "maximum": 0
      }
    ],
    "binaryWit": "string",
    "rootPackageName": "string",
    "rootPackageVersion": "string",
    "dynamicLinking": {
      "property1": {
        "type": "WasmRpc",
        "targets": {
          "property1": {
            "interfaceName": "string",
            "componentName": "string"
          },
          "property2": {
            "interfaceName": "string",
            "componentName": "string"
          }
        }
      },
      "property2": {
        "type": "WasmRpc",
        "targets": {
          "property1": {
            "interfaceName": "string",
            "componentName": "string"
          },
          "property2": {
            "interfaceName": "string",
            "componentName": "string"
          }
        }
      }
    },
    "agentTypes": [
      {
        "typeName": "string",
        "description": "string",
        "constructor": {
          "name": "string",
          "description": "string",
          "promptHint": "string",
          "inputSchema": {
            "type": "Multimodal",
            "elements": [
              {
                "name": "string",
                "schema": {
                  "type": "ComponentModel",
                  "elementType": {
                    "type": "Variant",
                    "name": "string",
                    "owner": "string",
                    "cases": [
                      {
                        "name": "string",
                        "typ": {}
                      }
                    ]
                  }
                }
              }
            ]
          }
        },
        "methods": [
          {
            "name": "string",
            "description": "string",
            "promptHint": "string",
            "inputSchema": {
              "type": "Multimodal",
              "elements": [
                {
                  "name": "string",
                  "schema": {
                    "type": "ComponentModel",
                    "elementType": {
                      "type": "Variant",
                      "name": "string",
                      "owner": "string",
                      "cases": [
                        {
                          "name": "string",
                          "typ": {}
                        }
                      ]
                    }
                  }
                }
              ]
            },
            "outputSchema": {
              "type": "Multimodal",
              "elements": [
                {
                  "name": "string",
                  "schema": {
                    "type": "ComponentModel",
                    "elementType": {
                      "type": "Variant",
                      "name": "string",
                      "owner": "string",
                      "cases": [
                        {
                          "name": "string",
                          "typ": {}
                        }
                      ]
                    }
                  }
                }
              ]
            }
          }
        ],
        "dependencies": [
          {
            "typeName": "string",
            "description": "string",
            "constructor": {
              "name": "string",
              "description": "string",
              "promptHint": "string",
              "inputSchema": {
                "type": "Multimodal",
                "elements": [
                  {
                    "name": "string",
                    "schema": {
                      "type": "ComponentModel",
                      "elementType": {
                        "type": "Variant",
                        "name": "string",
                        "owner": "string",
                        "cases": [
                          {
                            "name": "string",
                            "typ": {}
                          }
                        ]
                      }
                    }
                  }
                ]
              }
            },
            "methods": [
              {
                "name": "string",
                "description": "string",
                "promptHint": "string",
                "inputSchema": {
                  "type": "Multimodal",
                  "elements": [
                    {
                      "name": "string",
                      "schema": {
                        "type": "ComponentModel",
                        "elementType": {
                          "type": "Variant",
                          "name": "string",
                          "owner": "string",
                          "cases": [
                            {}
                          ]
                        }
                      }
                    }
                  ]
                },
                "outputSchema": {
                  "type": "Multimodal",
                  "elements": [
                    {
                      "name": "string",
                      "schema": {
                        "type": "ComponentModel",
                        "elementType": {
                          "type": "Variant",
                          "name": "string",
                          "owner": "string",
                          "cases": [
                            {}
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            ]
          }
        ],
        "mode": "Durable"
      }
    ]
  },
  "createdAt": "2019-08-24T14:15:22Z",
  "files": [
    {
      "contentHash": "string",
      "path": "string",
      "permissions": "read-only"
    }
  ],
  "originalFiles": [
    {
      "contentHash": "string",
      "path": "string",
      "permissions": "read-only"
    }
  ],
  "installedPlugins": [
    {
      "environmentPluginGrantId": "5db98835-58e8-4101-8179-99ca47494b8d",
      "priority": 0,
      "parameters": {
        "property1": "string",
        "property2": "string"
      },
      "pluginRegistrationId": "a9a2014c-42b6-44bd-ae1f-d0cdfce42b62",
      "pluginName": "string",
      "pluginVersion": "string",
      "oplogProcessorComponentId": "b811b378-62ba-48d8-b00f-0701d4484807",
      "oplogProcessorComponentRevision": 0
    }
  ],
  "env": {
    "property1": "string",
    "property2": "string"
  },
  "originalEnv": {
    "property1": "string",
    "property2": "string"
  },
  "wasmHash": "string"
}

Get a component in the environment by name

PathMethodProtected
/v1/envs/{environment_id}/components/{component_name}GETYes

Example Response JSON

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "revision": 0,
  "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563",
  "componentName": "string",
  "hash": "string",
  "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
  "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
  "componentSize": 0,
  "metadata": {
    "exports": [
      {
        "type": "Function",
        "name": "string",
        "parameters": [
          {
            "name": "string",
            "typ": {
              "type": "Variant",
              "name": "string",
              "owner": "string",
              "cases": [
                {
                  "name": "string",
                  "typ": {}
                }
              ]
            }
          }
        ],
        "result": {
          "typ": {
            "type": "Variant",
            "name": "string",
            "owner": "string",
            "cases": [
              {
                "name": "string",
                "typ": {}
              }
            ]
          }
        }
      }
    ],
    "producers": [
      {
        "fields": [
          {
            "name": "string",
            "values": [
              {
                "name": "string",
                "version": "string"
              }
            ]
          }
        ]
      }
    ],
    "memories": [
      {
        "initial": 0,
        "maximum": 0
      }
    ],
    "binaryWit": "string",
    "rootPackageName": "string",
    "rootPackageVersion": "string",
    "dynamicLinking": {
      "property1": {
        "type": "WasmRpc",
        "targets": {
          "property1": {
            "interfaceName": "string",
            "componentName": "string"
          },
          "property2": {
            "interfaceName": "string",
            "componentName": "string"
          }
        }
      },
      "property2": {
        "type": "WasmRpc",
        "targets": {
          "property1": {
            "interfaceName": "string",
            "componentName": "string"
          },
          "property2": {
            "interfaceName": "string",
            "componentName": "string"
          }
        }
      }
    },
    "agentTypes": [
      {
        "typeName": "string",
        "description": "string",
        "constructor": {
          "name": "string",
          "description": "string",
          "promptHint": "string",
          "inputSchema": {
            "type": "Multimodal",
            "elements": [
              {
                "name": "string",
                "schema": {
                  "type": "ComponentModel",
                  "elementType": {
                    "type": "Variant",
                    "name": "string",
                    "owner": "string",
                    "cases": [
                      {
                        "name": "string",
                        "typ": {}
                      }
                    ]
                  }
                }
              }
            ]
          }
        },
        "methods": [
          {
            "name": "string",
            "description": "string",
            "promptHint": "string",
            "inputSchema": {
              "type": "Multimodal",
              "elements": [
                {
                  "name": "string",
                  "schema": {
                    "type": "ComponentModel",
                    "elementType": {
                      "type": "Variant",
                      "name": "string",
                      "owner": "string",
                      "cases": [
                        {
                          "name": "string",
                          "typ": {}
                        }
                      ]
                    }
                  }
                }
              ]
            },
            "outputSchema": {
              "type": "Multimodal",
              "elements": [
                {
                  "name": "string",
                  "schema": {
                    "type": "ComponentModel",
                    "elementType": {
                      "type": "Variant",
                      "name": "string",
                      "owner": "string",
                      "cases": [
                        {
                          "name": "string",
                          "typ": {}
                        }
                      ]
                    }
                  }
                }
              ]
            }
          }
        ],
        "dependencies": [
          {
            "typeName": "string",
            "description": "string",
            "constructor": {
              "name": "string",
              "description": "string",
              "promptHint": "string",
              "inputSchema": {
                "type": "Multimodal",
                "elements": [
                  {
                    "name": "string",
                    "schema": {
                      "type": "ComponentModel",
                      "elementType": {
                        "type": "Variant",
                        "name": "string",
                        "owner": "string",
                        "cases": [
                          {
                            "name": "string",
                            "typ": {}
                          }
                        ]
                      }
                    }
                  }
                ]
              }
            },
            "methods": [
              {
                "name": "string",
                "description": "string",
                "promptHint": "string",
                "inputSchema": {
                  "type": "Multimodal",
                  "elements": [
                    {
                      "name": "string",
                      "schema": {
                        "type": "ComponentModel",
                        "elementType": {
                          "type": "Variant",
                          "name": "string",
                          "owner": "string",
                          "cases": [
                            {}
                          ]
                        }
                      }
                    }
                  ]
                },
                "outputSchema": {
                  "type": "Multimodal",
                  "elements": [
                    {
                      "name": "string",
                      "schema": {
                        "type": "ComponentModel",
                        "elementType": {
                          "type": "Variant",
                          "name": "string",
                          "owner": "string",
                          "cases": [
                            {}
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            ]
          }
        ],
        "mode": "Durable"
      }
    ]
  },
  "createdAt": "2019-08-24T14:15:22Z",
  "files": [
    {
      "contentHash": "string",
      "path": "string",
      "permissions": "read-only"
    }
  ],
  "originalFiles": [
    {
      "contentHash": "string",
      "path": "string",
      "permissions": "read-only"
    }
  ],
  "installedPlugins": [
    {
      "environmentPluginGrantId": "5db98835-58e8-4101-8179-99ca47494b8d",
      "priority": 0,
      "parameters": {
        "property1": "string",
        "property2": "string"
      },
      "pluginRegistrationId": "a9a2014c-42b6-44bd-ae1f-d0cdfce42b62",
      "pluginName": "string",
      "pluginVersion": "string",
      "oplogProcessorComponentId": "b811b378-62ba-48d8-b00f-0701d4484807",
      "oplogProcessorComponentRevision": 0
    }
  ],
  "env": {
    "property1": "string",
    "property2": "string"
  },
  "originalEnv": {
    "property1": "string",
    "property2": "string"
  },
  "wasmHash": "string"
}

Get all components in a specific deployment

PathMethodProtected
/v1/envs/{environment_id}/deployments/{deployment_revision}/componentsGETYes

Example Response JSON

{
  "values": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "revision": 0,
      "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563",
      "componentName": "string",
      "hash": "string",
      "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
      "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
      "componentSize": 0,
      "metadata": {
        "exports": [
          {
            "type": "Function",
            "name": "string",
            "parameters": [
              {
                "name": "string",
                "typ": {
                  "type": "Variant",
                  "name": "string",
                  "owner": "string",
                  "cases": [
                    {
                      "name": "string",
                      "typ": {}
                    }
                  ]
                }
              }
            ],
            "result": {
              "typ": {
                "type": "Variant",
                "name": "string",
                "owner": "string",
                "cases": [
                  {
                    "name": "string",
                    "typ": {}
                  }
                ]
              }
            }
          }
        ],
        "producers": [
          {
            "fields": [
              {
                "name": "string",
                "values": [
                  {
                    "name": "string",
                    "version": "string"
                  }
                ]
              }
            ]
          }
        ],
        "memories": [
          {
            "initial": 0,
            "maximum": 0
          }
        ],
        "binaryWit": "string",
        "rootPackageName": "string",
        "rootPackageVersion": "string",
        "dynamicLinking": {
          "property1": {
            "type": "WasmRpc",
            "targets": {
              "property1": {
                "interfaceName": "string",
                "componentName": "string"
              },
              "property2": {
                "interfaceName": "string",
                "componentName": "string"
              }
            }
          },
          "property2": {
            "type": "WasmRpc",
            "targets": {
              "property1": {
                "interfaceName": "string",
                "componentName": "string"
              },
              "property2": {
                "interfaceName": "string",
                "componentName": "string"
              }
            }
          }
        },
        "agentTypes": [
          {
            "typeName": "string",
            "description": "string",
            "constructor": {
              "name": "string",
              "description": "string",
              "promptHint": "string",
              "inputSchema": {
                "type": "Multimodal",
                "elements": [
                  {
                    "name": "string",
                    "schema": {
                      "type": "ComponentModel",
                      "elementType": {
                        "type": "Variant",
                        "name": "string",
                        "owner": "string",
                        "cases": [
                          {
                            "name": "string",
                            "typ": {}
                          }
                        ]
                      }
                    }
                  }
                ]
              }
            },
            "methods": [
              {
                "name": "string",
                "description": "string",
                "promptHint": "string",
                "inputSchema": {
                  "type": "Multimodal",
                  "elements": [
                    {
                      "name": "string",
                      "schema": {
                        "type": "ComponentModel",
                        "elementType": {
                          "type": "Variant",
                          "name": "string",
                          "owner": "string",
                          "cases": [
                            {}
                          ]
                        }
                      }
                    }
                  ]
                },
                "outputSchema": {
                  "type": "Multimodal",
                  "elements": [
                    {
                      "name": "string",
                      "schema": {
                        "type": "ComponentModel",
                        "elementType": {
                          "type": "Variant",
                          "name": "string",
                          "owner": "string",
                          "cases": [
                            {}
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            ],
            "dependencies": [
              {
                "typeName": "string",
                "description": "string",
                "constructor": {
                  "name": "string",
                  "description": "string",
                  "promptHint": "string",
                  "inputSchema": {
                    "type": "Multimodal",
                    "elements": [
                      {
                        "name": "string",
                        "schema": {
                          "type": "ComponentModel",
                          "elementType": {
                            "type": "Variant",
                            "name": "string",
                            "owner": "string",
                            "cases": [
                              null
                            ]
                          }
                        }
                      }
                    ]
                  }
                },
                "methods": [
                  {
                    "name": "string",
                    "description": "string",
                    "promptHint": "string",
                    "inputSchema": {
                      "type": "Multimodal",
                      "elements": [
                        {
                          "name": "string",
                          "schema": {
                            "type": "ComponentModel",
                            "elementType": {
                              "cases": []
                            }
                          }
                        }
                      ]
                    },
                    "outputSchema": {
                      "type": "Multimodal",
                      "elements": [
                        {
                          "name": "string",
                          "schema": {
                            "type": "ComponentModel",
                            "elementType": {
                              "cases": []
                            }
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            ],
            "mode": "Durable"
          }
        ]
      },
      "createdAt": "2019-08-24T14:15:22Z",
      "files": [
        {
          "contentHash": "string",
          "path": "string",
          "permissions": "read-only"
        }
      ],
      "originalFiles": [
        {
          "contentHash": "string",
          "path": "string",
          "permissions": "read-only"
        }
      ],
      "installedPlugins": [
        {
          "environmentPluginGrantId": "5db98835-58e8-4101-8179-99ca47494b8d",
          "priority": 0,
          "parameters": {
            "property1": "string",
            "property2": "string"
          },
          "pluginRegistrationId": "a9a2014c-42b6-44bd-ae1f-d0cdfce42b62",
          "pluginName": "string",
          "pluginVersion": "string",
          "oplogProcessorComponentId": "b811b378-62ba-48d8-b00f-0701d4484807",
          "oplogProcessorComponentRevision": 0
        }
      ],
      "env": {
        "property1": "string",
        "property2": "string"
      },
      "originalEnv": {
        "property1": "string",
        "property2": "string"
      },
      "wasmHash": "string"
    }
  ]
}

Get component in a deployment by name

PathMethodProtected
/v1/envs/{environment_id}/deployments/{deployment_revision}/components/{component_name}GETYes

Example Response JSON

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "revision": 0,
  "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563",
  "componentName": "string",
  "hash": "string",
  "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
  "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
  "componentSize": 0,
  "metadata": {
    "exports": [
      {
        "type": "Function",
        "name": "string",
        "parameters": [
          {
            "name": "string",
            "typ": {
              "type": "Variant",
              "name": "string",
              "owner": "string",
              "cases": [
                {
                  "name": "string",
                  "typ": {}
                }
              ]
            }
          }
        ],
        "result": {
          "typ": {
            "type": "Variant",
            "name": "string",
            "owner": "string",
            "cases": [
              {
                "name": "string",
                "typ": {}
              }
            ]
          }
        }
      }
    ],
    "producers": [
      {
        "fields": [
          {
            "name": "string",
            "values": [
              {
                "name": "string",
                "version": "string"
              }
            ]
          }
        ]
      }
    ],
    "memories": [
      {
        "initial": 0,
        "maximum": 0
      }
    ],
    "binaryWit": "string",
    "rootPackageName": "string",
    "rootPackageVersion": "string",
    "dynamicLinking": {
      "property1": {
        "type": "WasmRpc",
        "targets": {
          "property1": {
            "interfaceName": "string",
            "componentName": "string"
          },
          "property2": {
            "interfaceName": "string",
            "componentName": "string"
          }
        }
      },
      "property2": {
        "type": "WasmRpc",
        "targets": {
          "property1": {
            "interfaceName": "string",
            "componentName": "string"
          },
          "property2": {
            "interfaceName": "string",
            "componentName": "string"
          }
        }
      }
    },
    "agentTypes": [
      {
        "typeName": "string",
        "description": "string",
        "constructor": {
          "name": "string",
          "description": "string",
          "promptHint": "string",
          "inputSchema": {
            "type": "Multimodal",
            "elements": [
              {
                "name": "string",
                "schema": {
                  "type": "ComponentModel",
                  "elementType": {
                    "type": "Variant",
                    "name": "string",
                    "owner": "string",
                    "cases": [
                      {
                        "name": "string",
                        "typ": {}
                      }
                    ]
                  }
                }
              }
            ]
          }
        },
        "methods": [
          {
            "name": "string",
            "description": "string",
            "promptHint": "string",
            "inputSchema": {
              "type": "Multimodal",
              "elements": [
                {
                  "name": "string",
                  "schema": {
                    "type": "ComponentModel",
                    "elementType": {
                      "type": "Variant",
                      "name": "string",
                      "owner": "string",
                      "cases": [
                        {
                          "name": "string",
                          "typ": {}
                        }
                      ]
                    }
                  }
                }
              ]
            },
            "outputSchema": {
              "type": "Multimodal",
              "elements": [
                {
                  "name": "string",
                  "schema": {
                    "type": "ComponentModel",
                    "elementType": {
                      "type": "Variant",
                      "name": "string",
                      "owner": "string",
                      "cases": [
                        {
                          "name": "string",
                          "typ": {}
                        }
                      ]
                    }
                  }
                }
              ]
            }
          }
        ],
        "dependencies": [
          {
            "typeName": "string",
            "description": "string",
            "constructor": {
              "name": "string",
              "description": "string",
              "promptHint": "string",
              "inputSchema": {
                "type": "Multimodal",
                "elements": [
                  {
                    "name": "string",
                    "schema": {
                      "type": "ComponentModel",
                      "elementType": {
                        "type": "Variant",
                        "name": "string",
                        "owner": "string",
                        "cases": [
                          {
                            "name": "string",
                            "typ": {}
                          }
                        ]
                      }
                    }
                  }
                ]
              }
            },
            "methods": [
              {
                "name": "string",
                "description": "string",
                "promptHint": "string",
                "inputSchema": {
                  "type": "Multimodal",
                  "elements": [
                    {
                      "name": "string",
                      "schema": {
                        "type": "ComponentModel",
                        "elementType": {
                          "type": "Variant",
                          "name": "string",
                          "owner": "string",
                          "cases": [
                            {}
                          ]
                        }
                      }
                    }
                  ]
                },
                "outputSchema": {
                  "type": "Multimodal",
                  "elements": [
                    {
                      "name": "string",
                      "schema": {
                        "type": "ComponentModel",
                        "elementType": {
                          "type": "Variant",
                          "name": "string",
                          "owner": "string",
                          "cases": [
                            {}
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            ]
          }
        ],
        "mode": "Durable"
      }
    ]
  },
  "createdAt": "2019-08-24T14:15:22Z",
  "files": [
    {
      "contentHash": "string",
      "path": "string",
      "permissions": "read-only"
    }
  ],
  "originalFiles": [
    {
      "contentHash": "string",
      "path": "string",
      "permissions": "read-only"
    }
  ],
  "installedPlugins": [
    {
      "environmentPluginGrantId": "5db98835-58e8-4101-8179-99ca47494b8d",
      "priority": 0,
      "parameters": {
        "property1": "string",
        "property2": "string"
      },
      "pluginRegistrationId": "a9a2014c-42b6-44bd-ae1f-d0cdfce42b62",
      "pluginName": "string",
      "pluginVersion": "string",
      "oplogProcessorComponentId": "b811b378-62ba-48d8-b00f-0701d4484807",
      "oplogProcessorComponentRevision": 0
    }
  ],
  "env": {
    "property1": "string",
    "property2": "string"
  },
  "originalEnv": {
    "property1": "string",
    "property2": "string"
  },
  "wasmHash": "string"
}

Get a component by id

PathMethodProtected
/v1/components/{component_id}GETYes

Example Response JSON

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "revision": 0,
  "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563",
  "componentName": "string",
  "hash": "string",
  "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
  "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
  "componentSize": 0,
  "metadata": {
    "exports": [
      {
        "type": "Function",
        "name": "string",
        "parameters": [
          {
            "name": "string",
            "typ": {
              "type": "Variant",
              "name": "string",
              "owner": "string",
              "cases": [
                {
                  "name": "string",
                  "typ": {}
                }
              ]
            }
          }
        ],
        "result": {
          "typ": {
            "type": "Variant",
            "name": "string",
            "owner": "string",
            "cases": [
              {
                "name": "string",
                "typ": {}
              }
            ]
          }
        }
      }
    ],
    "producers": [
      {
        "fields": [
          {
            "name": "string",
            "values": [
              {
                "name": "string",
                "version": "string"
              }
            ]
          }
        ]
      }
    ],
    "memories": [
      {
        "initial": 0,
        "maximum": 0
      }
    ],
    "binaryWit": "string",
    "rootPackageName": "string",
    "rootPackageVersion": "string",
    "dynamicLinking": {
      "property1": {
        "type": "WasmRpc",
        "targets": {
          "property1": {
            "interfaceName": "string",
            "componentName": "string"
          },
          "property2": {
            "interfaceName": "string",
            "componentName": "string"
          }
        }
      },
      "property2": {
        "type": "WasmRpc",
        "targets": {
          "property1": {
            "interfaceName": "string",
            "componentName": "string"
          },
          "property2": {
            "interfaceName": "string",
            "componentName": "string"
          }
        }
      }
    },
    "agentTypes": [
      {
        "typeName": "string",
        "description": "string",
        "constructor": {
          "name": "string",
          "description": "string",
          "promptHint": "string",
          "inputSchema": {
            "type": "Multimodal",
            "elements": [
              {
                "name": "string",
                "schema": {
                  "type": "ComponentModel",
                  "elementType": {
                    "type": "Variant",
                    "name": "string",
                    "owner": "string",
                    "cases": [
                      {
                        "name": "string",
                        "typ": {}
                      }
                    ]
                  }
                }
              }
            ]
          }
        },
        "methods": [
          {
            "name": "string",
            "description": "string",
            "promptHint": "string",
            "inputSchema": {
              "type": "Multimodal",
              "elements": [
                {
                  "name": "string",
                  "schema": {
                    "type": "ComponentModel",
                    "elementType": {
                      "type": "Variant",
                      "name": "string",
                      "owner": "string",
                      "cases": [
                        {
                          "name": "string",
                          "typ": {}
                        }
                      ]
                    }
                  }
                }
              ]
            },
            "outputSchema": {
              "type": "Multimodal",
              "elements": [
                {
                  "name": "string",
                  "schema": {
                    "type": "ComponentModel",
                    "elementType": {
                      "type": "Variant",
                      "name": "string",
                      "owner": "string",
                      "cases": [
                        {
                          "name": "string",
                          "typ": {}
                        }
                      ]
                    }
                  }
                }
              ]
            }
          }
        ],
        "dependencies": [
          {
            "typeName": "string",
            "description": "string",
            "constructor": {
              "name": "string",
              "description": "string",
              "promptHint": "string",
              "inputSchema": {
                "type": "Multimodal",
                "elements": [
                  {
                    "name": "string",
                    "schema": {
                      "type": "ComponentModel",
                      "elementType": {
                        "type": "Variant",
                        "name": "string",
                        "owner": "string",
                        "cases": [
                          {
                            "name": "string",
                            "typ": {}
                          }
                        ]
                      }
                    }
                  }
                ]
              }
            },
            "methods": [
              {
                "name": "string",
                "description": "string",
                "promptHint": "string",
                "inputSchema": {
                  "type": "Multimodal",
                  "elements": [
                    {
                      "name": "string",
                      "schema": {
                        "type": "ComponentModel",
                        "elementType": {
                          "type": "Variant",
                          "name": "string",
                          "owner": "string",
                          "cases": [
                            {}
                          ]
                        }
                      }
                    }
                  ]
                },
                "outputSchema": {
                  "type": "Multimodal",
                  "elements": [
                    {
                      "name": "string",
                      "schema": {
                        "type": "ComponentModel",
                        "elementType": {
                          "type": "Variant",
                          "name": "string",
                          "owner": "string",
                          "cases": [
                            {}
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            ]
          }
        ],
        "mode": "Durable"
      }
    ]
  },
  "createdAt": "2019-08-24T14:15:22Z",
  "files": [
    {
      "contentHash": "string",
      "path": "string",
      "permissions": "read-only"
    }
  ],
  "originalFiles": [
    {
      "contentHash": "string",
      "path": "string",
      "permissions": "read-only"
    }
  ],
  "installedPlugins": [
    {
      "environmentPluginGrantId": "5db98835-58e8-4101-8179-99ca47494b8d",
      "priority": 0,
      "parameters": {
        "property1": "string",
        "property2": "string"
      },
      "pluginRegistrationId": "a9a2014c-42b6-44bd-ae1f-d0cdfce42b62",
      "pluginName": "string",
      "pluginVersion": "string",
      "oplogProcessorComponentId": "b811b378-62ba-48d8-b00f-0701d4484807",
      "oplogProcessorComponentRevision": 0
    }
  ],
  "env": {
    "property1": "string",
    "property2": "string"
  },
  "originalEnv": {
    "property1": "string",
    "property2": "string"
  },
  "wasmHash": "string"
}

Update the component

PathMethodProtected
/v1/components/{component_id}DELETEYes

Query Parameters

NameTypeRequiredDescription
current_revisionintegerYes-

Update a component

PathMethodProtected
/v1/components/{component_id}PATCHYes

The request body is encoded as multipart/form-data containing metadata and the WASM binary.

Request Form: multipart/form-data

Make sure to include Content-Type: multipart/form-data Header

Field metadata: JSON

{
  "currentRevision": 0,
  "removedFiles": [],
  "newFileOptions": {},
  "dynamicLinking": {
    "property1": {
      "type": "WasmRpc",
      "targets": {
        "property1": {
          "interfaceName": "string",
          "componentName": "string"
        },
        "property2": {
          "interfaceName": "string",
          "componentName": "string"
        }
      }
    },
    "property2": {
      "type": "WasmRpc",
      "targets": {
        "property1": {
          "interfaceName": "string",
          "componentName": "string"
        },
        "property2": {
          "interfaceName": "string",
          "componentName": "string"
        }
      }
    }
  },
  "env": {
    "property1": "string",
    "property2": "string"
  },
  "agentTypes": [
    {
      "typeName": "string",
      "description": "string",
      "constructor": {
        "name": "string",
        "description": "string",
        "promptHint": "string",
        "inputSchema": {
          "type": "Multimodal",
          "elements": [
            {
              "name": "string",
              "schema": {
                "type": "ComponentModel",
                "elementType": {
                  "type": "Variant",
                  "name": "string",
                  "owner": "string",
                  "cases": [
                    {
                      "name": "string",
                      "typ": {}
                    }
                  ]
                }
              }
            }
          ]
        }
      },
      "methods": [
        {
          "name": "string",
          "description": "string",
          "promptHint": "string",
          "inputSchema": {
            "type": "Multimodal",
            "elements": [
              {
                "name": "string",
                "schema": {
                  "type": "ComponentModel",
                  "elementType": {
                    "type": "Variant",
                    "name": "string",
                    "owner": "string",
                    "cases": [
                      {
                        "name": "string",
                        "typ": {}
                      }
                    ]
                  }
                }
              }
            ]
          },
          "outputSchema": {
            "type": "Multimodal",
            "elements": [
              {
                "name": "string",
                "schema": {
                  "type": "ComponentModel",
                  "elementType": {
                    "type": "Variant",
                    "name": "string",
                    "owner": "string",
                    "cases": [
                      {
                        "name": "string",
                        "typ": {}
                      }
                    ]
                  }
                }
              }
            ]
          }
        }
      ],
      "dependencies": [
        {
          "typeName": "string",
          "description": "string",
          "constructor": {
            "name": "string",
            "description": "string",
            "promptHint": "string",
            "inputSchema": {
              "type": "Multimodal",
              "elements": [
                {
                  "name": "string",
                  "schema": {
                    "type": "ComponentModel",
                    "elementType": {
                      "type": "Variant",
                      "name": "string",
                      "owner": "string",
                      "cases": [
                        {
                          "name": "string",
                          "typ": {}
                        }
                      ]
                    }
                  }
                }
              ]
            }
          },
          "methods": [
            {
              "name": "string",
              "description": "string",
              "promptHint": "string",
              "inputSchema": {
                "type": "Multimodal",
                "elements": [
                  {
                    "name": "string",
                    "schema": {
                      "type": "ComponentModel",
                      "elementType": {
                        "type": "Variant",
                        "name": "string",
                        "owner": "string",
                        "cases": [
                          {
                            "name": "string",
                            "typ": {}
                          }
                        ]
                      }
                    }
                  }
                ]
              },
              "outputSchema": {
                "type": "Multimodal",
                "elements": [
                  {
                    "name": "string",
                    "schema": {
                      "type": "ComponentModel",
                      "elementType": {
                        "type": "Variant",
                        "name": "string",
                        "owner": "string",
                        "cases": [
                          {
                            "name": "string",
                            "typ": {}
                          }
                        ]
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      ],
      "mode": "Durable"
    }
  ],
  "pluginUpdates": []
}

Field newComponentWasm: string binary

Field newFiles: string binary

Example Response JSON

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "revision": 0,
  "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563",
  "componentName": "string",
  "hash": "string",
  "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
  "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
  "componentSize": 0,
  "metadata": {
    "exports": [
      {
        "type": "Function",
        "name": "string",
        "parameters": [
          {
            "name": "string",
            "typ": {
              "type": "Variant",
              "name": "string",
              "owner": "string",
              "cases": [
                {
                  "name": "string",
                  "typ": {}
                }
              ]
            }
          }
        ],
        "result": {
          "typ": {
            "type": "Variant",
            "name": "string",
            "owner": "string",
            "cases": [
              {
                "name": "string",
                "typ": {}
              }
            ]
          }
        }
      }
    ],
    "producers": [
      {
        "fields": [
          {
            "name": "string",
            "values": [
              {
                "name": "string",
                "version": "string"
              }
            ]
          }
        ]
      }
    ],
    "memories": [
      {
        "initial": 0,
        "maximum": 0
      }
    ],
    "binaryWit": "string",
    "rootPackageName": "string",
    "rootPackageVersion": "string",
    "dynamicLinking": {
      "property1": {
        "type": "WasmRpc",
        "targets": {
          "property1": {
            "interfaceName": "string",
            "componentName": "string"
          },
          "property2": {
            "interfaceName": "string",
            "componentName": "string"
          }
        }
      },
      "property2": {
        "type": "WasmRpc",
        "targets": {
          "property1": {
            "interfaceName": "string",
            "componentName": "string"
          },
          "property2": {
            "interfaceName": "string",
            "componentName": "string"
          }
        }
      }
    },
    "agentTypes": [
      {
        "typeName": "string",
        "description": "string",
        "constructor": {
          "name": "string",
          "description": "string",
          "promptHint": "string",
          "inputSchema": {
            "type": "Multimodal",
            "elements": [
              {
                "name": "string",
                "schema": {
                  "type": "ComponentModel",
                  "elementType": {
                    "type": "Variant",
                    "name": "string",
                    "owner": "string",
                    "cases": [
                      {
                        "name": "string",
                        "typ": {}
                      }
                    ]
                  }
                }
              }
            ]
          }
        },
        "methods": [
          {
            "name": "string",
            "description": "string",
            "promptHint": "string",
            "inputSchema": {
              "type": "Multimodal",
              "elements": [
                {
                  "name": "string",
                  "schema": {
                    "type": "ComponentModel",
                    "elementType": {
                      "type": "Variant",
                      "name": "string",
                      "owner": "string",
                      "cases": [
                        {
                          "name": "string",
                          "typ": {}
                        }
                      ]
                    }
                  }
                }
              ]
            },
            "outputSchema": {
              "type": "Multimodal",
              "elements": [
                {
                  "name": "string",
                  "schema": {
                    "type": "ComponentModel",
                    "elementType": {
                      "type": "Variant",
                      "name": "string",
                      "owner": "string",
                      "cases": [
                        {
                          "name": "string",
                          "typ": {}
                        }
                      ]
                    }
                  }
                }
              ]
            }
          }
        ],
        "dependencies": [
          {
            "typeName": "string",
            "description": "string",
            "constructor": {
              "name": "string",
              "description": "string",
              "promptHint": "string",
              "inputSchema": {
                "type": "Multimodal",
                "elements": [
                  {
                    "name": "string",
                    "schema": {
                      "type": "ComponentModel",
                      "elementType": {
                        "type": "Variant",
                        "name": "string",
                        "owner": "string",
                        "cases": [
                          {
                            "name": "string",
                            "typ": {}
                          }
                        ]
                      }
                    }
                  }
                ]
              }
            },
            "methods": [
              {
                "name": "string",
                "description": "string",
                "promptHint": "string",
                "inputSchema": {
                  "type": "Multimodal",
                  "elements": [
                    {
                      "name": "string",
                      "schema": {
                        "type": "ComponentModel",
                        "elementType": {
                          "type": "Variant",
                          "name": "string",
                          "owner": "string",
                          "cases": [
                            {}
                          ]
                        }
                      }
                    }
                  ]
                },
                "outputSchema": {
                  "type": "Multimodal",
                  "elements": [
                    {
                      "name": "string",
                      "schema": {
                        "type": "ComponentModel",
                        "elementType": {
                          "type": "Variant",
                          "name": "string",
                          "owner": "string",
                          "cases": [
                            {}
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            ]
          }
        ],
        "mode": "Durable"
      }
    ]
  },
  "createdAt": "2019-08-24T14:15:22Z",
  "files": [
    {
      "contentHash": "string",
      "path": "string",
      "permissions": "read-only"
    }
  ],
  "originalFiles": [
    {
      "contentHash": "string",
      "path": "string",
      "permissions": "read-only"
    }
  ],
  "installedPlugins": [
    {
      "environmentPluginGrantId": "5db98835-58e8-4101-8179-99ca47494b8d",
      "priority": 0,
      "parameters": {
        "property1": "string",
        "property2": "string"
      },
      "pluginRegistrationId": "a9a2014c-42b6-44bd-ae1f-d0cdfce42b62",
      "pluginName": "string",
      "pluginVersion": "string",
      "oplogProcessorComponentId": "b811b378-62ba-48d8-b00f-0701d4484807",
      "oplogProcessorComponentRevision": 0
    }
  ],
  "env": {
    "property1": "string",
    "property2": "string"
  },
  "originalEnv": {
    "property1": "string",
    "property2": "string"
  },
  "wasmHash": "string"
}

Get specific revision of a component

PathMethodProtected
/v1/components/{component_id}/revisions/{revision}GETYes

Example Response JSON

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "revision": 0,
  "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563",
  "componentName": "string",
  "hash": "string",
  "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
  "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
  "componentSize": 0,
  "metadata": {
    "exports": [
      {
        "type": "Function",
        "name": "string",
        "parameters": [
          {
            "name": "string",
            "typ": {
              "type": "Variant",
              "name": "string",
              "owner": "string",
              "cases": [
                {
                  "name": "string",
                  "typ": {}
                }
              ]
            }
          }
        ],
        "result": {
          "typ": {
            "type": "Variant",
            "name": "string",
            "owner": "string",
            "cases": [
              {
                "name": "string",
                "typ": {}
              }
            ]
          }
        }
      }
    ],
    "producers": [
      {
        "fields": [
          {
            "name": "string",
            "values": [
              {
                "name": "string",
                "version": "string"
              }
            ]
          }
        ]
      }
    ],
    "memories": [
      {
        "initial": 0,
        "maximum": 0
      }
    ],
    "binaryWit": "string",
    "rootPackageName": "string",
    "rootPackageVersion": "string",
    "dynamicLinking": {
      "property1": {
        "type": "WasmRpc",
        "targets": {
          "property1": {
            "interfaceName": "string",
            "componentName": "string"
          },
          "property2": {
            "interfaceName": "string",
            "componentName": "string"
          }
        }
      },
      "property2": {
        "type": "WasmRpc",
        "targets": {
          "property1": {
            "interfaceName": "string",
            "componentName": "string"
          },
          "property2": {
            "interfaceName": "string",
            "componentName": "string"
          }
        }
      }
    },
    "agentTypes": [
      {
        "typeName": "string",
        "description": "string",
        "constructor": {
          "name": "string",
          "description": "string",
          "promptHint": "string",
          "inputSchema": {
            "type": "Multimodal",
            "elements": [
              {
                "name": "string",
                "schema": {
                  "type": "ComponentModel",
                  "elementType": {
                    "type": "Variant",
                    "name": "string",
                    "owner": "string",
                    "cases": [
                      {
                        "name": "string",
                        "typ": {}
                      }
                    ]
                  }
                }
              }
            ]
          }
        },
        "methods": [
          {
            "name": "string",
            "description": "string",
            "promptHint": "string",
            "inputSchema": {
              "type": "Multimodal",
              "elements": [
                {
                  "name": "string",
                  "schema": {
                    "type": "ComponentModel",
                    "elementType": {
                      "type": "Variant",
                      "name": "string",
                      "owner": "string",
                      "cases": [
                        {
                          "name": "string",
                          "typ": {}
                        }
                      ]
                    }
                  }
                }
              ]
            },
            "outputSchema": {
              "type": "Multimodal",
              "elements": [
                {
                  "name": "string",
                  "schema": {
                    "type": "ComponentModel",
                    "elementType": {
                      "type": "Variant",
                      "name": "string",
                      "owner": "string",
                      "cases": [
                        {
                          "name": "string",
                          "typ": {}
                        }
                      ]
                    }
                  }
                }
              ]
            }
          }
        ],
        "dependencies": [
          {
            "typeName": "string",
            "description": "string",
            "constructor": {
              "name": "string",
              "description": "string",
              "promptHint": "string",
              "inputSchema": {
                "type": "Multimodal",
                "elements": [
                  {
                    "name": "string",
                    "schema": {
                      "type": "ComponentModel",
                      "elementType": {
                        "type": "Variant",
                        "name": "string",
                        "owner": "string",
                        "cases": [
                          {
                            "name": "string",
                            "typ": {}
                          }
                        ]
                      }
                    }
                  }
                ]
              }
            },
            "methods": [
              {
                "name": "string",
                "description": "string",
                "promptHint": "string",
                "inputSchema": {
                  "type": "Multimodal",
                  "elements": [
                    {
                      "name": "string",
                      "schema": {
                        "type": "ComponentModel",
                        "elementType": {
                          "type": "Variant",
                          "name": "string",
                          "owner": "string",
                          "cases": [
                            {}
                          ]
                        }
                      }
                    }
                  ]
                },
                "outputSchema": {
                  "type": "Multimodal",
                  "elements": [
                    {
                      "name": "string",
                      "schema": {
                        "type": "ComponentModel",
                        "elementType": {
                          "type": "Variant",
                          "name": "string",
                          "owner": "string",
                          "cases": [
                            {}
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            ]
          }
        ],
        "mode": "Durable"
      }
    ]
  },
  "createdAt": "2019-08-24T14:15:22Z",
  "files": [
    {
      "contentHash": "string",
      "path": "string",
      "permissions": "read-only"
    }
  ],
  "originalFiles": [
    {
      "contentHash": "string",
      "path": "string",
      "permissions": "read-only"
    }
  ],
  "installedPlugins": [
    {
      "environmentPluginGrantId": "5db98835-58e8-4101-8179-99ca47494b8d",
      "priority": 0,
      "parameters": {
        "property1": "string",
        "property2": "string"
      },
      "pluginRegistrationId": "a9a2014c-42b6-44bd-ae1f-d0cdfce42b62",
      "pluginName": "string",
      "pluginVersion": "string",
      "oplogProcessorComponentId": "b811b378-62ba-48d8-b00f-0701d4484807",
      "oplogProcessorComponentRevision": 0
    }
  ],
  "env": {
    "property1": "string",
    "property2": "string"
  },
  "originalEnv": {
    "property1": "string",
    "property2": "string"
  },
  "wasmHash": "string"
}

Get the component wasm binary of a specific revision

PathMethodProtected
/v1/components/{component_id}/revisions/{revision}/wasmGETYes

Response Body: WASM Binary File

Component API Errors

Status CodeDescriptionBody
400Invalid request, returning with a list of issues detected in the request{"errors":["string"]}
401Unauthorized request{"error":"string"}
403Forbidden Request{"error":"string"}
404Entity not found{"error":"string"}
409{"error":"string"}
422Limits of the plan exceeded{"error":"string"}
500Internal server error{"error":"string"}