Vridlo/types/Mirror: Difference between revisions

From ALT Linux Wiki
No edit summary
No edit summary
Line 10: Line 10:
  Full URI of the mirror for the specific RPM source path. Must conforms URI format.
  Full URI of the mirror for the specific RPM source path. Must conforms URI format.


* '''order_no''' is ''string '''optional read-only'''''
* '''order_no''' is ''string '''optional'''''
  Sort order number, lower number is last in sorting.
  Sort order number, lower number is last in sorting.



Revision as of 16:54, 24 December 2019

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.