Skip to content

Apps, Actions, Blueprints e Types API

Estes endpoints descrevem o builder/registry layer: apps, actions, blueprints e shared types. São usados para service integrations e definições reutilizáveis de resource/action.

Apps

GET /api/v2/apps

Devolve apps.

Argumentos:

ArgumentoLocalizaçãoDescrição
projectQueryFiltro opcional por project fullname.
workspaceQueryFiltro opcional por workspace fullname.

Payload: nenhum.

Resposta: AppView[].

GET /api/v2/apps/:fullname

Devolve uma app.

Argumentos: fullname como path argument.

Payload: nenhum.

Resposta: AppView.

PUT /api/v2/apps/:fullname

Cria ou atualiza uma app.

Payload:

CampoObrigatórioDescrição
nameSimApp name.
fullnameSimApp fullname.
projectSimProject fullname.
workspaceSimWorkspace fullname.
urlSimApp URL.
tagsNãoTags.
labelsNãoLabels.

Resposta: AppView.

DELETE /api/v2/apps/:fullname

Elimina uma app.

Argumentos: fullname como path argument.

Payload: nenhum.

Resposta: OperationResult.

Actions

GET /api/v2/actions

Devolve actions.

Argumentos:

ArgumentoLocalizaçãoDescrição
projectQueryFiltro opcional por project.
workspaceQueryFiltro opcional por workspace.

Payload: nenhum.

Resposta: ActionView[].

GET /api/v2/actions/:fullname

Devolve uma action.

Argumentos: fullname como path argument.

Payload: nenhum.

Resposta: ActionView.

PUT /api/v2/actions/:fullname

Cria ou atualiza uma action.

Payload:

CampoObrigatórioDescrição
nameSimAction name.
fullnameSimAction fullname.
projectSimProject fullname.
workspaceSimWorkspace fullname.
backendSimAction backend definition.
valuesSimAction values schema.
overridesSimCampos que a action pode sobrescrever.
tagsNãoTags.
labelsNãoLabels.
metaSimAction metadata.

Resposta: ActionView.

DELETE /api/v2/actions/:fullname

Elimina uma action.

Argumentos: fullname como path argument.

Payload: nenhum.

Resposta: OperationResult.

Blueprints

GET /api/v2/blueprints

Devolve blueprints.

Argumentos:

ArgumentoLocalizaçãoDescrição
appQueryFiltro opcional por app fullname.
projectQueryFiltro opcional por project fullname.
workspaceQueryFiltro opcional por workspace fullname.

Payload: nenhum.

Resposta: BlueprintView[].

GET /api/v2/blueprints/:fullname

Devolve um blueprint.

Argumentos: fullname como path argument.

Payload: nenhum.

Resposta: BlueprintView.

PUT /api/v2/blueprints/:fullname

Cria ou atualiza um blueprint.

Payload:

CampoObrigatórioDescrição
nameSimBlueprint name.
fullnameSimBlueprint fullname.
appSimApp fullname.
projectSimProject fullname.
workspaceSimWorkspace fullname.
typeSimplain ou external.
dataNãoObject spec.
tagsNãoTags.
labelsNãoLabels.
meta.titleNãoTítulo visível.
meta.descriptionNãoDescrição.

Resposta: BlueprintView.

DELETE /api/v2/blueprints/:fullname

Elimina um blueprint.

Argumentos: fullname como path argument.

Payload: nenhum.

Resposta: OperationResult.

Types

GET /api/v2/types

Devolve shared types.

Argumentos:

ArgumentoLocalizaçãoDescrição
projectQueryFiltro opcional por project.
workspaceQueryFiltro opcional por workspace.
statusQuerynot_tested, ready ou broken.
palletQueryFiltro opcional por pallet.
kindQueryevent, call, transaction ou timer.
dataSourceQueryFiltro opcional por data source.

Payload: nenhum.

Resposta: SharedTypeView[].

GET /api/v2/types/:fullname

Devolve um shared type.

Argumentos: fullname como path argument.

Payload: nenhum.

Resposta: SharedTypeView.

PUT /api/v2/types/:fullname

Cria ou atualiza um shared type.

Payload:

CampoObrigatórioDescrição
nameSimShared type collection name.
fullnameSimShared type fullname.
projectSimProject fullname.
workspaceSimWorkspace fullname.
schemasSimObjeto com named type schemas.
tagsNãoTags.
labelsNãoLabels.
metaNãoMetadata object.

Resposta: SharedTypeView.

DELETE /api/v2/types/:fullname

Elimina um shared type.

Argumentos: fullname como path argument.

Payload: nenhum.

Resposta: OperationResult.