Namespace-related schemas¶
- pydantic model horizon.commons.schemas.v1.namespace.NamespaceResponseV1¶
Namespace response.
- field id: int [Required]¶
Namespace id
- field name: str [Required]¶
Namespace name, unique in the entire database
- field description: str [Required]¶
Namespace description
- field owned_by: str [Required]¶
The namespace owner
- field changed_at: datetime [Required]¶
Timestamp of last change of the namespace data
- field changed_by: str | None = None¶
Latest user who changed the namespace data
- class Config¶
- pydantic model horizon.commons.schemas.v1.namespace.NamespacePaginateQueryV1¶
Query params for namespace pagination request.
- field name: str | None = None¶
- Constraints:
min_length = 1
max_length = 256
- field page: int = 1¶
Page number
- Constraints:
gt = 0
- field page_size: int = 20¶
Number of items per page
- Constraints:
gt = 0
le = 50