latestOpenAPI 3.0.02026-08-0819201.1 MB

411f9f98c01e

scheduled executions

Starts the process of retrieving dynamic metadata for the specified component.

You need to have workspaces.flow.edit permission to access this resource. The retrieval of metamodel is an asynchronous process because it is accomplished by sending a request to an external API.

post/components/{component_id}/versions/{git_revision}/dynamic-metadata

Path parameters

component_idstring required

Component identifier

git_revisionstring required

Revision of the component’s build. For latest version use latest.

Request body

Example request

{
  "data": {
    "attributes": {
      "module": "createPetWithPromiseUsingDynamicMetadata"
    },
    "relationships": {
      "workspace": {
        "data": {
          "id": "5b4f337bff4304610483ba67"
        }
      },
      "credential": {
        "data": {
          "id": "5b4f337bff4304610483ba67"
        }
      },
      "agent": {
        "data": {
          "id": "5b4f337bff4304610483ba67"
        }
      }
    }
  }
}

Response

Accepted

metaobject required

Example response

{
  "data": {
    "id": "5b4f337bff4304610483ba67",
    "links": {
      "self": "/v2/exec/result/5b4f337bff4304610483ba67"
    },
    "attributes": {
      "status": "Pending request, waiting other process"
    }
  }
}