Vridlo/types/Mirror: Difference between revisions

From ALT Linux Wiki
(Created page with "'''Mirror''' is a structure that represents Mirror model. Represents the mirror URI for the specific RPM source path. It is described as: * '''id''' is ''natural '''mandatory...")
 
No edit summary
Line 1: Line 1:
'''Mirror''' is a structure that represents Mirror model. Represents the mirror URI for the specific RPM source path. It is described as:
'''Mirror''' is a 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'''''
* '''id''' is ''natural '''mandatory read-only internal'''''
  Unique identifier of mirror.
  Unique identifier of mirror.
* '''branch_path_slug''' is ''string '''mandatory'''''
* '''branch_path_slug''' is ''string '''mandatory'''''

Revision as of 22:46, 11 December 2019

Mirror is a 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.
  • branch_path_slug is string mandatory
Branch path slug, which the RPM belongs to.
  • uri is string mandatory
Full URI of the mirror for the specific RPM source path. 
  • name is Name array optional
Name array for the group. It can include title value only.
  • order_no is string optional read-only
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.