Vridlo/types/Mirror: Difference between revisions
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
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 '''''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''''' | * '''id''' is ''natural '''mandatory read-only internal''''' | ||
Unique identifier of mirror. | Unique identifier of mirror. | ||
* '''source_path_slug''' is ''string '''mandatory''''' | * '''source_path_slug''' is ''string '''mandatory''''' | ||
''[[Vridlo/types/SourcePath|Source path]] slug, which the mirror belongs to. | ''[[Vridlo/types/SourcePath|Source path]] slug, which the mirror belongs to. | ||
* '''uri''' is ''string '''mandatory''''' | * '''uri''' is ''string '''mandatory''''' | ||
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 | |||
* '''order_no''' is ''string '''optional''''' | |||
Sort order number, lower number is last in sorting. | Sort order number, lower number is last in sorting. | ||
* '''country''' is ''string '''optional''''' | * '''country''' is ''string '''optional''''' | ||
Country code for the host servers for the mirror. | Country code for the host servers for the mirror. | ||
* '''protocol''' is ''string '''mandatory read-only''''' | * '''protocol''' is ''string '''mandatory read-only''''' | ||
Access protocol to the mirror, | Access protocol to the mirror, which is inferred from the '''uri'''. Can be of ''ftp'', ''http'', ''https''. | ||
* '''names''' is ''[[Vridlo/types/Name|Name]] array '''optional''''' | * '''names''' is ''[[Vridlo/types/Name|Name]] array '''optional''''' | ||
Name array for the group. It can include ''title'' value only. | Name array for the group. It can include ''title'' value only. |
Latest revision as of 16:55, 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, which 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.