qunicorn_core.api.provider_api.provider_view module

Module containing the routes of the Taskmanager API.

class qunicorn_core.api.provider_api.provider_view.ProviderIDView

Bases: MethodView

Provider Endpoint to get properties of a specific provider.

get(provider_id)

Get information about a single provider.

methods: t.ClassVar[t.Collection[str] | None] = {'GET'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

class qunicorn_core.api.provider_api.provider_view.ProviderView

Bases: MethodView

Root endpoint of the provider api, to list all available provider_apis.

get(name: str | None = None)

Get all providers from the database

methods: t.ClassVar[t.Collection[str] | None] = {'GET'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.