tags: - repos summary: repos sync or update parameters: - name: action in: path description: type: string enum: ['modify', 'regen', 'sync', 'cache'] required: true - name: data in: body required: true description: json data passed to the API schema: $ref: '#/definitions/repos_parameter' responses: 408: description: Task timeout 404: description: Wrong action 400: description: Missing parameters 200: description: Request completed schema: $ref: '#/definitions/repos_response' definitions: repos_response: properties: code: type: integer msg: type: string example: code: 200 msg: "Ok" repos_parameter: required: - compose_branch properties: product: type: string version: type: string repo: type: string arch: type: string repo_url: type: string updateinfo: type: string compose_branch: type: string default: a8 example: product: anolis version: 8.6 repo: Plus arch: x86_64 aarch64 repo_url: https://build.openanolis.cn/kojifiles/output/nightly/20230129164910-32534/ compose_branch: a8 updateinfo: data/updateinfo/anolis8/updateinfo.xml