Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
Signed-off-by: djmadeira <[email protected]>
  • Loading branch information
djmadeira committed May 13, 2024
1 parent b82e4b8 commit 1b2ed6d
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions spec/namespaces/rollups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,71 +6,71 @@ info:
paths:
/_plugins/_rollup/jobs/{id}:
get:
operationId: rollups.get_rollup.0
x-operation-group: rollups.get_rollup
operationId: rollups.get.0
x-operation-group: rollups.get
x-version-added: 1.0
description: Get an index rollup.
externalDocs:
url: https://opensearch.org/docs/latest/im-plugin/index-rollups/rollup-api/#get-an-index-rollup-job
parameters:
- $ref: '#/components/parameters/rollups.get_rollup::path.id'
- $ref: '#/components/parameters/rollups.get::path.id'
responses:
'200':
$ref: '#/components/responses/rollups.get_rollup@200'
$ref: '#/components/responses/rollups.get@200'
put:
operationId: rollups.put_rollup.0
x-operation-group: rollups.put_rollup
operationId: rollups.put.0
x-operation-group: rollups.put
x-version-added: 1.0
description: Create or update index rollup.
externalDocs:
url: https://opensearch.org/docs/latest/im-plugin/index-rollups/rollup-api/#create-or-update-an-index-rollup-job
responses:
'200':
$ref: '#/components/responses/rollups.put_rollup@200'
$ref: '#/components/responses/rollups.put@200'
parameters:
- $ref: '#/components/parameters/rollups.put_rollup::path.id'
- $ref: '#/components/parameters/rollups.put_rollup::query.if_seq_no'
- $ref: '#/components/parameters/rollups.put_rollup::query.if_primary_term'
- $ref: '#/components/parameters/rollups.put::path.id'
- $ref: '#/components/parameters/rollups.put::query.if_seq_no'
- $ref: '#/components/parameters/rollups.put::query.if_primary_term'
requestBody:
$ref: '#/components/requestBodies/rollups.put_rollup'
$ref: '#/components/requestBodies/rollups.put'
delete:
operationId: rollups.delete_rollup.0
x-operation-group: rollups.delete_rollup
operationId: rollups.delete.0
x-operation-group: rollups.delete
x-version-added: 1.0
description: Delete index rollup.
externalDocs:
url: https://opensearch.org/docs/latest/im-plugin/index-rollups/rollup-api/#delete-an-index-rollup-job
responses:
'200':
$ref: '#/components/responses/rollups.delete_rollup@200'
$ref: '#/components/responses/rollups.delete@200'
parameters:
- $ref: '#/components/parameters/rollups.delete_rollup::path.id'
- $ref: '#/components/parameters/rollups.delete::path.id'
/_plugins/_rollup/jobs/{id}/_start:
post:
operationId: rollups.start_rollup.0
x-operation-group: rollups.start_rollup
operationId: rollups.start.0
x-operation-group: rollups.start
x-version-added: 1.0
description: Start rollup.
externalDocs:
url: https://opensearch.org/docs/latest/im-plugin/index-rollups/rollup-api/#start-or-stop-an-index-rollup-job
parameters:
- $ref: '#/components/parameters/rollups.start_rollup::path.id'
- $ref: '#/components/parameters/rollups.start::path.id'
responses:
'200':
$ref: '#/components/responses/rollups.start_rollup@200'
$ref: '#/components/responses/rollups.start@200'
/_plugins/_rollup/jobs/{id}/_stop:
post:
operationId: rollups.stop_rollup.0
x-operation-group: rollups.stop_rollup
operationId: rollups.stop.0
x-operation-group: rollups.stop
x-version-added: 1.0
description: Stop rollup.
externalDocs:
url: https://opensearch.org/docs/latest/im-plugin/index-rollups/rollup-api/#start-or-stop-an-index-rollup-job
parameters:
- $ref: '#/components/parameters/rollups.stop_rollup::path.id'
- $ref: '#/components/parameters/rollups.stop::path.id'
responses:
'200':
$ref: '#/components/responses/rollups.stop_rollup@200'
$ref: '#/components/responses/rollups.stop@200'
/_plugins/_rollup/jobs/{id}/_explain:
get:
operationId: rollups.explain.0
Expand All @@ -86,67 +86,67 @@ paths:
$ref: '#/components/responses/rollups.explain@200'
components:
requestBodies:
rollups.put_rollup:
rollups.put:
content:
application/json:
schema:
$ref: '../schemas/rollups._common.yaml#/components/schemas/RollupEntity'
responses:
rollups.get_rollup@200:
rollups.get@200:
content:
application/json:
schema:
$ref: '../schemas/rollups._common.yaml#/components/schemas/RollupEntity'
rollups.put_rollup@200:
rollups.put@200:
content:
application/json:
schema:
$ref: '../schemas/rollups._common.yaml#/components/schemas/RollupEntity'
rollups.delete_rollup@200:
rollups.delete@200:
description: ''
rollups.start_rollup@200:
rollups.start@200:
description: ''
rollups.stop_rollup@200:
rollups.stop@200:
description: ''
rollups.explain@200:
content:
application/json:
schema:
$ref: '../schemas/rollups._common.yaml#/components/schemas/ExplainEntities'
parameters:
rollups.get_rollup::path.id:
rollups.get::path.id:
name: id
in: path
description: Rollup to access
required: true
schema:
$ref: '../schemas/_common.yaml#/components/schemas/Id'
style: simple
rollups.put_rollup::path.id:
rollups.put::path.id:
name: id
in: path
description: Rollup to access
required: true
schema:
$ref: '../schemas/_common.yaml#/components/schemas/Id'
style: simple
rollups.delete_rollup::path.id:
rollups.delete::path.id:
name: id
in: path
description: Rollup to access
required: true
schema:
$ref: '../schemas/_common.yaml#/components/schemas/Id'
style: simple
rollups.start_rollup::path.id:
rollups.start::path.id:
name: id
in: path
description: Rollup to access
required: true
schema:
$ref: '../schemas/_common.yaml#/components/schemas/Id'
style: simple
rollups.stop_rollup::path.id:
rollups.stop::path.id:
name: id
in: path
description: Rollup to access
Expand All @@ -162,14 +162,14 @@ components:
schema:
$ref: '../schemas/_common.yaml#/components/schemas/Id'
style: simple
rollups.put_rollup::query.if_seq_no:
rollups.put::query.if_seq_no:
name: if_seq_no
in: query
description: Only perform the operation if the document has this sequence number.
schema:
$ref: '../schemas/_common.yaml#/components/schemas/SequenceNumber'
style: form
rollups.put_rollup::query.if_primary_term:
rollups.put::query.if_primary_term:
name: if_primary_term
in: query
description: Only perform the operation if the document has this primary term.
Expand Down

0 comments on commit 1b2ed6d

Please sign in to comment.