V2 API to build and deploy Waylay functions (plugs, webscripts, BYOML models).
This Python package is automatically generated based on the Waylay Registry OpenAPI specification (API version: 2.14.2) For more information, please visit the openapi specification.
It consists of two sub-packages that are both plugins for the waylay-sdk-core package.
- The
waylay-sdk-registry
sub-package contains the Registry api methods. - The
waylay-sdk-registry-types
sub-package is an extension that contains the typed model classes for all path params, query params, body params and responses for each of the api methods inwaylay-sdk-registry
.
This package requires Python 3.9+.
Normally this package is installed together with support for other services using the waylay-sdk umbrella package:
-
pip install waylay-sdk
will installwaylay-sdk-registry
together with the SDK api packages for other services. -
pip install waylay-sdk[types-registry]
will additionally install the types packagewaylay-sdk-registry-types
. -
pip install waylay-sdk[types]
will install the types packages for this and all other services.
Alternatively, you can install support for this registry service only, installing or extending an existing waylay-sdk-core:
-
pip install waylay-sdk-registry
to only install api support for registry. -
pip install waylay-sdk-registry[types]
to additionally install type support for registry.
from pprint import pprint
# Import the waylay-client from the waylay-sdk-core package
from waylay.sdk.client import WaylayClient
from waylay.sdk.api.api_exceptions import ApiError
# Intialize a waylay client instance
waylay_client = WaylayClient.from_profile()
# Note that the typed model classes for responses/parameters/... are only available when `waylay-sdk-registry-types` is installed
from waylay.services.registry.models.root_page_response import RootPageResponse
try:
# Get Service Status
# calls `GET /registry/v2/`
api_response = await waylay_client.registry.about.get(
)
print("The response of registry.about.get:\n")
pprint(api_response)
except ApiError as e:
print("Exception when calling registry.about.get: %s\n" % e)
For more information, please visit the Waylay API documentation.
All URIs are relative to https://api.waylay.io
Class | Method | HTTP request | Description |
---|---|---|---|
AboutApi | get | GET /registry/v2/ | Get Service Status |
JobsApi | events | GET /registry/v2/jobs/events | Stream Events |
JobsApi | get | GET /registry/v2/jobs/{type}/{id} | Get Job |
JobsApi | list | GET /registry/v2/jobs/ | List Jobs |
ModelsApi | create | POST /registry/v2/models/ | Create Model |
ModelsApi | delete_asset | DELETE /registry/v2/models/{name}/versions/{version}/content/{wildcard} | Delete Model Asset |
ModelsApi | get_archive | GET /registry/v2/models/{name}/versions/{version}/content | Get Model Archive |
ModelsApi | get_asset | GET /registry/v2/models/{name}/versions/{version}/content/{wildcard} | Get File From Model Archive |
ModelsApi | get_latest | GET /registry/v2/models/{name} | Get Latest Model Version |
ModelsApi | get | GET /registry/v2/models/{name}/versions/{version} | Get Model Version |
ModelsApi | jobs | GET /registry/v2/models/{name}/versions/{version}/jobs | List Model Jobs |
ModelsApi | list | GET /registry/v2/models/ | List Models |
ModelsApi | list_versions | GET /registry/v2/models/{name}/versions | List Model Versions |
ModelsApi | patch_metadata | PATCH /registry/v2/models/{name}/versions/{version}/metadata | Patch Model Metadata |
ModelsApi | publish | POST /registry/v2/models/{name}/versions/{version}/publish | Publish Draft Model |
ModelsApi | rebuild | POST /registry/v2/models/{name}/versions/{version}/rebuild | Rebuild Model |
ModelsApi | remove_version | DELETE /registry/v2/models/{name}/versions/{version} | Remove Model Version |
ModelsApi | remove_versions | DELETE /registry/v2/models/{name} | Remove Model |
ModelsApi | update_asset | PUT /registry/v2/models/{name}/versions/{version}/content/{wildcard} | Update Model Asset |
ModelsApi | update_assets | PUT /registry/v2/models/{name}/versions/{version}/content | Update Model Assets |
ModelsApi | verify | POST /registry/v2/models/{name}/versions/{version}/verify | Verify Health Of Model |
PlugsApi | create | POST /registry/v2/plugs/ | Create Plug |
PlugsApi | delete_asset | DELETE /registry/v2/plugs/{name}/versions/{version}/content/{wildcard} | Delete Plug Asset |
PlugsApi | get_archive | GET /registry/v2/plugs/{name}/versions/{version}/content | Get Plug Archive |
PlugsApi | get_asset | GET /registry/v2/plugs/{name}/versions/{version}/content/{wildcard} | Get File From Plug Archive |
PlugsApi | get_latest | GET /registry/v2/plugs/{name} | Get Latest Plug Version |
PlugsApi | get | GET /registry/v2/plugs/{name}/versions/{version} | Get Plug Version |
PlugsApi | jobs | GET /registry/v2/plugs/{name}/versions/{version}/jobs | List Plug Jobs |
PlugsApi | list | GET /registry/v2/plugs/ | List Plugs |
PlugsApi | list_versions | GET /registry/v2/plugs/{name}/versions | List Plug Versions |
PlugsApi | patch_interface | PATCH /registry/v2/plugs/{name}/versions/{version}/interface | Patch Plug Interface |
PlugsApi | patch_metadata | PATCH /registry/v2/plugs/{name}/versions/{version}/metadata | Patch Plug Metadata |
PlugsApi | publish | POST /registry/v2/plugs/{name}/versions/{version}/publish | Publish Draft Plug |
PlugsApi | rebuild | POST /registry/v2/plugs/{name}/versions/{version}/rebuild | Rebuild Plug |
PlugsApi | remove_version | DELETE /registry/v2/plugs/{name}/versions/{version} | Remove Plug Version |
PlugsApi | remove_versions | DELETE /registry/v2/plugs/{name} | Remove Plug |
PlugsApi | update_asset | PUT /registry/v2/plugs/{name}/versions/{version}/content/{wildcard} | Update Plug Asset |
PlugsApi | update_assets | PUT /registry/v2/plugs/{name}/versions/{version}/content | Update Plug Assets |
PlugsApi | verify | POST /registry/v2/plugs/{name}/versions/{version}/verify | Verify Health Of Plug |
RuntimesApi | example_archive | GET /registry/v2/runtimes/{name}/versions/{version}/example | Get Runtime Example Archive |
RuntimesApi | get_example_asset | GET /registry/v2/runtimes/{name}/versions/{version}/example/{wildcard} | Get File From Runtime Example Archive |
RuntimesApi | get_latest | GET /registry/v2/runtimes/{name} | Get Latest Runtime Version |
RuntimesApi | get | GET /registry/v2/runtimes/{name}/versions/{version} | Get Runtime Version |
RuntimesApi | list | GET /registry/v2/runtimes/ | List Runtimes |
RuntimesApi | list_versions | GET /registry/v2/runtimes/{name}/versions | List Runtime Versions |
SchemasApi | get_by_role | GET /registry/v2/schemas/{functionType}/{role}/schema | Get Asset Schema |
SchemasApi | get | GET /registry/v2/schemas/{schemaId} | Get Asset Schema |
WebscriptsApi | create | POST /registry/v2/webscripts/ | Create Webscript Version |
WebscriptsApi | delete_asset | DELETE /registry/v2/webscripts/{name}/versions/{version}/content/{wildcard} | Delete Webscript Asset |
WebscriptsApi | get_archive | GET /registry/v2/webscripts/{name}/versions/{version}/content | Get Webscript Archive |
WebscriptsApi | get_asset | GET /registry/v2/webscripts/{name}/versions/{version}/content/{wildcard} | Get File From Webscript Archive |
WebscriptsApi | get_latest | GET /registry/v2/webscripts/{name} | Get Latest Webscript Version |
WebscriptsApi | get | GET /registry/v2/webscripts/{name}/versions/{version} | Get Webscript Version |
WebscriptsApi | jobs | GET /registry/v2/webscripts/{name}/versions/{version}/jobs | List Webscript Jobs |
WebscriptsApi | list_versions | GET /registry/v2/webscripts/{name}/versions | List Webscript Versions |
WebscriptsApi | list | GET /registry/v2/webscripts/ | List Webscripts |
WebscriptsApi | patch_metadata | PATCH /registry/v2/webscripts/{name}/versions/{version}/metadata | Patch Webscript Metadata |
WebscriptsApi | publish | POST /registry/v2/webscripts/{name}/versions/{version}/publish | Publish Draft Webscript |
WebscriptsApi | rebuild | POST /registry/v2/webscripts/{name}/versions/{version}/rebuild | Rebuild Webscript |
WebscriptsApi | remove_version | DELETE /registry/v2/webscripts/{name}/versions/{version} | Remove Webscript Version |
WebscriptsApi | remove_versions | DELETE /registry/v2/webscripts/{name} | Remove Webscript |
WebscriptsApi | update_asset | PUT /registry/v2/webscripts/{name}/versions/{version}/content/{wildcard} | Update Webscript Asset |
WebscriptsApi | update_assets | PUT /registry/v2/webscripts/{name}/versions/{version}/content | Update Webscript Assets |
WebscriptsApi | verify | POST /registry/v2/webscripts/{name}/versions/{version}/verify | Verify Health Of Webscript |
- ActiveEventData
- ActiveEventSSE
- ActiveEventSSEEvent
- AltEmbeddedVersionIKfservingResponseV2
- AltEmbeddedVersionIPlugResponseV2
- AltEmbeddedVersionIWebscriptResponseWithInvokeLinkV2
- AltVersionHALLink
- AnyJobForFunction
- AnyJobResult
- AnyJobStatus
- AnyJobStatusSummary
- ArchiveFormat
- AssetCondition
- AssetConditionContentType
- AssetConditionPattern
- AssetRole
- AssetSummaryWithHALLink
- AssetSummaryWithHALLinkLinks
- AssetsConditions
- Batch
- BatchArgs
- BatchJobStatus
- BatchJobStatusType
- BatchResult
- Build
- Build1
- BuildArgs
- BuildJobStatus
- BuildResult
- BuildSpec
- BuildType
- CleanupResult
- CompiledRuntimeVersion
- CompletedEventData
- CompletedEventSSE
- CompletedEventSSEEvent
- ContentValidationListing
- CreateWebscriptsCopyParameter
- DelayedEventData
- DelayedEventSSE
- DelayedEventSSEEvent
- Deploy
- Deploy1
- DeployArgs
- DeployArgsDeploySpecOverrides
- DeployJobStatus
- DeployResult
- DeploySpec
- DeploySpecOpenfaasSpec
- DeployType
- DeprecatePreviousPolicy
- DeprecatePreviousPolicyAnyOf
- DeprecatePreviousPolicyAnyOf1
- DeprecatePreviousPolicyAnyOf2
- DeprecatePreviousPolicyAnyOf3
- Documentation
- DocumentationProperty
- EntityWithLinksIKfservingResponseV2
- EntityWithLinksIPlugResponseV2
- EntityWithLinksIWebscriptResponseWithInvokeLinkV2
- EventAck
- EventClose
- EventKeepAlive
- EventWithCloseSSE
- ExampleReference
- ExposedOpenfaasDeploySpec
- FailedEventData
- FailedEventSSE
- FailedEventSSEEvent
- FailureReason
- FileUpload
- FunctionDeployOverridesType
- FunctionMeta
- FunctionRef
- FunctionType
- GetModelResponseV2
- GetPlugResponseV2
- GetPlugResponseV2Links
- GetPlugResponseV2LinksDraft
- GetPlugResponseV2LinksPublished
- GetWebscriptResponseV2
- GetWebscriptResponseV2Links
- HALLink
- HALLinkHref
- HALLinks
- InvocationAttributes
- InvocationAttributesAuth
- InvokeHALLink
- JobAndFunctionHALLink
- JobCause
- JobCauses
- JobEventResponseActiveEventData
- JobEventResponseCompletedEventData
- JobEventResponseDelayedEventData
- JobEventResponseFailedEventData
- JobEventResponseWaitingChildrenEventData
- JobEventResponseWaitingEventData
- JobEventSSE
- JobEventsAndFunctionHALLink
- JobEventsHALLink
- JobHALLinks
- JobReference
- JobResponse
- JobState
- JobStateActive
- JobStateCompleted
- JobStateDelayed
- JobStateFailed
- JobStateFinished
- JobStateResult
- JobStateUnknown
- JobStateWaiting
- JobStateWaitingChildren
- JobStatus
- JobStatusAndEntityHALLinks
- JobStatusHALLink
- JobStatusProgress
- JobType
- JobTypeBatch
- JobTypeBuild
- JobTypeDeploy
- JobTypeNotify
- JobTypeScale
- JobTypeSchema
- JobTypeUndeploy
- JobTypeVerify
- JobsForModelResponseV2
- JobsForModelResponseV2Links
- JobsForPlugResponseV2
- JobsForPlugResponseV2Links
- JobsForWebscriptResponseV2
- JobsForWebscriptResponseV2Links
- JobsResponse
- KFServingManifest
- KeepAliveEventSSE
- KfservingResponseV2
- LanguageRelease
- LatestModelsResponseV2
- LatestPlugsResponseV2
- LatestVersionLevel
- LatestWebscriptsResponseV2
- Model
- Model1
- Model2
- ModelVersionsResponseV2
- NotifyResult
- ParentKeys
- Plug
- Plug1
- Plug2
- PlugInterface
- PlugManifest
- PlugMeta
- PlugProperty
- PlugPropertyDataType
- PlugPropertyFormat
- PlugPropertyFormatType
- PlugResponseV2
- PlugType
- PlugVersionsResponseV2
- PlugWithInvocationResponseV2
- PostModelJobAsyncResponseV2
- PostModelJobSyncResponseV2
- PostPlugJobAsyncResponseV2
- PostPlugJobSyncResponseV2
- PostWebscriptJobAsyncResponseV2
- PostWebscriptJobSyncResponseV2
- ProvidedDependency
- QueueEvents
- RebuildModelAsyncResponseV2
- RebuildModelSyncResponseV2
- RebuildPlugAsyncResponseV2
- RebuildPlugSyncResponseV2
- RebuildPolicy
- RebuildRequestV2
- RebuildWebscriptAsyncResponseV2
- RebuildWebscriptSyncResponseV2
- RegistryErrorResponse
- RequestOperation
- ResourceLimits
- RootPageResponse
- RuntimeAttributes
- RuntimeSummary
- RuntimeSummaryResponse
- RuntimeVersionInfo
- RuntimeVersionResponse
- Scale
- Scale1
- ScaleArgs
- ScaleJobStatus
- ScaleType
- SemanticVersionRange
- ShowRelatedType
- Status
- StatusAny
- StatusExclude
- StatusFilter
- StatusInclude
- StreamClosing
- StreamReady
- Tag
- TagsFilter
- TimestampAbsolute
- TimestampAge
- TimestampSpec
- Undeploy
- Undeploy1
- UndeployArgs
- UndeployJobStatus
- UndeployResult
- UndeploySubmittedResponseV2
- UndeployType
- UndeployedResponseV2
- UpdateMetadataRequestV2
- UpdateRecord
- Verify
- Verify1
- VerifyArgs
- VerifyJobStatus
- VerifyModelSyncResponseV2
- VerifyPlugSyncResponseV2
- VerifyResult
- VerifyType
- VerifyWebscriptSyncResponseV2
- WaitingChildrenEventSSE
- WaitingChildrenEventSSEEvent
- WaitingEventData
- WaitingEventSSE
- WaitingEventSSEEvent
- Webscript
- Webscript1
- Webscript2
- WebscriptManifest
- WebscriptResponseV2
- WebscriptResponseWithInvokeLinkV2
- WebscriptVersionsResponseV2