Vridlo/types/Mirror: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
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 | * '''order_no''' is ''string '''optional''''' | ||
Sort order number, lower number is last in sorting. | Sort order number, lower number is last in sorting. | ||
Line 17: | Line 17: | ||
* '''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.