Vridlo/types/Mirror

From ALT Linux Wiki
< Vridlo/types
Revision as of 13:54, 24 December 2019 by Majioa (talk | contribs)

Mirror is a primary structure that represents Mirror model. Represents the mirror URI for the specific RPM source path. It is described as:

  • id is natural mandatory read-only internal
Unique identifier of mirror.
  • source_path_slug is string mandatory
Source path slug, which the mirror belongs to.
  • uri is string mandatory
Full URI of the mirror for the specific RPM source path. Must conforms URI format.
  • order_no is string optional
Sort order number, lower number is last in sorting.
  • country is string optional
Country code for the host servers for the mirror.
  • protocol is string mandatory read-only
Access protocol to the mirror, and is inferred from the uri. Can be of ftp, http, https.
  • names is Name array optional
Name array for the group. It can include title value only.