From 4dcdf17e8cc78ec8a76219ac89004ad8161499b4 Mon Sep 17 00:00:00 2001 From: Filippo Vecchiato Date: Fri, 20 Dec 2024 12:12:31 +0100 Subject: [PATCH] update docs --- docs/src/openapi-v1.yaml | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/docs/src/openapi-v1.yaml b/docs/src/openapi-v1.yaml index f32dd0f3b..9fa8c8037 100755 --- a/docs/src/openapi-v1.yaml +++ b/docs/src/openapi-v1.yaml @@ -3338,12 +3338,16 @@ components: coreId: type: string description: The core id. - taskId: + paraId: type: string description: The parachain core. workload: type: object $ref: '#/components/schemas/CoretimeWorkload' + workplan: + type: array + items: + $ref: '#/components/schemas/CoretimeWorkplan' type: description: The paid price. type: object @@ -3420,6 +3424,34 @@ components: CoretimeUntil: type: string description: The lease expiry time. + CoretimeWorkplan: + type: object + properties: + core: + type: string + description: The core id. + timeslice: + type: string + description: The timeslice. + info: + type: array + items: + $ref: '#/components/schemas/CoretimeWorkplanInfo' + CoretimeWorkplanInfo: + type: object + properties: + isPool: + type: boolean + description: Whether the workload is a pool. + isTask: + type: boolean + description: Whether the workload is a task. + mask: + type: string + description: The mask. + task: + type: string + description: The parachain id. CoretimeWorkload: type: object properties: