magpie.api.management.service.service_views

Functions

get_service_types_view(→ magpie.typedefs.AnyResponseType)

List all available service types.

get_services_by_type_view(...)

List all registered services from a specific type.

get_services_view(→ magpie.typedefs.AnyResponseType)

List all registered services.

get_services_runner(→ magpie.typedefs.AnyResponseType)

Generates services response format from request conditions.

register_service_view(→ magpie.typedefs.AnyResponseType)

Registers a new service.

update_service_view(→ magpie.typedefs.AnyResponseType)

Update service information.

get_service_view(→ magpie.typedefs.AnyResponseType)

Get service information.

unregister_service_view(→ magpie.typedefs.AnyResponseType)

Unregister a service.

get_service_permissions_view(...)

List all applicable permissions for a service.

get_service_resource_view(...)

Get resource information under a service.

delete_service_resource_view(...)

Unregister a resource.

get_service_resources_view(...)

List all resources registered under a service.

create_service_resource_view(...)

Register a new resource directly under a service or under one of its children resources.

get_service_type_resources_view(...)

List details of resource types supported under a specific service type.

get_service_type_resource_types_view(...)

List all resource types supported under a specific service type.

Module Contents

magpie.api.management.service.service_views.get_service_types_view(request: pyramid.request.Request) magpie.typedefs.AnyResponseType[source]

List all available service types.

magpie.api.management.service.service_views.get_services_by_type_view(request: pyramid.request.Request) magpie.typedefs.AnyResponseType[source]

List all registered services from a specific type.

magpie.api.management.service.service_views.get_services_view(request: pyramid.request.Request) magpie.typedefs.AnyResponseType[source]

List all registered services.

magpie.api.management.service.service_views.get_services_runner(request: pyramid.request.Request) magpie.typedefs.AnyResponseType[source]

Generates services response format from request conditions.

Obtains the full or filtered list of services categorized by type, or listed as flat list according to request path and query parameters.

magpie.api.management.service.service_views.register_service_view(request: pyramid.request.Request) magpie.typedefs.AnyResponseType[source]

Registers a new service.

magpie.api.management.service.service_views.update_service_view(request: pyramid.request.Request) magpie.typedefs.AnyResponseType[source]

Update service information.

magpie.api.management.service.service_views.get_service_view(request: pyramid.request.Request) magpie.typedefs.AnyResponseType[source]

Get service information.

magpie.api.management.service.service_views.unregister_service_view(request: pyramid.request.Request) magpie.typedefs.AnyResponseType[source]

Unregister a service.

magpie.api.management.service.service_views.get_service_permissions_view(request: pyramid.request.Request) magpie.typedefs.AnyResponseType[source]

List all applicable permissions for a service.

magpie.api.management.service.service_views.get_service_resource_view(request: pyramid.request.Request) magpie.typedefs.AnyResponseType[source]

Get resource information under a service.

magpie.api.management.service.service_views.delete_service_resource_view(request: pyramid.request.Request) magpie.typedefs.AnyResponseType[source]

Unregister a resource.

magpie.api.management.service.service_views.get_service_resources_view(request: pyramid.request.Request) magpie.typedefs.AnyResponseType[source]

List all resources registered under a service.

magpie.api.management.service.service_views.create_service_resource_view(request: pyramid.request.Request) magpie.typedefs.AnyResponseType[source]

Register a new resource directly under a service or under one of its children resources.

magpie.api.management.service.service_views.get_service_type_resources_view(request: pyramid.request.Request) magpie.typedefs.AnyResponseType[source]

List details of resource types supported under a specific service type.

magpie.api.management.service.service_views.get_service_type_resource_types_view(request: pyramid.request.Request) magpie.typedefs.AnyResponseType[source]

List all resource types supported under a specific service type.