nemo_microservices.types.namespace_list_params#

Module Contents#

Classes#

API#

class nemo_microservices.types.namespace_list_params.NamespaceListParams#

Bases: typing_extensions.TypedDict

filter: nemo_microservices.types.namespace_filter_param.NamespaceFilterParam#

None

Filter namespaces on various criteria.

page: int#

None

Page number.

page_size: int#

None

Page size.

search: nemo_microservices.types.namespace_search_param.NamespaceSearchParam#

None

Search namespaces using substring matching.

You can combine multiple search fields and filters.

For example:

  • ?search[id]=research: searches all namespaces with ‘research’ in the id.

  • ?search[name]=vision: searches all namespaces with ‘vision’ in the name.

  • ?search[id]=research&search[name]=vision: searches all namespaces with ‘research’ in the id AND ‘vision’ in the name.

  • ?search[id]=research&search[id]=production: searches all namespaces with ‘research’ OR ‘production’ in the id.

  • ?search[updated_at][start]=2024-01-01T00:00:00 finds all namespaces updated on or after the start date

  • ?search[created_at][start]=2022-01-01&search[updated_at][end]=2024-01-01 finds all namespaces created from start date up to and including end date

sort: nemo_microservices.types.shared.generic_sort_field.GenericSortField#

None

The field to sort by.

To sort in decreasing order, use - in front of the field name.