States

State

class hyperadmin.states.State(substates=[], data={})
get_dictionaries()
pop(key, default=None)
update(other_dict)

EndpointState

class hyperadmin.states.EndpointState(endpoint, meta, substates=[], data={})

Bases: hyperadmin.links.LinkCollectorMixin, hyperadmin.states.State

Used by resources to determine what links and items are available in the response.

alias of EndpointStateLinkCollectionProvider

api_request
get_dictionaries()
resource
site
reverse(name, *args, **kwargs)
item
meta
has_view_class(cls)
params

The filter and pagination parameters

namespace
get_resource_items()

Returns resource items that are associated with this state.

get_query_string(new_params=None, remove=None)
get_namespaces()

Project Versions

Table Of Contents

Previous topic

Built-in Media types

Next topic

Sites

This Page