Describe

Smarter API command-line interface ‘describe’ view

class smarter.apps.api.v1.cli.views.describe.ApiV1CliDescribeApiView(*args, **kwargs)

Bases: CliBaseApiView

This is the API endpoint for the ‘describe’ command in the Smarter command-line interface (CLI).

The ‘describe’ command is a Smarter Brokered and Journaled operation that is used with all Smarter resources.

The client making the HTTP request to this endpoint is expected to be the Smarter CLI, which is written in Golang and available on Windows, macOS, and Linux.

The response from this endpoint is a JSON object containing the resource manifest.

This class is a child of the Django Rest Framework View.

property formatted_class_name: str

Returns the class name in a formatted string along with the name of this mixin.

get(request, kind, *args, **kwargs)
post(request, kind, *args, **kwargs)