Skip to content

Apps, Actions, Blueprints and Types API

Эти endpoints описывают builder/registry layer: apps, actions, blueprints and shared types. Они используются для service integrations и reusable resource/action definitions.

Apps

GET /api/v2/apps

Возвращает apps.

Arguments:

ArgumentLocationDescription
projectQueryOptional project fullname filter.
workspaceQueryOptional workspace fullname filter.

Payload: нет.

Response: array of apps.

GET /api/v2/apps/:fullname

Возвращает app.

Arguments: fullname path argument.

Payload: нет.

Response: app object.

PUT /api/v2/apps/:fullname

Создает или обновляет app.

Payload:

FieldRequiredDescription
nameДаApp name.
fullnameДаApp fullname.
projectДаProject fullname.
workspaceДаWorkspace fullname.
urlДаApp URL.
tagsНетTags.
labelsНетLabels.

Response: saved app.

DELETE /api/v2/apps/:fullname

Удаляет app.

Arguments: fullname path argument.

Payload: нет.

Response: operation result.

Actions

GET /api/v2/actions

Возвращает actions.

Arguments:

ArgumentLocationDescription
projectQueryOptional project filter.
workspaceQueryOptional workspace filter.

Payload: нет.

Response: array of actions.

GET /api/v2/actions/:fullname

Возвращает action.

Arguments: fullname path argument.

Payload: нет.

Response: action object.

PUT /api/v2/actions/:fullname

Создает или обновляет action.

Payload:

FieldRequiredDescription
nameДаAction name.
fullnameДаAction fullname.
projectДаProject fullname.
workspaceДаWorkspace fullname.
backendДаAction backend definition.
valuesДаAction values schema.
overridesДаFields that action can override.
tagsНетTags.
labelsНетLabels.
metaДаAction metadata.

Response: saved action.

DELETE /api/v2/actions/:fullname

Удаляет action.

Arguments: fullname path argument.

Payload: нет.

Response: operation result.

Blueprints

GET /api/v2/blueprints

Возвращает blueprints.

Arguments:

ArgumentLocationDescription
appQueryOptional app fullname filter.
projectQueryOptional project fullname filter.
workspaceQueryOptional workspace fullname filter.

Payload: нет.

Response: array of blueprints.

GET /api/v2/blueprints/:fullname

Возвращает blueprint.

Arguments: fullname path argument.

Payload: нет.

Response: blueprint object.

PUT /api/v2/blueprints/:fullname

Создает или обновляет blueprint.

Payload:

FieldRequiredDescription
nameДаBlueprint name.
fullnameДаBlueprint fullname.
appДаApp fullname.
projectДаProject fullname.
workspaceДаWorkspace fullname.
typeДаplain или external.
dataНетObject spec.
tagsНетTags.
labelsНетLabels.
meta.titleНетVisible title.
meta.descriptionНетDescription.

Response: saved blueprint.

DELETE /api/v2/blueprints/:fullname

Удаляет blueprint.

Arguments: fullname path argument.

Payload: нет.

Response: operation result.

Types

GET /api/v2/types

Возвращает shared types.

Arguments:

ArgumentLocationDescription
projectQueryOptional project filter.
workspaceQueryOptional workspace filter.
statusQuerynot_tested, ready or broken.
palletQueryOptional pallet filter.
kindQueryevent, call, transaction or timer.
dataSourceQueryOptional data source filter.

Payload: нет.

Response: array of shared types.

GET /api/v2/types/:fullname

Возвращает shared type.

Arguments: fullname path argument.

Payload: нет.

Response: shared type object.

PUT /api/v2/types/:fullname

Создает или обновляет shared type.

Payload:

FieldRequiredDescription
nameДаShared type collection name.
fullnameДаShared type fullname.
projectДаProject fullname.
workspaceДаWorkspace fullname.
schemasДаObject with named type schemas.
tagsНетTags.
labelsНетLabels.
metaНетMetadata object.

Response: saved shared type.

DELETE /api/v2/types/:fullname

Deletes shared type.

Arguments: fullname path argument.

Payload: нет.

Response: operation result.