qunicorn_core.api.services package

Submodules

qunicorn_core.api.services.root module

Module containing the root endpoint of the DEVICES API.

class qunicorn_core.api.services.root.RootData(root: str)

Bases: object

root: str
class qunicorn_core.api.services.root.RootView

Bases: MethodView

Root endpoint of the services api, to list all available services.

get()

Get the urls of the next endpoints of the services api to call.

methods: ClassVar[Optional[Collection[str]]] = {'GET'}

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

qunicorn_core.api.services.services module

Module containing the routes of the Taskmanager API.

class qunicorn_core.api.services.services.SERVICES(serviceType: str, description: str, address: str, status: str, name: str, url: str, simulator: bool)

Bases: object

address: str
description: str
name: str
serviceType: str
simulator: bool
status: str
url: str
class qunicorn_core.api.services.services.ServicesView

Bases: MethodView

Services Endpoint to get properties of a specific service.

get()

Get information about a sinlge service.

methods: ClassVar[Optional[Collection[str]]] = {'GET'}

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

Module contents

Module containing the Services API.